Re: [PATCH 05/16] IB uverbs: core implementation

From: Greg KH
Date: Wed Jun 29 2005 - 13:10:38 EST


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@xxxxxxxxx>

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
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/