[openib-general] Re: [PATCH] Basic driver model/sysfs support

Greg KH greg at kroah.com
Fri Sep 3 03:33:26 PDT 2004


On Thu, Sep 02, 2004 at 10:56:41AM -0700, Roland Dreier wrote:
> This patch starts to add driver model/sysfs support.  It adds
> ib_alloc_device/ib_dealloc_device so that the access layer can manage
> reference counting of struct ib_device (and free the ib_device in the
> driver model ->release() method).  It also creates a basic
> "infiniband" class that devices belong to.
> 
> Next step is to add attributes to the device and start killing off
> some of the info in /proc (and redundant ioctls).

At first glance this looks good.

What does 'tree /sys/class/infiniband/' look like with this code?

thanks,

greg k-h



More information about the general mailing list