Subject: Re: Getting a tlp to use 100baseTX-FDX
To: Louis Guillaume <lguillaume@berklee.edu>
From: Rui Paulo <rpaulo@NetBSD.org>
List: netbsd-users
Date: 08/11/2005 13:29:36
--eHhjakXzOLJAF9wJ
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,
|=20
| I have a...
|=20
| $ 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
|=20
| $ ifconfig tlp0
| tlp0: flags=3D8843<UP,BROADCAST,RUNNING,SIMPLEX,MULTICAST> mtu 1500
|         address: xx:xx:xx:xx:xx:xx
|         media: Ethernet 10baseT
|         inet xxx.xxx.xxx.x netmask 0xffffffe0 broadcast xxx.xxx.xxx.x
|         inet6 xxxx::xxx:xxxx:xxxx:xxxx%tlp0 prefixlen 64 scopeid 0x2
|=20
| ... How do I get the media to use 100baseTX-FDX ?
|=20
| The man page for tlp [TLP(4)] has this to say...
|=20
| >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.
|=20
| How do we use this "scrambler". What's the user-land interface?

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

|=20
| Bottom line is, I'd like to use this NIC at 100Mb/s.
|=20
| Any help would be great!
|=20
| Thanks,
|=20
| Louis
|=20
|=20
|=20
|=20
|=20
| >=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.
|=20



		-- Rui Paulo

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

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.1 (NetBSD)

iD8DBQFC+0SwZPqyxs9FH4QRAv4EAJ97TO7SHML9BJuYokUHxNmEv4i8EgCeNULU
Ysxt1yMuWDjgBmdHuKVjqsA=
=C8Iv
-----END PGP SIGNATURE-----

--eHhjakXzOLJAF9wJ--