[coreboot] Drivers vs. Objects
Myles Watson
mylesgw at gmail.com
Wed Sep 23 22:55:13 CEST 2009
On Wed, Sep 23, 2009 at 2:48 PM, Peter Stuge <peter at stuge.se> wrote:
> Myles Watson wrote:
> > In what way is the ops struct phony?
>
> The device can not be discovered so code must know that the device is
> there, and if code does, the ops provide no benefit but add
> confusion and undesirable indirection.
>
I'd be interested to see the alternative code. Devices that can't be probed
for can still have resources that need to be read and set and init functions
to call.
Myles
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://www.coreboot.org/pipermail/coreboot/attachments/20090923/63f549c4/attachment.html>
More information about the coreboot
mailing list