WARNING - OLD ARCHIVES

This is an archived copy of the Xen.org mailing list, which we have preserved to ensure that existing links to archives are not broken. The live archive, which contains the latest emails, can be found at http://lists.xen.org/
   
 
 
Xen 
 
Home Products Support Community News
 
   
 

xen-devel

Re: [Xen-devel] get_xen_class()

To: chrisbenninger <chrisbenninger@xxxxxxxxx>
Subject: Re: [Xen-devel] get_xen_class()
From: Ian Campbell <Ian.Campbell@xxxxxxxxxx>
Date: Fri, 28 Jan 2011 09:02:25 +0000
Cc: "xen-devel@xxxxxxxxxxxxxxxxxxx" <xen-devel@xxxxxxxxxxxxxxxxxxx>
Delivery-date: Fri, 28 Jan 2011 01:03:13 -0800
Envelope-to: www-data@xxxxxxxxxxxxxxxxxxx
In-reply-to: <AANLkTikw2zinEUQMToJW8XbRwh0wuO9N72M83Mqo9nr=@xxxxxxxxxxxxxx>
List-help: <mailto:xen-devel-request@lists.xensource.com?subject=help>
List-id: Xen developer discussion <xen-devel.lists.xensource.com>
List-post: <mailto:xen-devel@lists.xensource.com>
List-subscribe: <http://lists.xensource.com/mailman/listinfo/xen-devel>, <mailto:xen-devel-request@lists.xensource.com?subject=subscribe>
List-unsubscribe: <http://lists.xensource.com/mailman/listinfo/xen-devel>, <mailto:xen-devel-request@lists.xensource.com?subject=unsubscribe>
Organization: Citrix Systems, Inc.
References: <AANLkTikw2zinEUQMToJW8XbRwh0wuO9N72M83Mqo9nr=@xxxxxxxxxxxxxx>
Sender: xen-devel-bounces@xxxxxxxxxxxxxxxxxxx
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

<Prev in Thread] Current Thread [Next in Thread>