summaryrefslogtreecommitdiffstats
path: root/mdk-stage1/probing.h
diff options
context:
space:
mode:
authorOlivier Blin <oblin@mandriva.org>2006-02-09 11:12:25 +0000
committerOlivier Blin <oblin@mandriva.org>2006-02-09 11:12:25 +0000
commit38e85ac42ac6483781f24bc920fe67e4e12431cf (patch)
tree03173f673079006983f429e79ea8db99ed7145a5 /mdk-stage1/probing.h
parentc10291702388dbb4325b6e8ac3626c856a99e8bc (diff)
downloaddrakx-38e85ac42ac6483781f24bc920fe67e4e12431cf.tar
drakx-38e85ac42ac6483781f24bc920fe67e4e12431cf.tar.gz
drakx-38e85ac42ac6483781f24bc920fe67e4e12431cf.tar.bz2
drakx-38e85ac42ac6483781f24bc920fe67e4e12431cf.tar.xz
drakx-38e85ac42ac6483781f24bc920fe67e4e12431cf.zip
backport thirdparty support
Diffstat (limited to 'mdk-stage1/probing.h')
-rw-r--r--mdk-stage1/probing.h13
1 files changed, 13 insertions, 0 deletions
diff --git a/mdk-stage1/probing.h b/mdk-stage1/probing.h
index ce107b752..e6d506817 100644
--- a/mdk-stage1/probing.h
+++ b/mdk-stage1/probing.h
@@ -35,4 +35,17 @@ 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);
+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