Etherpower II FTX fiber

PALFFY Daniel dpalffy@kkt.bme.hu
Thu Sep 9 04:36:44 1999


Hi!

We've recently bought 3 pieces of this card for a firewall, but I can't
get them working under linux with their fiber interface. The driver
currently has no options for fiber at all, and the MII transceiver on the
card defaults to TX if nothing else specified. The MII is a LevelOne
LXT970A. I've tried to look at the driver code, but as I have no practice
in device driver programming, I couldn't find what to modify to force
fiber operation. Particularly I can't find out how to access the registers
of the MII transceiver. Could someone point out where I had to begin?

The description of the MII chip is at
http://www.level1.com/product/pdf/lxt970ad.pdf , pages 22, 59 and 66 are
mainly of interest; the following is the output of mii-diag -v on one of
the cards, working in 100baseTX:

mii-diag.c:v1.05 2/17/99  Donald Becker (becker@cesdis.gsfc.nasa.gov)
 MII PHY #3 transceiver registers:
   1000 782d 7810 0003 01e1 45e1 0001 0000
   0000 0000 0000 0000 0000 0000 0000 0000
   0000 0000 4000 0000 3ffb 0010 0000 0002
   0001 0000 0000 0000 0000 0000 0000 0000.
 Basic mode control register 0x1000: Auto-negotiation enabled.
 You have link beat, and everything is working OK.
   This transceiver is capable of  100baseTx-FD 100baseTx 10baseT-FD
10baseT.
   Able to perform Auto-negotiation, negotiation complete.
 Your link partner can do 45e1: Flow-control 100baseTx-FD 100baseTx
10baseT-FD 10baseT.
 MII PHY #3 transceiver registers:
   1000 782d 7810 0003 01e1 45e1 0001 0000
   0000 0000 0000 0000 0000 0000 0000 0000
   0000 0000 4000 0000 38c8 0010 0000 0002
   0001 0000 0000 0000 0000 0000 0000 0000.
 Basic mode control register 0x1000: Auto-negotiation enabled.
 Basic mode status register 0x782d ... 782d.
   Link status: established.
   Capable of  100baseTx-FD 100baseTx 10baseT-FD 10baseT.
   Able to perform Auto-negotiation, negotiation complete.
 Vendor ID is 1e:04:00:--:--:--, model 0 rev. 3.
   Vendor/Part: Level One (unknown type).
 I'm advertising 01e1: 100baseTx-FD 100baseTx 10baseT-FD 10baseT
   Advertising no additional info pages.
   IEEE 802.3 CSMA/CD protocol.
 Link partner capability is 45e1: Flow-control 100baseTx-FD 100baseTx
10baseT-FD 10baseT.
   Negotiation  completed.
 

Thanks in advance

--
Dani
			...and Linux for all.


 | To unsubscribe, send mail to Majordomo@cesdis.gsfc.nasa.gov, and within the
 |  body of the mail, include only the text:
 |   unsubscribe this-list-name youraddress@wherever.org
 | You will be unsubscribed as speedily as possible.