Re: How to make device and driver not auto bind when driver load?

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

 



On Sat, Sep 13, 2008 at 10:54:59PM +0800, fisherman wrote:
> I have modified e1000 driver, want device and driver not auto bind when it load.
> 
> Someone said, Not export pci device table can implement it.
> I Remove the:
> MODULE_DEVICE_TABLE(pci, e1000_pci_tbl);

That only tells userspace what devices bind to drivers, if you load the
driver by hand, it will still bind properly.

> BUT when I load the modified e1000 dirver, the device bind with driver
> auto again.

Yup, that will happen :)

Why would you want this to not happen?

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