Re: RFC: UIO null parent for __uio_register_device anduio_device_name()

From: Hans J. Koch
Date: Wed Jan 19 2011 - 15:52:29 EST


On Wed, Jan 19, 2011 at 09:07:01AM -0800, Earl Chew wrote:
>
> >> I've added uio_device_chrdev() alongside uio_device_name() to allow
> >> us to figure out the coordinates of the Linux UIO device.
> >

There's a small library with helper functions. Among other things, they
allow searching the UIO device node by name (the name you gave your device
in uio_info->name). The library is here:

git://git.linutronix.de/projects/libUIO.git

or with gitweb:

http://git.linutronix.de/gitweb.cgi?p=projects/libUIO.git;a=summary

Thanks,
Hans

--
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/