summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-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;