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

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)