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 Wed, Sep 24, 2008 at 09:44:28PM +0800, fisherman wrote:
> >>>
> 
> >
> > Delete the device ids from the driver.
> >
> >
> I test in my box, BUT Failed Again:
> 
> e1000e_pci_tbl:
>     { PCI_VDEVICE(INTEL, E1000_DEV_ID_ICH9_IFE_G), board_ich9lan },
>     { PCI_VDEVICE(INTEL, E1000_DEV_ID_ICH9_IFE_GT), board_ich9lan },
>     //{ PCI_VDEVICE(INTEL, E1000_DEV_ID_ICH9_IGP_AMT), board_ich9lan },
>     { PCI_VDEVICE(INTEL, E1000_DEV_ID_ICH9_IGP_C), board_ich9lan },
>     { PCI_VDEVICE(INTEL, E1000_DEV_ID_ICH9_BM), board_ich9lan },
> 
> root@dell-desktop:/sys/bus/pci/drivers/e1000e# lspci | grep Ethernet
> 00:19.0 Ethernet controller: Intel Corporation 82566DM-2 Gigabit Network
> Connection (rev 02)
> root@dell-desktop:/sys/bus/pci/drivers/e1000e# echo -n "0000:00:19.0" >
> /sys/bus/pci/drivers/e1000e/bind
> bash: echo: write error: No such device

The driver needs to have the device id in the table for bind to work,
you can dynamically write it if it isn't there by using the new_id file.

But this is getting just silly.  What specifically are you wanting to do
with a working driver?  Why are you not wanting to bind this device to
the driver?  What are you wanting to break here? :)

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