patch-2.3.99-pre3 linux/drivers/video/riva/fbdev.c

Next file: linux/fs/adfs/inode.c
Previous file: linux/drivers/video/offb.c
Back to the patch index
Back to the overall index

diff -u --recursive --new-file v2.3.99-pre2/linux/drivers/video/riva/fbdev.c linux/drivers/video/riva/fbdev.c
@@ -521,7 +521,7 @@
 	rinfo->base1_region_size = pci_resource_len (pd, 1);
 
 	assert (rinfo->base0_region_size >= 0x00800000);	/* from GGI */
-	assert (rinfo->base0_region_size >= 0x01000000);	/* from GGI */
+	assert (rinfo->base1_region_size >= 0x01000000);	/* from GGI */
 
 	rinfo->ctrl_base_phys = rinfo->pd->resource[0].start;
 	rinfo->fb_base_phys = rinfo->pd->resource[1].start;

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