patch-2.3.13 linux/drivers/net/hp100.c
Next file: linux/drivers/net/irda/toshoboe.c
Previous file: linux/drivers/net/hamradio/yam9600.h
Back to the patch index
Back to the overall index
-  Lines: 9
-  Date:
Thu Aug  5 15:04:52 1999
-  Orig file: 
v2.3.12/linux/drivers/net/hp100.c
-  Orig date: 
Wed Jul 21 15:46:48 1999
diff -u --recursive --new-file v2.3.12/linux/drivers/net/hp100.c linux/drivers/net/hp100.c
@@ -419,7 +419,7 @@
             continue;
           }
           /* found... */
-          ioaddr = pci_dev -> base_address[ 0 ] & ~3;
+          ioaddr = pci_dev ->resource[ 0 ].start;
           if ( check_region( ioaddr, HP100_REGION_SIZE ) ) continue;
           pci_read_config_word( pci_dev, PCI_COMMAND, &pci_command );
           if ( !( pci_command & PCI_COMMAND_IO ) ) {
FUNET's LINUX-ADM group, linux-adm@nic.funet.fi
TCL-scripts by Sam Shen (who was at: slshen@lbl.gov)