[openib-general] Re: [PATCH 05/16] IB uverbs: core implementation
Greg KH
greg at kroah.com
Wed Jun 29 11:03:13 PDT 2005
On Wed, Jun 29, 2005 at 10:01:53AM -0700, Roland Dreier wrote:
> Greg> This is no longer needed with the class device interface in
> Greg> the kernel today. Please use the new api (basically just
> Greg> set dev_t in the class_device, and you get this for free.)
>
> Here's a patch that applies on top of this patch set that fixes this:
>
>
> Greg KH pointed out that with the new class device code, we can just
> set class_dev.devt instead of having our own show_dev() function.
>
> Signed-off-by: Roland Dreier <rolandd at cisco.com>
Nice, thanks for doing this. You also get better userspace support as
now the MAJOR and MINOR environment variables are set for the hotplug
event when you create this device.
Which, if Kay is correct, will make udev even faster...
thanks,
greg k-h
More information about the general
mailing list