diff options
author | Olivier Blin <oblin@mandriva.org> | 2005-04-07 19:12:24 +0000 |
---|---|---|
committer | Olivier Blin <oblin@mandriva.org> | 2005-04-07 19:12:24 +0000 |
commit | a49ca389c09e6fbbe485b25bb98049297703a5f2 (patch) | |
tree | 11b0b67117610bc79b08ac9592a4738c77a191b3 /mdk-stage1/probing.h | |
parent | 2d58e281a3db5707eeec806efaee8b4630135479 (diff) | |
download | drakx-a49ca389c09e6fbbe485b25bb98049297703a5f2.tar drakx-a49ca389c09e6fbbe485b25bb98049297703a5f2.tar.gz drakx-a49ca389c09e6fbbe485b25bb98049297703a5f2.tar.bz2 drakx-a49ca389c09e6fbbe485b25bb98049297703a5f2.tar.xz drakx-a49ca389c09e6fbbe485b25bb98049297703a5f2.zip |
- add probing_detect_devices() to keep existing pci devices in an array
- allow to use external third-party pcitable
- modules in to_detect (thirdparty install) are now compared to external third-par ty pcitable first, then to built-in pcitable
Diffstat (limited to 'mdk-stage1/probing.h')
-rw-r--r-- | mdk-stage1/probing.h | 14 |
1 files changed, 13 insertions, 1 deletions
diff --git a/mdk-stage1/probing.h b/mdk-stage1/probing.h index 4f72a9269..6efa7b464 100644 --- a/mdk-stage1/probing.h +++ b/mdk-stage1/probing.h @@ -34,6 +34,18 @@ void net_discovered_interface(char * intf_name); char * get_net_intf_description(char * intf_name); void prepare_intf_descr(const char * intf_descr); void probe_that_type(enum driver_type type, enum media_bus bus); -int exists_orphan_device(char *driver); + +struct pcitable_entry { + /* some bits stolen from pci-resource/pci-ids.h + * FIXME: split pci-ids.h into pci-ids.c and pci-ids.h so that the header can be re-used + */ + unsigned short vendor; /* PCI vendor id */ + unsigned short device; /* PCI device id */ + char module[20]; /* module to load */ + char description[100]; /* PCI human readable description */ +}; +extern struct pcitable_entry detected_devices[50]; +extern int detected_devices_len; +void probing_detect_devices(); #endif |