Subject: PCMCIA ethernet card problems
To: NetBSD port-i386 <port-i386@NetBSD.ORG>
From: Dante Profeta <dante@mclink.it>
List: port-i386
Date: 05/14/1998 17:57:45
I bought recently a Siemens Nixdorf Scenic Mobile 310CS and a PCMCIA Trust
Netlink Combi PC-Card (best seller here in Italy)... now I'm in trouble to get
this card to work.


0) I'm using NetBSD 1.3


1) This notebook use a PC-Card Controller Cirrus CL-GD6730 at I/O $3E0 and no
IRQ: the manual says "Does not require IRQ anymore"


2) I compiled the kernel with the following (relevant ...I think) options:
# PCMCIA bus support
pcmcia*	at pcic? controller ? socket ?

# ISA PCMCIA controllers
pcic0	at isa? port 0x3e0 iomem 0xd0000 iosiz 0x4000
pcic1	at isa? port 0x3e2 iomem 0xd4000 iosiz 0x4000

# PCMCIA serial interfaces
#com*	at pcmcia? function ?		# Modems and serial cards

# PCMCIA network interfaces
ep*	at pcmcia? function ?		# 3Com 3c589 and 3c562 Ethernet
ne*	at pcmcia? function ?		# NE2000-compatible Ethernet
sm*	at pcmcia? function ?		# Megahertz Ethernet


3) dmesg says:
NetBSD 1.3 (THORIN) #2: Thu May 14 16:48:28 CEST 1998
    root@theoden.localnet.it:/usr/local/src/sys/arch/i386/compile/THORIN
cpu0: family 5 model 4 step 3
cpu0: Intel Pentium/MMX (586-class)
real mem  = 24768512
avail mem = 22388736
using 327 buffers containing 1339392 bytes of memory
mainbus0 (root)
pci0 at mainbus0 bus 0: configuration mode 1
pchb0 at pci0 dev 0 function 0
pchb0: Intel 82437MX Mobile System Controller (MTSC) (rev. 0x02)
pcib0 at pci0 dev 1 function 0
pcib0: Intel 82371MX Mobile PCI I/O IDE Xcelerator (MPIIX) (rev. 0x03)
CMD Technology 646 (IDE mass storage, interface 0x80, revision 0x01) at pci0 dev
18 function 0 not configured
Cirrus Logic CL-GD6729 (PCMCIA bridge, revision 0xee) at pci0 dev 19 function 0
not configured
Chips and Technologies 65550 (VGA display, revision 0xc6) at pci0 dev 20
function 0 not configured
isa0 at pcib0
com0 at isa0 port 0x3f8-0x3ff irq 4: ns16550a, working fifo
com1 at isa0 port 0x2f8-0x2ff irq 3: ns16550a, working fifo
lpt0 at isa0 port 0x378-0x37b irq 7
wdc0 at isa0 port 0x1f0-0x1f7 irq 14
atapibus0 at wdc0
wd0 at wdc0 drive 0: <TOSHIBA MK1301MAV>
wd0: 1295MB, 2633 cyl, 16 head, 63 sec, 512 bytes/sec
wd0: using 16-sector 16-bit pio transfers, lba addressing
wdc1 at isa0 port 0x170-0x177 irq 15
atapibus1 at wdc1
cd0 at atapibus1 drive 0: <TOSHIBA CD-ROM XM-1502B, 0800940273, 2906> type 5
cdrom removable
sb0 at isa0 port 0x220-0x237 irq 5 drq 1: dsp v3.01
audio0 at sb0
npx0 at isa0 port 0xf0-0xff: using exception 16
pc0 at isa0 port 0x60-0x6f irq 1: color
pms0 at pc0 irq 12
spkr0 at pc0 port 0x61
pc0: console
fdc0 at isa0 port 0x3f0-0x3f7 irq 6 drq 2
fd0 at fdc0 drive 0: 1.44MB, 80 cyl, 2 head, 18 sec
biomask c040 netmask c040 ttymask d0c2
boot device: wd0
root on wd0a dumps on wd0b
root file system type: ffs

-------

It seems to me NetBSD cannot see any pcmcia device plugged.
Actually under Windows95 the card came to live just after the drivers have been
loaded (the leds on the media connector remains off until this point).
Under NetBSD The three leds (Tx/On - Col - Ln/Rx) remains off all the time.

Perhaps this could be a driver problem... but I suspect also this 'IRQless'
Cirrus chip isn't yet supported.

I hope to be wrong, and the problem is simpler then I think.

Thanks in advance for any help
--
  Dante_