Explicitly detect the config type
authorhpa <hpa>
Mon, 8 Aug 2005 18:58:09 +0000 (18:58 +0000)
committerhpa <hpa>
Mon, 8 Aug 2005 18:58:09 +0000 (18:58 +0000)
com32/modules/ethersel.c

index 4b197c7..732e7a8 100644 (file)
@@ -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;