Re: [PATCH] add PCI ROMs to sysfs

From: Martin Mares
Date: Fri Aug 20 2004 - 05:29:52 EST


Hello!

> The shadowing logic is a must have for laptops. BenH and I discovered
> this the hard way. Some laptops take the system and video ROM images,
> combine them and then compress them into a ROM. At boot time these ROM
> images are decompressed into RAM at C0000 and F0000. For these system
> the only place to get the ROM data for things like video timings is
> from the shadow area. Putting the shadow logic into the shared ROM code
> lets up remove it from all of the video drivers. This lets us write
> video drivers that don't care if the card is primary or secondary.

I understand this and I didn't want to remove the shadow ROM logic,
just to separate it from the real PCI ROM space, the reasons being (1) clarity,
(2) it might be useful to look at both.

Have a nice fortnight
--
Martin `MJ' Mares <mj@xxxxxx> http://atrey.karlin.mff.cuni.cz/~mj/
Faculty of Math and Physics, Charles University, Prague, Czech Rep., Earth
Purchasing Windows is an Unrecoverable Application Error.
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/