[openib-general] struct class and device.c

Michael S. Tsirkin mst at mellanox.co.il
Mon Nov 29 11:17:51 PST 2004


Hello!
Quoting r. Roland Dreier (roland at topspin.com) "Re: [openib-general] struct class and device.c":
>     Michael> Hi!  Why does not core/device.c use the struct class to
>     Michael> manage the list of IB devices?  Are there disadvatages
>     Michael> with this approach?
> 
> struct class is used.  The code is in core/sysfs.c
> 

No, I had in mind using the children list in the class
instead of the device_list in device.c and interfaces list 
instead of the client_list. Why not? Wouldnt that work?

MST



More information about the general mailing list