patch-2.2.0-pre5 linux/drivers/video/atyfb.c

Next file: linux/drivers/video/chipsfb.c
Previous file: linux/drivers/sound/wf_midi.c
Back to the patch index
Back to the overall index

diff -u --recursive --new-file v2.2.0-pre4/linux/drivers/video/atyfb.c linux/drivers/video/atyfb.c
@@ -2752,6 +2752,7 @@
 		addr = pdev->base_address[1];
 	    if (!addr)
 		continue;
+	    addr &= PCI_BASE_ADDRESS_MEM_MASK;
 
 #ifdef __sparc__
 	    /*

FUNET's LINUX-ADM group, linux-adm@nic.funet.fi
TCL-scripts by Sam Shen, slshen@lbl.gov