patch-2.2.18 linux/drivers/net/sk98lin/skge.c

Next file: linux/drivers/net/skfp/Makefile
Previous file: linux/drivers/net/sis900.h
Back to the patch index
Back to the overall index

diff -u --new-file --recursive --exclude-from /usr/src/exclude v2.2.17/drivers/net/sk98lin/skge.c linux/drivers/net/sk98lin/skge.c
@@ -431,6 +431,7 @@
 		pci_set_master(pdev);
 
 		base_address = pdev->base_address[0];
+		base_address &= PCI_BASE_ADDRESS_MEM_MASK;
 
 #ifdef __sparc_v9__
 		/* SPARC machines do not initialize the chache line size */

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