[PATCH libpciaccess] linux_sysfs: use rom_size = 0x1000 for VGA devices

Alex Deucher alexdeucher at gmail.com
Tue Mar 22 08:59:31 PDT 2011


On Tue, Mar 22, 2011 at 11:49 AM, Forest Bond
<forest at alittletooquiet.net> wrote:
> Hi,
>
> On Tue, Mar 22, 2011 at 11:15:27AM -0400, Adam Jackson wrote:
>> On Tue, 2011-03-22 at 10:31 -0400, Forest Bond wrote:
>> > This patch brings the linux_sysfs backend in parity with other backends,
>> > which assume that VGA devices have fixed rom_size of 0x1000.  On my
>> > machines, the previous behavior invariably gives rom_size = 0.
>>
>> So cards with ROMs bigger than 64k just get silently truncated?  No
>> thanks.
>
> BTW, if this is wrong then I believe that pci_device_freebsd_probe and
> pci_device_x86_probe are currently broken.  Maybe you can correct me.

There are definitely roms > 64k.  Most newer radeons fall into this category.

Alex

>
> Thanks,
> Forest
> --
> Forest Bond
>
> -----BEGIN PGP SIGNATURE-----
> Version: GnuPG v1.4.10 (GNU/Linux)
>
> iEYEARECAAYFAk2IxPQACgkQRO4fQQdv5Az+1QCgntpBuwd6m1gYiDnqI4BMsYe/
> 9PMAoKSxXG9AKpPcNEqGHGsEBVKXyCxN
> =Skfp
> -----END PGP SIGNATURE-----
>
> _______________________________________________
> xorg-devel at lists.x.org: X.Org development
> Archives: http://lists.x.org/archives/xorg-devel
> Info: http://lists.x.org/mailman/listinfo/xorg-devel
>


More information about the xorg-devel mailing list