From 789bc7945cfefc3c4b03923d697fc0ceccc8a645 Mon Sep 17 00:00:00 2001 From: hpa Date: Mon, 8 Aug 2005 18:58:09 +0000 Subject: Explicitly detect the config type --- com32/modules/ethersel.c | 2 ++ 1 file changed, 2 insertions(+) (limited to 'com32/modules/ethersel.c') 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; -- cgit v1.2.1