Re: How to load an Ethernet driver on only one adapter



Cyril Perrin <cyril.perrin@xxxxxxxx> writes:

Balwinder S "bsd" Dheeman wrote:
On 02/21/2007 09:05 PM, Cyril Perrin wrote:
Hi,

I'm using a PC with two Intel Gigabit adapters (i8254x). When Linux
(RedHat 7.2, kernel 2.4.24) boots, it calls "insmod e1000.o" and the
driver initializes and takes control of both adapters. Is there a way to
restrict the e1000 driver to only one adapter? I've searched in the
driver parameters but there is nothing obvious.
Thanks,

Redhat 7.2 has ended it's life a long ago, why don't get and install
some latest distro?

Not sure about 7.2, but you just need to put one of these down with:

# ifdown eth[0|1] # choose either 0 or 1


eth1 is not even up.
Only eth0 is configured on my PC but the driver takes control of all the
network adapters.
It sounds like a limitation of insmod / e1000. I'm quite sure the latest
distribution won't fix that.

What is the problem you are trying to fix? Why do you care if the driver
takes controll of both cards?

.



Relevant Pages

  • [PATCH 18-rc3] Fix typos in /Documentation : S
    ... Request flows seen by I/O schedulers ... cpufreq-stats is a driver that provices CPU frequency statistics for each CPU. ... +interface will appear in a separate directory under cpufreq ... This drives supports all SMC ISA/MCA adapters. ...
    (Linux-Kernel)
  • Re: powerpc allmodconfig
    ... I tried to ping Jeff Garzik about doing a driver bug fix run in ... order to fix this, but he hasn't shown any signs of life. ... tristate "Intel10GbE PCI Express adapters support" ... depends on PCI && INET ...
    (Linux-Kernel)
  • Re: Pocket PC NDIS Intermediate Driver Programmatic Uninstall
    ... as their Ndis call counterparts. ... > definitely able of starting/stopping the network adapters, ... Binding remake necessary to uninstall the IM will cause the ... >> protocols manually from the intermediate driver miniport, ...
    (microsoft.public.windowsce.platbuilder)
  • Re: NDIS IM driver vs TDI filter
    ... I'll see the traffic from all adapters. ... > Intercepting RAS over modem is EXTREMELY difficult in an intermediate driver. ... You need to understand the NDIS upper-edge and the NDIS ... > If you sit on top of TCP, then filtering the connection is a little harder. ...
    (microsoft.public.development.device.drivers)
  • Re: [RFC|PATCH][2.6] Additional i2c adapter flags for i2c client isolation
    ... My goal was to keep all non-dvb i2c clients away from my dvb i2c adapters. ... I didn't want to touch every i2c driver and break things. ... >>class and the driver class don't match, the driver is not probed on the bus. ...
    (Linux-Kernel)