[tulip] Conexant Lanfinity almost works

Phillip D. Beal pdbeal@louisville.edu
Mon, 26 Mar 2001 13:22:17 -0500


--5mCyUwZo2JvN/JJP
Content-Type: text/plain; charset=us-ascii
Content-Disposition: inline

Hello,

I've recently purchased a compaq notebook, and I'm working to get linux
running on it.  I've got the notebook working with everything except the
network card, which is turns out to be a weird Conexant Lanfinity card.
I've been reading through the mailing list archivs and I see someone has
posted a couple of mesages in December 2000, and I was looking for some
updates as to what is the status for this chip.

I have built and tried to use the new tulip.c and the tulip-diag.c
programs along with the pci-scan.c, etc...from ftp.scyld.com.  I compile
the pci-scan.c against my 2.4.0 kernel, and is worked fine.  However,
under the test tree there isn't any pci-scan.h, and therefor I couldn't
compile the tulip.c from there.  After I had insmod pci-scan.o, I could
load the tulip driver from the 2.4.0 kernel, I noticed that is was
written by other people, and actually find eth0.  However, using the
tulip.c from ftp.scyld.com, and not from the test directory, the module
wouldn't load.  When I used the tulip.o from the 2.4 kernel, it had the
wrong MAC address, it reported 00:4C:69:6E:75:79, where windows says it
is 00:50:8B:AA:38:6E.  I have attached the oputput from tulip-diag using
all the options, as well as what dmesg returns when the moduloes are
loaded into the kernel, along with what lspci outputs.  I'd really like
to get this working under linux without purchasing a PCMCIA card.

Thanks,

