Re: Exposing ROM's though sysfs

Martin Mares
2004-07-30T18:23:13Z

Hello!

> That might be a good solution, actually. Then it would be cached for devices
> that don't want you to look at it after they've been POSTed too.

There already exists a "pci=rom" switch which tells the PCI core to assign
addresses to the ROM BAR's as well. Either we can offer the files in the sysfs
only if this switch is enabled, or we can create another switch for making
copies of the ROM's during system boot.

Anyway, the devices sharing ROM decoder with another BAR seem to be pretty
rare.

Have a nice fortnight
--
Martin `MJ' Mares <mj@ucw.cz> http://atrey.karlin.mff.cuni.cz/~mj/
Faculty of Math and Physics, Charles University, Prague, Czech Rep., Earth
Anti-trust laws should be approached with exactly that attitude.