Subject: Re: Getting a tlp to use 100baseTX-FDX
To: Louis Guillaume <>
From: Rui Paulo <>
List: netbsd-users
Date: 08/11/2005 13:29:36
Content-Type: text/plain; charset=us-ascii
Content-Disposition: inline
Content-Transfer-Encoding: quoted-printable

On 2005.08.11 00:18:19 +0000, Louis Guillaume wrote:
| Hi,
| I have a...
| $ dmesg|grep tlp
| tlp0 at pci0 dev 19 function 0: DECchip 21140 Ethernet, pass 1.2
| tlp0: broken MicroWire interface detected; setting SROM size to 1Kb
| tlp0: interrupting at irq 11
| tlp0: SMC 9332DST, Ethernet address 00:00:c0:0b:ec:e7
| tlp0: 10baseT, 10baseT-FDX, 100baseTX, 100baseTX-FDX
| $ ifconfig tlp0
|         address: xx:xx:xx:xx:xx:xx
|         media: Ethernet 10baseT
|         inet netmask 0xffffffe0 broadcast
|         inet6 xxxx::xxx:xxxx:xxxx:xxxx%tlp0 prefixlen 64 scopeid 0x2
| ... How do I get the media to use 100baseTX-FDX ?
| The man page for tlp [TLP(4)] has this to say...
| >DECchip 21140 and 21140A -- This is the third chip in the Tulip
| >family, dubbed ``FasterNet''.  It supports 10Mb/s speeds with a
| >built-in 10BASE-T encoder/decoder, and 100Mb/s speeds with a
| >built-in 100BASE PCS function.  Support for 100BASE-TX and=20
| >100BASE-T4 is provided by a built-in scrambler.  Support for
| >100BASE-FX is possible with an appropriate PMD connected to the
| >100BASE PCS.  The 21140 and 21140A also support 10Mb/s and
| >100Mb/s speeds over an MII interface connected to one or more=20
| >PHYs.
| How do we use this "scrambler". What's the user-land interface?

The scrambler will be enabled when you chose 100BaseTX.
	ifconfig tlp0 media auto
	ifconfig tlp0 media 100BaseTX

| Bottom line is, I'd like to use this NIC at 100Mb/s.
| Any help would be great!
| Thanks,
| Louis
| >=20
| >The 21140 and 21140A include a general purpose I/O facility,
| >which may be used to toggle relays on the board.  This facility =20
| >is often used to reset individual board modules (e.g.  the MII=20
| >bus), select the output path of the chip (e.g. connect the UTP
| >port on the board to the PHY, built-in 10BASE-T ENDEC, or
| >built-in 100BASE-T PMD), or detect link status (by reading an=20
| >output pin on the 100BASE-T magnetics).
| >=20
| >The 21140 and 21140A use a standardized data structure located
| >in the SROM to describe how the chip should be programmed for=20
| >various media settings, including the internal chip pathway,
| >and GPIO settings.  If the SROM data is not in the standardized
| >format, the device driver must know specific programming infor-
| >mation for that particular board.
| >                                                              =20
| >Boards that include the 21140 and 21140A include the DEC EB140,=20
| >DE-500XA, DE-500AA, Asante EtherFast, DaynaPORT BlueStreak,
| >Cogent EM100TX, EM110TX, EM440T4 multi-port, Kingston KNE100TX,
| >older versions of the NetGear FA-310TX, SMC 9332, SMC 9334,
| >ZNYX ZX34x multi-port, and Adaptec ANA-6944A/TX multi-port.

		-- Rui Paulo

Content-Type: application/pgp-signature
Content-Disposition: inline

Version: GnuPG v1.4.1 (NetBSD)