Re: [patch v2 13/37] add rxe_verbs.c
From: Bart Van Assche <hidden>
Date: 2011-08-15 16:02:23
On Mon, Aug 15, 2011 at 5:07 PM, Greg KH [off-list ref] wrote:
For a device, you HAVE to be creating these attributes before the hotplug event is sent out, and to do that, you need to set the correct pointer before registering the device. See the documentation for the driver model for how to do this properly.
Are you referring to the "groups" member in "struct device" ? The source files I have found so far that fill in this member in a struct device are: drivers/s390/cio/css.c and drivers/usb/core/endpoint.c. But I haven't found anything about that member in the documents under Documentation/driver-model. Is it just me who's again missing something ? Bart. -- To unsubscribe from this list: send the line "unsubscribe linux-rdma" in the body of a message to majordomo-u79uwXL29TY76Z2rM5mHXA@public.gmane.org More majordomo info at http://vger.kernel.org/majordomo-info.html