lkml.org 
[lkml]   [2005]   [Jun]   [29]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectRe: [PATCH 05/16] IB uverbs: core implementation
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@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
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/

\
 
 \ /
  Last update: 2005-06-29 20:12    [W:0.097 / U:0.040 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site