[tulip] tulip medium selection oddity

Tobias Abt tabt@gmx.de
Sun, 25 Jun 2000 13:26:03 +0200


When I force a CNet 100TX(E) (21143 without MII, just SYM) to use
10baseT by

# insmod tulip options=12 debug=3 ; ifconfig eth1 192.168.2.4

it is autonegotiating to 100baseTx-FDX anyway when attached to a switch.

Did I miss something here?

(Happens with 0.91 and 0.92)

Excerpt from /var/log/messages:

Found Digital DS21143 Tulip at PCI I/O address 0xe000.
tulip.c:v0.91g-ppc 7/16/99 becker@cesdis.gsfc.nasa.gov
eth1: Digital DS21143 Tulip rev 48 at 0xe000, 00:80:AD:83:54:E4, IRQ 12.
eth1:  EEPROM default media type Autosense.
eth1:  Index #0 - Media 10baseT (#0) described by a 21142 Serial PHY (2)
block.
eth1:  Index #1 - Media 10baseT-FD (#4) described by a 21142 Serial PHY
(2) block.
eth1:  Index #2 - Media 100baseTx (#3) described by a 21143 SYM PHY (4)
block.
eth1:  Index #3 - Media 100baseTx-FD (#5) described by a 21143 SYM PHY
(4) block.
eth1: Restarting 21143 autonegotiation, 0003ffff.
eth1: tulip_open() irq 12.
eth1: Using user-specified media 10baseT(forced).
eth1: 21143 non-MII 10baseT transceiver control 08af/00a5.
eth1:  Setting CSR15 to 08af0008/00a50008.
eth1: Using media type 10baseT, CSR12 is c6.
eth1: Done tulip_open(), CSR0 ffa08000, CSR5 f0660000 CSR6 b2422002.
eth1: 21143 link status interrupt 45e1d0ce, CSR5 f0668010, fff8ffff.
eth1: Switching to 100baseTx-FD based on link negotiation 01e0 & 45e1 =
01e0.
eth1: 21143 non-MII 100baseTx-FD transceiver control 08af/00a5.
eth1:  Setting CSR15 to 08af0008/00a50008.
eth1: Using media type 100baseTx-FD, CSR12 is ce.
eth1:  Setting CSR6 83860200/b3862202 CSR12 45e1d0ce.
eth1: 21143 negotiation status 000020ce, 100baseTx-FD.
eth1: Using NWay-set 100baseTx-FD media, csr12 000020ce.
eth1: 21143 link status interrupt 000060cc, CSR5 f8668000, fff8ffff.
eth1: 21143 100baseTx-FD link beat good.
eth1: 21143 link status interrupt 000050ce, CSR5 f8668010, fff8ffff.
eth1: Restarting 21143 autonegotiation, 0003ffff.
eth1: 21143 link status interrupt 45e1d2ce, CSR5 f0008010, fffbffff.
eth1: Switching to 100baseTx-FD based on link negotiation 01e0 & 45e1 =
01e0.
eth1: 21143 non-MII 100baseTx-FD transceiver control 08af/00a5.
eth1:  Setting CSR15 to 08af0008/00a50008.
eth1: Using media type 100baseTx-FD, CSR12 is ce.
eth1:  Setting CSR6 83860200/b3862202 CSR12 45e1d2ce.
eth1: 21143 link status interrupt 45e1d2cc, CSR5 f8668000, fffbffff.
eth1: 21143 100baseTx-FD link beat good.
eth1: 21143 negotiation status 45e1d2cc, 100baseTx-FD.
eth1: Using NWay-set 100baseTx-FD media, csr12 45e1d2cc.

-- 

Bye,                 \|/
  Tobias             @ @
+----------------oOO-(_)-OOo-----------+
| Tobias Abt                           |
| email: tabt@gmx.de                   |
+--------------------------------------+