patch-2.3.13 linux/drivers/net/pcnet32.c

Next file: linux/drivers/net/plip.c
Previous file: linux/drivers/net/ni65.c
Back to the patch index
Back to the overall index

diff -u --recursive --new-file v2.3.12/linux/drivers/net/pcnet32.c linux/drivers/net/pcnet32.c
@@ -461,10 +461,7 @@
 	    if (pcnet32_tbl[chip_idx].vendor_id == 0)
 		continue;
 	    
-	    ioaddr = pdev->base_address[0] & PCI_BASE_ADDRESS_IO_MASK;
-#if defined(ADDR_64BITS) && defined(__alpha__)
-	    ioaddr |= ((long)pdev->base_address[1]) << 32;
-#endif
+	    ioaddr = pdev->resource[0].start;
 	    irq_line = pdev->irq;
 	    
 	    /* Avoid already found cards from previous pcnet32_probe() calls */

FUNET's LINUX-ADM group, linux-adm@nic.funet.fi
TCL-scripts by Sam Shen (who was at: slshen@lbl.gov)