-- 
Phillip Beal                           ___           _               _   
Electrical and Computer Engineering   | _ ) ___ __ _| |___  _ _  ___| |_ 
pdbeal@louisville.edu                 | _ \/ -_) _` | |_ /_| ' \/ -_)  _|
http://www.bealz.net/                 |___/\___\__,_|_/__(_)_||_\___|\__|

--5mCyUwZo2JvN/JJP
Content-Type: text/plain; charset=us-ascii
Content-Disposition: attachment; filename=PCIINFO

Script started on Sat Mar 17 15:24:33 2001
tardis:~ # lspci -v
00:00.0 Host bridge: VIA Technologies, Inc. VT8601 [Apollo ProMedia] (rev 05)
	Flags: bus master, medium devsel, latency 0
	Memory at f8000000 (32-bit, prefetchable) [size=64M]
	Capabilities: [a0] AGP version 2.0

00:01.0 PCI bridge: VIA Technologies, Inc. VT8601 [Apollo ProMedia AGP] (prog-if 00 [Normal decode])
	Flags: bus master, 66Mhz, medium devsel, latency 0
	Bus: primary=00, secondary=01, subordinate=01, sec-latency=0
	Memory behind bridge: f4100000-f57fffff

00:07.0 ISA bridge: VIA Technologies, Inc. VT82C686 [Apollo Super South] (rev 22)
	Subsystem: VIA Technologies, Inc. VT82C686/A PCI to ISA Bridge
	Flags: bus master, stepping, medium devsel, latency 0

00:07.1 IDE interface: VIA Technologies, Inc. Bus Master IDE (rev 10) (prog-if 8a [Master SecP PriP])
	Flags: bus master, medium devsel, latency 64
	I/O ports at 1820 [size=16]
	Capabilities: [c0] Power Management version 2

00:07.2 USB Controller: VIA Technologies, Inc. UHCI USB (rev 10) (prog-if 00 [UHCI])
	Subsystem: Unknown device 0925:1234
	Flags: bus master, medium devsel, latency 64, IRQ 3
	I/O ports at 1800 [size=32]
	Capabilities: [80] Power Management version 2

00:07.4 ISA bridge: VIA Technologies, Inc. VT82C686 [Apollo Super ACPI] (rev 30)
	Flags: medium devsel
	Capabilities: [68] Power Management version 2

00:07.5 Multimedia audio controller: VIA Technologies, Inc. AC97 Audio Controller (rev 20)
	Subsystem: Compaq Computer Corporation: Unknown device b194
	Flags: medium devsel, IRQ 9
	I/O ports at 1000 [size=256]
	I/O ports at 1834 [size=4]
	I/O ports at 1830 [size=4]
	Capabilities: [c0] Power Management version 2

00:09.0 Ethernet controller: CONEXANT: Unknown device 1803 (rev 08)
	Subsystem: Compaq Computer Corporation: Unknown device 0023
	Flags: medium devsel, IRQ 11
	BIST result: 00
	I/O ports at 1400 [size=256]
	Memory at f4000000 (32-bit, non-prefetchable) [size=16K]
	Capabilities: [58] Power Management version 2

00:09.1 Communication controller: CONEXANT: Unknown device 1815 (rev 05)
	Subsystem: Compaq Computer Corporation: Unknown device 0022
	Flags: medium devsel, IRQ 11
	BIST result: 00
	I/O ports at 1838 [size=8]
	Memory at f4004000 (32-bit, non-prefetchable) [size=16K]
	Capabilities: [40] Power Management version 2

00:0a.0 CardBus bridge: Texas Instruments PCI1410 PC card Cardbus Controller (rev 01)
	Subsystem: Compaq Computer Corporation: Unknown device b103
	Flags: bus master, medium devsel, latency 32, IRQ 11
	Memory at 10000000 (32-bit, non-prefetchable) [size=4K]
	Bus: primary=00, secondary=02, subordinate=05, sec-latency=176
	I/O window 0: 00000000-00000003
	I/O window 1: 00000000-00000003
	16-bit legacy interface ports at 0001

01:00.0 VGA compatible controller: Trident Microsystems CyberBlade i1 (rev 6a) (prog-if 00 [VGA])
	Subsystem: Compaq Computer Corporation CyberBlade i1 AGP
	Flags: fast Back2Back, 66Mhz, medium devsel, IRQ 9
	Memory at f5000000 (32-bit, non-prefetchable) [size=8M]
	Memory at f4100000 (32-bit, non-prefetchable) [size=128K]
	Memory at f4800000 (32-bit, non-prefetchable) [size=8M]
	Expansion ROM at <unassigned> [disabled] [size=64K]
	Capabilities: [80] AGP version 1.0
	Capabilities: [90] Power Management version 1

tardis:~ # 
Script done on Sat Mar 17 15:24:43 2001

--5mCyUwZo2JvN/JJP
Content-Type: text/plain; charset=us-ascii
Content-Disposition: attachment; filename=Conexant-diag

Script started on Sat Mar 24 13:30:03 2001
tardis:~ # ./tulip-diag
tulip-diag.c:v2.06 1/8/2001 Donald Becker (becker@scyld.com)
 http://www.scyld.com/diag/index.html
Index #1: Found a Conexant LANfinity adapter at 0x1400.
 Port selection is 10mpbs-serial, half-duplex.
 Transmit stopped, Receive stopped, half-duplex.
  The Rx process state is 'Stopped'.
  The Tx process state is 'Stopped'.
  The transmit threshold is 72.
 Use '-a' or '-aa' to show device registers,
     '-e' to show EEPROM contents, -ee for parsed contents,
  or '-m' or '-mm' to show MII management registers.

tardis:~ # ./tulip-diag -a
tulip-diag.c:v2.06 1/8/2001 Donald Becker (becker@scyld.com)
 http://www.scyld.com/diag/index.html
Index #1: Found a Conexant LANfinity adapter at 0x1400.
Conexant LANfinity chip registers at 0x1400:
 0x00: fff84000 ffffffff ffffffff 00000000 00000000 f4000000 e00a0040 7bfe0000
 0x40: fffe0000 fff080e8 fffe0000 fffe0000 ffffffff ffffffff ffffffff f7f9fec8
 Extended registers:
 80: cc008800 cbfe0000 f0000018 00000000 ffffffff 00000000 00000000 00000000
 a0: ffffffff 00000000 00000000 00000000 00000000 00000000 00000000 00000000
 c0: 00000000 00000000 00000000 00000000 00000000 00000000 00000000 00000000
 e0: 00000000 00000000 00000000 00000000 ffffffff 00000000 00000000 00000000
 Port selection is 10mpbs-serial, half-duplex.
 Transmit stopped, Receive stopped, half-duplex.
  The Rx process state is 'Stopped'.
  The Tx process state is 'Stopped'.
  The transmit threshold is 72.
 Interrupt sources are pending!  CSR5 is f4008800.
   Timer expired indication.

tardis:~ # ./tulip-diag -e
tulip-diag.c:v2.06 1/8/2001 Donald Becker (becker@scyld.com)
 http://www.scyld.com/diag/index.html
Index #1: Found a Conexant LANfinity adapter at 0x1400.
 Port selection is 10mpbs-serial, half-duplex.
 Transmit stopped, Receive stopped, half-duplex.
  The Rx process state is 'Stopped'.
  The Tx process state is 'Stopped'.
  The transmit threshold is 72.
 Interrupt sources are pending!  CSR5 is f4008800.
   Timer expired indication.
EEPROM 256 words, 8 address bits.
Conexant EEPROM format is undocumented.

tardis:~ # ./tulip-diag -m
tulip-diag.c:v2.06 1/8/2001 Donald Becker (becker@scyld.com)
 http://www.scyld.com/diag/index.html
Index #1: Found a Conexant LANfinity adapter at 0x1400.
 Port selection is 10mpbs-serial, half-duplex.
 Transmit stopped, Receive stopped, half-duplex.
  The Rx process state is 'Stopped'.
  The Tx process state is 'Stopped'.
  The transmit threshold is 72.
 Interrupt sources are pending!  CSR5 is f4008800.
   Timer expired indication.
 MII PHY found at address 1, status 0x782d.
 MII PHY found at address 0, status 0x782d.
 MII PHY #1 transceiver registers:
   1000 782d 0022 1720 01e1 0020 0004 2001
   1000 782d 0022 1720 01e1 0020 0004 2001
   1000 782d 0022 1720 01e1 0000 0004 2001
   0000 0000 0000 0001 01e1 2001 0000 9c04.
 MII PHY #0 transceiver registers:
   1000 782d 0022 1720 01e1 0020 0004 2001
   1000 782d 0022 1720 01e1 0020 0004 2001
   1000 782d 0022 1720 01e1 0000 0004 2001
   0000 0000 0000 0000 01e1 2001 0000 9c04.
tardis:~ # exit

Script done on Sat Mar 24 13:30:31 2001

--5mCyUwZo2JvN/JJP
Content-Type: text/plain; charset=us-ascii
Content-Disposition: attachment; filename=Conexant-dmesg

tulip.c:v0.92t 1/15/2001  Written by Donald Becker <becker@scyld.com>
  http://www.scyld.com/network/tulip.html
eth0: Conexant LANfinity rev 8 at 0xc795f000, EEPROM not present, 00:4C:69:6E:75:79, IRQ 11.
eth0:  MII transceiver #1 config 1000 status 782d advertising 01e1.
eth0:  MII transceiver #0 config 1000 status 782d advertising 01e1.

--5mCyUwZo2JvN/JJP--