Skip to contentSkip to conversation

[2.5][RFT] 3c509.c extra ethtool features

PATCH Mikael Pettersson 2 participants 2 messages Oct 7, 2002

lore
Share & tools
lore
#0 lore raw
Quoted 7 lines · Zwane Mwaikambo
	If anyone has a 3c509 could they try;

ethtool eth0
ethtool -s eth0 port tp, bnc etc..
ethtool eth0

and see if all the returned stuff looks sane.

3c509-TPO, ca 1994 vintage, ethtool eth0 output:

Settings for eth0:
Supported ports: [ TP AUI ]
Supported link modes: 10baseT/Half 10baseT/Full
Supports auto-negotiation: No
Advertised link modes: Not reported
Advertised auto-negotiation: No
Speed: 10Mb/s
Duplex: Half
Port: Twisted Pair
PHYAD: 0
Transceiver: internal
Auto-negotiation: off
Current message level: 0x00000002 (2)
Link detected: yes

So far so good (except it reports AUI although it has none). Unfortunately, this simple query killed the link, and I had to down/up eth0 to get it back.
Next I tried ethtool -s to change some settings (port, speed, full duplex) and all returned errors. I kind of expected that. Next I tried to rlogin to this box from another: complete kernel hang :-(

I may be able to test some more later this week, on a slightly newer 3c509(B?) TP/AUI combo NIC.

/Mikael

#1 lore raw
Quoted 16 lines · Mikael Pettersson

3c509-TPO, ca 1994 vintage, ethtool eth0 output:

Settings for eth0:
Supported ports: [ TP AUI ]
Supported link modes: 10baseT/Half 10baseT/Full
Supports auto-negotiation: No
Advertised link modes: Not reported
Advertised auto-negotiation: No
Speed: 10Mb/s
Duplex: Half
Port: Twisted Pair
PHYAD: 0
Transceiver: internal
Auto-negotiation: off
Current message level: 0x00000002 (2)
Link detected: yes

Cool.

Quoted 1 line

So far so good (except it reports AUI although it has none).

Hmm, that info is from the card registers, perhaps your board just doesn't have the interface wired?

Quoted 2 lines

Unfortunately, this simple query killed the link, and I had to down/up eth0 to get it back.

Could be a missing EL3WINDOW change somewhere, i don't write to any registers in the query path. I'll check that out.

Quoted 3 lines

Next I tried ethtool -s to change some settings (port, speed, full duplex) and all returned errors. I kind of expected that. Next I tried to rlogin to this box from another: complete kernel hang :-(

Could be one of the -EINVALs i think i need more sanity checks in there.

Quoted 2 lines

I may be able to test some more later this week, on a slightly newer 3c509(B?) TP/AUI combo NIC.

Thanks,
Zwane

Signature · 1 line
function.linuxpower.ca