Re: Antwort: Re: udev example

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Mon, Nov 05, 2007 at 01:40:36PM +0100, vschober@xxxxxxxxxx wrote:
> Hi Greg,
> 
> there is no standard device class for our drivers. We are making devices 
> for the LON field bus. These devices are connected to the PC with 
> different kinds: USB, PCI, PC-104, Serial.
> Until now we used a character device with a fixed major and minor number. 

So why not create a bus type for your devices, and use that?  If you do
that you automatically get udev support as you would be using the proper
'struct device' usage in the kernel.

Do you have a link to your driver source code so that I can see how much
work this would entail?

thanks,

greg k-h

--
To unsubscribe from this list: send an email with
"unsubscribe kernelnewbies" to ecartis@xxxxxxxxxxxx
Please read the FAQ at http://kernelnewbies.org/FAQ


[Index of Archives]     [Newbies FAQ]     [Linux Kernel Mentors]     [Linux Kernel Development]     [IETF Annouce]     [Git]     [Networking]     [Security]     [Bugtraq]     [Yosemite]     [MIPS Linux]     [ARM Linux]     [Linux RAID]     [Linux SCSI]     [Linux ACPI]
  Powered by Linux