Red Hat axp-list: Linux on Alpha (1995-2022)
 help / color / mirror / Atom feed
From: "Segrest, Bob" <Robert.Segrest@compaq.com>
To: axp-list@redhat.com
Subject: RE: How do you force an Ethernet mode ???
Date: Thu, 12 Aug 1999 05:33:11 -0500	[thread overview]
Message-ID: <5518FE2C95E6D111B1A500104B72113B04CDBDF6@alfexc8.alf.dec.com> (raw)

I did try using ifconfig...

> ifconfig eth0 mode 10baseT

It complained about the device driver not supporting this option or
something like that.  Shouldn't this work, or are you suggesting I need to
modify the device driver ?

Bob Segrest

-----Original Message-----
From: B. James Phillippe [mailto:bryan@terran.org]
Sent: Wednesday, August 11, 1999 11:31 PM
To: axp-list
Subject: Re: How do you force an Ethernet mode ???


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

-- 
To unsubscribe: send e-mail to axp-list-request@redhat.com with
'unsubscribe' as the subject.  Do not send it to axp-list@redhat.com


             reply	other threads:[~1999-08-12 10:33 UTC|newest]

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