|
|
|
|
|
|
|
|
|
|
xen-devel
Re: [Xen-devel] get_xen_class()
Awesome, thanks for the answer.
As it turns out, a ton of the work is done for you nowadays by udev, so device_create() did it. Thanks Chris Benninger University of Victoria, Computer Science
cbenning@xxxxxxxxxxhttp://benninger.ca
On Fri, Jan 28, 2011 at 1:02 AM, Ian Campbell <Ian.Campbell@xxxxxxxxxx> wrote:
On Thu, 2011-01-27 at 18:40 +0000, chrisbenninger wrote:
> I am building a driver for Xen for a research project. I recently
> started building against a newer kernel (2.6.32.27) and my char driver
> no longer appears in /dev/ because the get_xen_class() function
> doesn't seem to be around anymore. Any hints as to how to take care of
> this?
I think the class stuff is deprecated upstream, see
http://lwn.net/Articles/188707/.
I suspect you should just be using misc_register() or device_create()
instead of whatever you are doing today, no class required.
Ian.
_______________________________________________
Xen-devel mailing list
Xen-devel@xxxxxxxxxxxxxxxxxxx
http://lists.xensource.com/xen-devel
|
|
|
|
|