[LinuxBIOS] RFC Winflashrom Architecture -- Current device driver (testbed)

Patrick Georgi patrick at georgi-clan.de
Mon Jun 11 20:01:36 CEST 2007

Jeremy Jackson schrieb:
> Well unloading the driver seems a bit clumsy, and a contradiction
> really.  (unloading a driver to use hardware).  I would add the flash
> ROM functionality to the NIC driver, and have it export an MTD map.  The
> space.c stub implementation would just return EBUSY if the interface is
> up, but specific drivers could enable interleaved access as they are
> able.
so who puts exactly the same chunk of code in all the 50-or-so network 
drivers (not to speak of all the other devices that might be flashable) 
and maintains it?

 From a maintenance perspective, this proposal is a nightmare - in this 
case, just unloading the driver is preferred imho.
Hmm.. I'm not sure how the suspend stuff works on linux, but maybe you 
could fake a suspend signal to the driver from your driver, so it 
detaches properly (and can attach again once you're done)?

Patrick Georgi

More information about the coreboot mailing list