[eepro100] eepro100 and e1000
Christoph Plattner
christoph.plattner@alcatel.at
Thu Jun 6 02:02:03 2002
Hello,
I never thought this for a release driver !
I only wanted to give a hint for the problem of Nate Amsden to do
a "quick&dirty" solution for his constellation. He knows which cards
exactly he has, and which ID they have.
Never think, I would do such a thing in a driver in general !!
I know the probling methods, and I know your drivers very well.
BTW: I never had an e1000 card in my hands.....
Christoph
Donald Becker wrote:
>
> On Wed, 5 Jun 2002, Christoph Plattner wrote:
> > Nate Amsden wrote:
> > > Claus Rosenberger wrote:
> > > >
> > > > i want to use the eepro100 and the e1000 in the same machine. until now i
> > > > compiled modules and had some alias eth0 and eth1 for this cards. but now
> > > > i want to build the drivers staticly to the kernel. how i can force to
> > > > load the eepro100 as device eth0 and the e1000 as device eth1 ?
> > > > the kernel load the devices all the time in wrong order.
>
> In this case the detection order is set by the order that the driver
> probes are called.
> Since the e1000 driver is only distributed as a module, you must have
> added the e1000 probe into the code yourself. Just change the order.
>
> > > change the order of the PCI cards, the kernel should assign them in the order
> > > that they are detected, so if they are PCI cards, flip em around, and
> > > it should get reversed. if one is onboard ..well I am not sure what
> > > you can do.
>
> That's only true for multiple cards supported by a single driver. The
> driver probe detects all supported cards.
>
> > Try to patch the driver only searching for "one" VENDOR_ID/CHIP_ID
> > on the PCI bus.
>
> That won't do it. And changing the driver to "skip" unrecognized
> network cards isn't an option -- how can a one driver know that some
> other network driver will be supporting that device and filling in the
> naming "hole"?
>
> --
> Donald Becker becker@scyld.com
> Scyld Computing Corporation http://www.scyld.com
> 410 Severn Ave. Suite 210 Second Generation Beowulf Clusters
> Annapolis MD 21403 410-990-9993
--
+--------V--------+ Christoph.Plattner@alcatel.at
| A L C A T E L | -----------------------------
+-----------------+ Phone: +43 1 27722 3706
T A S Fax: +43 1 27722 3955