[coreboot] Drivers vs. Objects
mylesgw at gmail.com
Wed Sep 23 20:46:08 CEST 2009
On Wed, Sep 23, 2009 at 12:42 PM, Peter Stuge <peter at stuge.se> wrote:
> Myles Watson wrote:
> > > > Should I2C devices use objects, since you can't scan for them?
> > Making it a driver seems easier to enforce/explain since it provides an
> > *_ops struct.
> On the other hand a phony ops struct is bad in so many ways. Less is
> more, no?
My impression was that the ops struct works fine, but you can't scan for it
because I2C is missing the equivalent of PCI vendor/device IDs. In what way
is the ops struct phony?
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the coreboot