PCMCIA Driver for SMC 10/100 CardBus

Richard Atterer atterer@informatik.tu-muenchen.de
Mon May 8 12:37:48 2000


On Mon, May 08, 2000 at 02:01:15AM +0000, Donald Becker wrote:
> On Sun, 7 May 2000, Richard Atterer wrote:
> > > The SMC CardBus adapter is known to work. They sent me one to test with.
> > 
> > When did they send it? I'm asking because they seem to have changed
> > the design of the card without also changing the name or model
> > number. (The PCMCIA ID *has* changed, though.) v0.91g most definitely
> > doesn't work with it, and IIRC neither does 0.91x.
> 
> Hmmm, probably a year or so ago.  I can't find the paperwork on it.
> 
> Load with debug=7 and send the output...

I bought mine around Christmas. It needs the following entry in config.opts:

    card "SMC EZ CardBus 10/100 PC Card"
      manfid 0x01bf, 0x2220
      bind "tulip"

I have managed to build the v0.92 driver - however, I had to make
cb_shim.o manually. The following was logged with debug=7 when I
inserted the card. (It was already connected to the 10Mbit network
here when I did so.)

Note the "Failed to map PCI address 0x0 for device 'Digital DS21143
Tulip'". What's the problem?

May  8 16:24:02 elessar cardmgr[278]: initializing socket 0
May  8 16:24:02 elessar cardmgr[278]: socket 0: SMC EZ CardBus 10/100 PC Card
May  8 16:24:02 elessar kernel: cs: cb_alloc(bus 32): vendor 0x1011, device 0x0019
May  8 16:24:02 elessar kernel: ROM image dump:
May  8 16:24:02 elessar kernel:   image 0: 0x000000-0x0001ff, signature PCIR
May  8 16:24:02 elessar cardmgr[278]: executing: 'insmod /lib/modules/2.2.13/pcmcia/cb_enabler.o'
May  8 16:24:03 elessar cardmgr[278]: executing: 'insmod /lib/modules/2.2.13/net/pci-scan.o'
May  8 16:24:03 elessar cardmgr[278]: executing: 'insmod /lib/modules/2.2.13/net/cb_shim.o'
May  8 16:24:03 elessar kernel: cb_shim.c:v1.00 4/15/2000  Donald Becker <becker@scyld.com>
May  8 16:24:03 elessar kernel:  http://www.scyld.com/linux/drivers.html
May  8 16:24:03 elessar cardmgr[278]: executing: 'insmod /lib/modules/2.2.13/net/tulip.o debug=7'
May  8 16:24:03 elessar kernel: tulip.c:v0.92 4/17/2000  Written by Donald Becker <becker@scyld.com>
May  8 16:24:03 elessar kernel:   http://www.scyld.com/network/tulip.html
May  8 16:24:03 elessar kernel: Failed to map PCI address 0x0 for device 'Digital DS21143 Tulip'.
May  8 16:24:03 elessar kernel: cs: cb_config(bus 32)
May  8 16:24:03 elessar kernel:   fn 0 bar 1: io 0x400-0x47f
May  8 16:24:03 elessar kernel:   fn 0 bar 2: mem 0xa00c0000-0xa00c03ff
May  8 16:24:03 elessar kernel:   fn 0 rom: mem 0xa0080000-0xa00bffff
May  8 16:24:03 elessar kernel: cs: cb_enable(bus 32)
May  8 16:24:03 elessar kernel:   bridge io map 0 (flags 0x21): 0x400-0x47f
May  8 16:24:03 elessar kernel:   bridge mem map 0 (flags 0x1): 0xa0080000-0xa00c0fff
May  8 16:24:03 elessar kernel: Found a Digital DS21143 Tulip at 32/0 address 0xa00c0000->0xc4c58000 IRQ 10.
May  8 16:24:03 elessar kernel: Digital DS21143 Tulip at 32/0 command 0x7.
May  8 16:24:03 elessar kernel: eth0: Digital DS21143 Tulip rev 65 at 0xc4c58000, 00:E0:29:55:E1:12, IRQ 10.
May  8 16:24:03 elessar kernel: eth0:  EEPROM default media type Autosense.
May  8 16:24:03 elessar kernel: eth0:  MII interface PHY 0, setup/reset sequences 2/2 long, capabilities 02 08.
May  8 16:24:03 elessar kernel: eth0:  Index #0 - Media MII (#11) described by a 21142 MII PHY (3) block.
May  8 16:24:03 elessar kernel: eth0: Using media type MII, CSR12 is c6.
May  8 16:24:03 elessar kernel: eth0:  MII transceiver #1 config 3000 status 7809 advertising 00a1.
May  8 16:24:03 elessar kernel: eth0:  Advertising 01e1 on PHY 1, previously advertising 00a1.
May  8 16:24:03 elessar kernel: eth0: Handling power event 1.
May  8 16:24:03 elessar cardmgr[278]: executing: './network start eth0'
May  8 16:24:04 elessar kernel: eth0: tulip_open() irq 10.
May  8 16:24:04 elessar kernel: eth0:  Advertising 01e1 on MII 1.
May  8 16:24:04 elessar kernel: eth0: Using media type MII, CSR12 is c6.
May  8 16:24:04 elessar kernel: eth0: Using MII transceiver 1, status 7809.
May  8 16:24:04 elessar kernel: eth0: MII link partner 0000, negotiated 0000.
May  8 16:24:04 elessar kernel: eth0: No link beat on the MII interface, status 7809.
May  8 16:24:04 elessar kernel: eth0: Done tulip_open(), CSR0 f8a08000, CSR5 f0120000 CSR6 b20e2002.
May  8 16:24:04 elessar kernel: eth0: interrupt  csr5=0xf0670004 new csr5=0xf0660000.
May  8 16:24:04 elessar kernel: eth0: exiting interrupt, csr5=0xf0660000.
May  8 16:24:04 elessar kernel: eth0: interrupt  csr5=0xf0670004 new csr5=0xf0660000.
May  8 16:24:04 elessar kernel: eth0: exiting interrupt, csr5=0xf0660000.
May  8 16:24:04 elessar kernel: eth0: interrupt  csr5=0xf0670004 new csr5=0xf0660000.
May  8 16:24:04 elessar kernel: eth0: exiting interrupt, csr5=0xf0660000.
May  8 16:24:07 elessar kernel: eth0: N-Way autonegotiation status 000000c6, MII.
May  8 16:24:07 elessar kernel: eth0: MII link partner 0000, negotiated 0000.
May  8 16:24:07 elessar kernel: eth0: No link beat on the MII interface, status 7809.
[ping machine on local net]
May  8 16:26:00 elessar kernel: eth0: interrupt  csr5=0xf0670004 new csr5=0xf0660000.
May  8 16:26:00 elessar kernel: eth0: Transmit error, Tx status 7fffbc00.
May  8 16:26:00 elessar kernel: eth0: exiting interrupt, csr5=0xf0660000.
May  8 16:26:01 elessar kernel: eth0: interrupt  csr5=0xf0670004 new csr5=0xf0660000.
May  8 16:26:01 elessar kernel: eth0: Transmit error, Tx status 7fffbc00.
May  8 16:26:01 elessar kernel: eth0: exiting interrupt, csr5=0xf0660000.
May  8 16:26:02 elessar kernel: eth0: interrupt  csr5=0xf0670004 new csr5=0xf0660000.
May  8 16:26:02 elessar kernel: eth0: Transmit error, Tx status 7fffbc00.
May  8 16:26:02 elessar kernel: eth0: exiting interrupt, csr5=0xf0660000.
May  8 16:26:07 elessar kernel: eth0: N-Way autonegotiation status 000000c6, MII.
May  8 16:26:07 elessar kernel: eth0: MII link partner 0000, negotiated 0000.
May  8 16:26:07 elessar kernel: eth0: No link beat on the MII interface, status 7809.
May  8 16:27:07 elessar kernel: eth0: N-Way autonegotiation status 000000c6, MII.
May  8 16:27:07 elessar kernel: eth0: MII link partner 0000, negotiated 0000.
May  8 16:27:07 elessar kernel: eth0: No link beat on the MII interface, status 7809.

Cheers,

  Richard

-- 
  __   _
  |_) /|  Richard Atterer (currently at Queen's University, Belfast, NI)
  | \/¯|  http://www.in.tum.de/~atterer/
  ¯ ´` ¯
-------------------------------------------------------------------
To unsubscribe send a message body containing "unsubscribe"
to linux-tulip-request@beowulf.org