Have you looked at the new PCI API for ROM access in the -mm tree yet?
It is in the bk-pci patch and should be going into linus' tree sooner
or later. It will allow you to get rid of some common code in a lot of
the fbdev drivers.
pci_map_rom/pci_unmap_rom
It also tracks the boot video card. pci_map_rom for that card returns
a pointer to the shadow ROM copy at C0000. That let's you
transparently get to laptop ROMs that are stored compressed in the
system ROM.
--
Jon Smirl
jonsmirl@gmail.com
-------------------------------------------------------
This SF.Net email is sponsored by:
Sybase ASE Linux Express Edition - download now for FREE
LinuxWorld Reader's Choice Award Winner for best database on Linux.
http://ads.osdn.com/?ad_id=5588&alloc_id=12065&op=click