From mboxrd@z Thu Jan 1 00:00:00 1970 From: Greg KH Date: Tue, 07 Nov 2006 08:14:52 +0000 Subject: Re: Pci driver and udev... Message-Id: <20061107081452.GA7048@kroah.com> List-Id: References: In-Reply-To: MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: linux-hotplug@vger.kernel.org On Mon, Nov 06, 2006 at 05:31:02PM +0100, Kris van Rens wrote: > So I assume the cdev stuff is just for 'internal' registration of the > character device and something else should be used to tell udev a new > device is there? Yes, that is true. > So I found the part about udev and 'class_simple_*' in the ldd3 book > but that was deleted from the kernel. > > As I understand it was replaced by the better version of 'class' but I > kind of lost in all the functions in base/class.c... > > Can someone enlighten me? class_device_create() is what you should look at. Actually, I'd recommend just using device_create() with a class instead, it's what I'm converting the kernel to use in all places for class_device_create(). thanks, greg k-h ------------------------------------------------------------------------- Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo http://sel.as-us.falkag.net/sel?cmd=lnk&kid0709&bid&3057&dat1642 _______________________________________________ Linux-hotplug-devel mailing list http://linux-hotplug.sourceforge.net Linux-hotplug-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/linux-hotplug-devel