Re: Registering two devices with one module

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

 



--- steve_lustbader@hsgmed.com wrote:
> Can I register a module as both a network and a char driver (by
> calling both 
> register_chrdev and register_netdev from the same module_init)? 
> Does it 
> matter if I register them both with the same name?
> 

Yes, you may register both ways.  I don't think it would matter if
you use the same name.  Of course, now that I've said that, those
with more experience will correct me.

Harmony,

--Christine


__________________________________________________
Do You Yahoo!?
Yahoo! Finance - Get real-time stock quotes
http://finance.yahoo.com
--
Kernelnewbies: Help each other learn about the Linux kernel.
Archive:       http://mail.nl.linux.org/kernelnewbies/
FAQ:           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