patch-2.3.50 linux/drivers/video/riva/fbdev.c
Next file: linux/drivers/video/vesafb.c
Previous file: linux/drivers/video/hgafb.c
Back to the patch index
Back to the overall index
- Lines: 11
- Date:
Fri Mar 3 12:54:45 2000
- Orig file:
v2.3.49/linux/drivers/video/riva/fbdev.c
- Orig date:
Thu Mar 2 14:36:23 2000
diff -u --recursive --new-file v2.3.49/linux/drivers/video/riva/fbdev.c linux/drivers/video/riva/fbdev.c
@@ -517,8 +517,8 @@
rinfo->riva.Architecture = rci->arch_rev;
rinfo->pd = pd;
- rinfo->base0_region_size = pci_resource_start (pd, 0);
- rinfo->base1_region_size = pci_resource_start (pd, 1);
+ rinfo->base0_region_size = pci_resource_len (pd, 0);
+ 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 */
FUNET's LINUX-ADM group, linux-adm@nic.funet.fi
TCL-scripts by Sam Shen (who was at: slshen@lbl.gov)