summaryrefslogtreecommitdiff
path: root/com32/modules/ethersel.c
diff options
context:
space:
mode:
authorhpa <hpa>2005-08-08 18:58:09 +0000
committerhpa <hpa>2005-08-08 18:58:09 +0000
commit789bc7945cfefc3c4b03923d697fc0ceccc8a645 (patch)
tree3fe7e1dcb6323a8edb1713e4e72b29526fc0ec4d /com32/modules/ethersel.c
parentebbc6338011da27b08d5a032b64a4f2676ce4fac (diff)
downloadsyslinux-789bc7945cfefc3c4b03923d697fc0ceccc8a645.tar.gz
Explicitly detect the config typesyslinux-3.10-pre4
Diffstat (limited to 'com32/modules/ethersel.c')
-rw-r--r--com32/modules/ethersel.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/com32/modules/ethersel.c b/com32/modules/ethersel.c
index 4b197c72..732e7a84 100644
--- a/com32/modules/ethersel.c
+++ b/com32/modules/ethersel.c
@@ -211,6 +211,8 @@ pciscan(struct match *list)
pciaddr_t a;
struct match *m;
+ pci_set_config_type(PCI_CFG_AUTO);
+
for ( bus = 0 ; bus <= 0xff ; bus++ ) {
for ( dev = 0 ; dev <= 0x1f ; dev++ ) {
maxfunc = 0;