It's my fault, one device only bind with one driver. I just bind two drivers
to a device, So return  -NODEV error.

Thanks for your help!

2008/9/25 Greg KH <[EMAIL PROTECTED]>

> 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 },
> >
> > [EMAIL PROTECTED]:/sys/bus/pci/drivers/e1000e# lspci | grep Ethernet
> > 00:19.0 Ethernet controller: Intel Corporation 82566DM-2 Gigabit Network
> > Connection (rev 02)
> > [EMAIL PROTECTED]:/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
>



-- 
Best Regards :-)
-------------------------------------------
Wang Yao(王耀),[EMAIL PROTECTED] [EMAIL PROTECTED]
HomePage: http://cudev.cublog.cn
Research Center of Computer Network and Information Security Technology
Harbin Institute Of Technology
Address:NO.92 West Da-Zhi Street,NanGang District,Harbin,Heilongjiang

Reply via email to