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
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to [email protected]
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/
[Index of Archives]
[Kernel Newbies]
[Netfilter]
[Bugtraq]
[Photo]
[Stuff]
[Gimp]
[Yosemite News]
[MIPS Linux]
[ARM Linux]
[Linux Security]
[Linux RAID]
[Video 4 Linux]
[Linux for the blind]
[Linux Resources]