[tulip] Osicom 123400-21 40port card

Jason Marshall marshalj@spots.ab.ca
Wed Jul 31 12:31:01 2002


> The problem is that the driver uses the missing EEPROM on ports 1-3 to
> trigger a work-around for a common BIOS bug: the BIOS does not correctly
> record which devices are using which IRQs.

I just installed the 0.95 driver and compiled the module with
-DREVERSE_PROBE_ORDER, and while the card now lists its interfaces in the
right order, it seems that no interfaces but eth0 actually works.

Here's another tulip-diag -e for you:

omnivore2:/home/marshalj/tulip# ./tulip-diag -e
tulip-diag.c:v2.11 6/17/2002 Donald Becker (becker@scyld.com)
 http://www.scyld.com/diag/index.html
Index #1: Found a Digital DS21140 Tulip adapter at 0xd800.
 Port selection is 10mpbs-serial, half-duplex.
 Transmit started, Receive started, half-duplex.
  The Rx process state is 'Waiting for packets'.
  The Tx process state is 'Idle'.
  The transmit threshold is 72.
EEPROM 64 words, 6 address bits.
PCI Subsystem IDs, vendor 0000, device 0000.
CardBus Information Structure at offset 00000000.
Ethernet MAC Station Address 00:00:BC:11:31:A8.
EEPROM transceiver/media description table.
Leaf node at offset 30, default media type 0800 (Autosense).
 CSR12 direction setting bits 0x0f.
 4 transceiver description blocks:
  21140 Non-MII transceiver for media 0 (10baseT).
   CSR12 control port setting 0x01, command 00 0x8e.
   Media detection by looking for a 0 on bit 7 of the CSR12 control port.
  21140 Non-MII transceiver for media 3 (100baseTx).
   CSR12 control port setting 0x01, command 00 0x6d.
   Media detection by looking for a 1 on bit 6 of the CSR12 control port.
  21140 Non-MII transceiver for media 4 (10baseT-Full Duplex).
   CSR12 control port setting 0x09, command 00 0x8e.
   Media detection by looking for a 0 on bit 7 of the CSR12 control port.
  21140 Non-MII transceiver for media 5 (100baseTx Full Duplex).
   CSR12 control port setting 0x01, command 00 0x6d.
   Media detection by looking for a 1 on bit 6 of the CSR12 control port.
Index #2: Found a Digital DS21140 Tulip adapter at 0xd400.
 Port selection is 10mpbs-serial, half-duplex.
 Transmit started, Receive started, half-duplex.
  The Rx process state is 'Waiting for packets'.
  The Tx process state is 'Idle'.
  The transmit threshold is 72.
EEPROM 64 words, 6 address bits.
PCI Subsystem IDs, vendor 0000, device 0000.
CardBus Information Structure at offset 00000000.
Ethernet MAC Station Address 00:00:BC:11:31:A9.
EEPROM transceiver/media description table.
Leaf node at offset 30, default media type 0800 (Autosense).
 CSR12 direction setting bits 0x0f.
 4 transceiver description blocks:
  21140 Non-MII transceiver for media 0 (10baseT).
   CSR12 control port setting 0x01, command 00 0x8e.
   Media detection by looking for a 0 on bit 7 of the CSR12 control port.
  21140 Non-MII transceiver for media 3 (100baseTx).
   CSR12 control port setting 0x01, command 00 0x6d.
   Media detection by looking for a 1 on bit 6 of the CSR12 control port.
  21140 Non-MII transceiver for media 4 (10baseT-Full Duplex).
   CSR12 control port setting 0x09, command 00 0x8e.
   Media detection by looking for a 0 on bit 7 of the CSR12 control port.
  21140 Non-MII transceiver for media 5 (100baseTx Full Duplex).
   CSR12 control port setting 0x01, command 00 0x6d.
   Media detection by looking for a 1 on bit 6 of the CSR12 control port.
Index #3: Found a Digital DS21140 Tulip adapter at 0xd000.
 Port selection is 10mpbs-serial, half-duplex.
 Transmit started, Receive started, half-duplex.
  The Rx process state is 'Waiting for packets'.
  The Tx process state is 'Idle'.
  The transmit threshold is 72.
EEPROM 64 words, 6 address bits.
PCI Subsystem IDs, vendor 0000, device 0000.
CardBus Information Structure at offset 00000000.
Ethernet MAC Station Address 00:00:BC:11:31:AA.
EEPROM transceiver/media description table.
Leaf node at offset 30, default media type 0800 (Autosense).
 CSR12 direction setting bits 0x0f.
 4 transceiver description blocks:
  21140 Non-MII transceiver for media 0 (10baseT).
   CSR12 control port setting 0x01, command 00 0x8e.
   Media detection by looking for a 0 on bit 7 of the CSR12 control port.
  21140 Non-MII transceiver for media 3 (100baseTx).
   CSR12 control port setting 0x01, command 00 0x6d.
   Media detection by looking for a 1 on bit 6 of the CSR12 control port.
  21140 Non-MII transceiver for media 4 (10baseT-Full Duplex).
   CSR12 control port setting 0x09, command 00 0x8e.
   Media detection by looking for a 0 on bit 7 of the CSR12 control port.
  21140 Non-MII transceiver for media 5 (100baseTx Full Duplex).
   CSR12 control port setting 0x01, command 00 0x6d.
   Media detection by looking for a 1 on bit 6 of the CSR12 control port.
Index #4: Found a Digital DS21140 Tulip adapter at 0xb800.
 Port selection is 10mpbs-serial, half-duplex.
 Transmit started, Receive started, half-duplex.
  The Rx process state is 'Waiting for packets'.
  The Tx process state is 'Idle'.
  The transmit threshold is 72.
EEPROM 64 words, 6 address bits.
PCI Subsystem IDs, vendor 0000, device 0000.
CardBus Information Structure at offset 00000000.
Ethernet MAC Station Address 00:00:BC:11:31:AB.
EEPROM transceiver/media description table.
Leaf node at offset 30, default media type 0800 (Autosense).
 CSR12 direction setting bits 0x0f.
 4 transceiver description blocks:
  21140 Non-MII transceiver for media 0 (10baseT).
   CSR12 control port setting 0x01, command 00 0x8e.
   Media detection by looking for a 0 on bit 7 of the CSR12 control port.
  21140 Non-MII transceiver for media 3 (100baseTx).
   CSR12 control port setting 0x01, command 00 0x6d.
   Media detection by looking for a 1 on bit 6 of the CSR12 control port.
  21140 Non-MII transceiver for media 4 (10baseT-Full Duplex).
   CSR12 control port setting 0x09, command 00 0x8e.
   Media detection by looking for a 0 on bit 7 of the CSR12 control port.
  21140 Non-MII transceiver for media 5 (100baseTx Full Duplex).
   CSR12 control port setting 0x01, command 00 0x6d.
   Media detection by looking for a 1 on bit 6 of the CSR12 control port.

When the other ports are plugged in, the link light does go on...

> Have you tested all four ports?  If they all work, you don't have the
> bug.

I have the bug!  Or _a_ bug, anyway! 

=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-
| Jason Marshall, marshalj@spots.ab.ca. Spots InterConnect, Inc. Calgary, AB |
=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-