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 <[EMAIL PROTECTED]>

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
_______________________________________________
openib-general mailing list
openib-general@openib.org
http://openib.org/mailman/listinfo/openib-general

To unsubscribe, please visit http://openib.org/mailman/listinfo/openib-general

Reply via email to