Re: module-name-change breaks kobject ?

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

 



On Mon, May 16, 2005 at 01:50:02PM -0600, Jim Cromie wrote:
> 
> does kobject stuff rely on a strict name correspondence that makes
> this shortcut somehow invalid ?

The kernel will not let you register two drivers with the same name.
That is happening when you try to register the pci driver name.  That is
why this is failing.

In short, don't do this, just unload your old driver and register a new
one.  It really isn't working the way you think it is (only the old one
gets bound to the device, not the new one.)

thanks,

greg k-h

--
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