Red Hat axp-list: Linux on Alpha (1995-2022)
 help / color / mirror / Atom feed
From: "B. James Phillippe" <bryan@terran.org>
To: axp-list <axp-list@redhat.com>
Subject: Re: How do you force an Ethernet mode ???
Date: Wed, 11 Aug 1999 20:30:35 -0700 (PDT)	[thread overview]
Message-ID: <Pine.LNX.4.10.9908112025240.1966-100000@neptune.terran> (raw)
In-Reply-To: <5518FE2C95E6D111B1A500104B72113B04CDBDE3@alfexc8.alf.dec.com>

On Wed, 11 Aug 1999, Segrest, Bob wrote:

> Greetings,
> 
> I have a 10/100baseT Ethernet card (tulip, DE500) in my system that
> appears to be setup in auto detect mode.  Unfortunately it is coming up
> in 100baseT mode and I need it to start in 10baseT mode.  How do I force
> the interface to come up in 10baseT mode ???

If you are using tulip.c, you can pass parameters on the insmod line as
follows (from the source):

#define MAX_UNITS 8
/* Used to pass the full-duplex flag, etc. */
static int full_duplex[MAX_UNITS] = {0, };
static int options[MAX_UNITS] = {0, };
static int mtu[MAX_UNITS] = {0, };

/*  The possible media types that can be set in options[] are: */
static const char * const medianame[] = {
        "10baseT", "10base2", "AUI", "100baseTx",
        "10baseT-FD", "100baseTx-FD", "100baseT4", "100baseFx",
        "100baseFx-FD", "MII 10baseT", "MII 10baseT-FD", "MII",
        "10baseT(forced)", "MII 100baseTx", "MII 100baseTx-FD", "MII
100baseT4",};

...

MODULE_PARM(debug, "i");
MODULE_PARM(max_interrupt_work, "i");
MODULE_PARM(reverse_probe, "i");
MODULE_PARM(rx_copybreak, "i");
MODULE_PARM(options, "1-" __MODULE_STRING(MAX_UNITS) "i");
MODULE_PARM(full_duplex, "1-" __MODULE_STRING(MAX_UNITS) "i");

There are similar arguments for the de4x5 driver, well documented in the
comments within the driver source (search for "Command  line arguments"
(note the *two* spaces between "Command" and "line").

-bp
--
# bryan at terran dot org
# http://www.terran.org/~bryan


  reply	other threads:[~1999-08-12  3:30 UTC|newest]

Thread overview: 6+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
1999-08-12  3:13 How do you force an Ethernet mode ??? Segrest, Bob
1999-08-12  3:30 ` B. James Phillippe [this message]
1999-08-12 14:38   ` Michal Jaegermann
  -- strict thread matches above, loose matches on Subject: below --
1999-08-12 10:33 Segrest, Bob
1999-08-12 13:55 ` James Bremer
1999-08-12 14:47 Larry Sendlosky
read-only archive

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox