[openib-general] Re: device classes
Greg KH
greg at kroah.com
Tue Aug 10 14:39:47 PDT 2004
On Wed, Aug 04, 2004 at 08:03:01PM -0700, Grant Grundler wrote:
> On Wed, Aug 04, 2004 at 03:55:26PM -0700, Greg KH wrote:
> > Hm, but
> > then you want that class code to be called whenever a struct device
> > (really a ib_device) is added to the system.
>
> Would the device driver have to advertise that it supports the class?
Yes, in a way. Just like the input or tty drivers "advertise" that they
are input or tty drivers.
thanks,
greg k-h
More information about the general
mailing list