Re: Exposing ROM's though sysfs
From: Martin Mares
Date: Fri Jul 30 2004 - 13:27:06 EST
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@xxxxxx> 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.
-
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/