Subject: PCMCIA working on Multia
To: None <port-alpha@NetBSD.ORG>
From: Jason Thorpe <thorpej@nas.nasa.gov>
List: port-alpha
Date: 06/06/1998 17:23:00
Hi folks...

Thanks to some work by Matt Thomas (the interrupt allocation foo), I seem
to have PCMCIA working, at least partially, on my Multia.  Note the "ep0"
in the dmesg attached.  I haven't actually tried to use the card yet
(because my Multia just came out of the box after getting repaired, and
I haven't really set up much of a system yet :-), but this is somewhat
promising...

Copyright (c) 1996, 1997, 1998
    The NetBSD Foundation, Inc.  All rights reserved.
Copyright (c) 1982, 1986, 1989, 1991, 1993
    The Regents of the University of California.  All rights reserved.

NetBSD 1.3E (CANE) #2: Sat Jun  6 13:56:34 PDT 1998
    thorpej@bishop:/tmp_mnt/dracul/u5/netbsd/src/sys/arch/alpha/compile/CANE
DEC AXPpci166 MT, 166MHz
8192 byte page size, 1 processor.
real mem = 25165824 (2367488 reserved for PROM, 22798336 used by NetBSD)
avail mem = 17743872
using 278 buffers containing 2277376 bytes of memory
mainbus0 (root)
cpu0 at mainbus0: ID 0 (primary), 21066 (pass 2)
lca0 at mainbus0
pci0 at lca0 bus 0
pci0: i/o enabled, memory enabled
ncr0 at pci0 dev 6 function 0: ncr 53c810 fast10 scsi
ncr0: interrupting at isa irq 11
ncr0: minsync=25, maxsync=206, maxoffs=8, 16 dwords burst, normal dma fifo
ncr0: single-ended, open drain IRQ driver
ncr0: restart (scsi reset).
scsibus0 at ncr0: 8 targets
sd0 at scsibus0 targ 0 lun 0: <TOSHIBA, MK1824FBV, 805B> SCSI2 0/direct fixed
sd0(ncr0:0:0): 10.0 MB/s (100 ns, offset 8)
sd0: 335MB, 4195 cyl, 4 head, 41 sec, 512 bytes/sect x 687980 sectors
sio0 at pci0 dev 7 function 0: Intel 82378ZB System I/O (SIO) (rev. 0x03)
de0 at pci0 dev 8 function 0
de0: interrupting at isa irq 10
de0: DEC 21040 [10Mb/s] pass 2.3
de0: address 08:00:2b:e2:c5:ac
de0: enabling 10baseT port
tga0 at pci0 dev 11 function 0: DC21030 step B, board type T8-02
tga0: 1024 x 768, 8bpp, Bt485 RAMDAC
tga0: interrupting at isa irq 15
wsdisplay0 at tga0: console (std, sun emulation)
isa0 at sio0
com0 at isa0 port 0x3f8-0x3ff irq 4: ns16550a, working fifo
alpha_shared_intr_establish: isa irq 4: warning: using edge-triggered on level-triggered
com1 at isa0 port 0x2f8-0x2ff irq 3: ns16550a, working fifo
alpha_shared_intr_establish: isa irq 3: warning: using edge-triggered on level-triggered
lpt0 at isa0 port 0x3bc-0x3bf irq 7
pckbc0 at isa0 port 0x60-0x64
pckbd0 at pckbc0 (kbd slot)
wskbd0 at pckbd0: console keyboard
psm0 at pckbc0 (aux slot)
wsmouse0 at psm0
pcppi0 at isa0 port 0x61
spkr0 at pcppi0
mcclock0 at isa0 port 0x70-0x71: mc146818 or compatible
pcic0 at isa0 port 0x3e0-0x3e1 iomem 0xd0000-0xd3fff: using irq 5
pcic0: controller 0 (Intel 82365SL Revision 1) has sockets A and B
pcmcia0 at pcic0 controller 0 socket 0
pcmcia1 at pcic0 controller 0 socket 1
ep0 at pcmcia1 function 0 port 0x330-0x33f: 3Com 3C589 Ethernet
ep0: MAC address 00:60:97:49:63:51
ep0: 8KB byte-wide FIFO, 5:3 Rx:Tx split, utp/aui/bnc (default utp)
wscons: wskbd0 glued to wsdisplay0 (console)
nfs_boot: trying DHCP/BOOTP
nfs_boot: DHCP server: 0x81633215
nfs_boot: my_domain=nas.nasa.gov
nfs_boot: my_addr=0x81633241
nfs_boot: my_mask=0xffffff00
nfs_boot: gateway=0x816332fe
root on dracul:/u4/diskless/cane
root file system type: nfs
uvm_swap: allocated 138 swap buffer headers

Anyhow, gonna put the card back in my laptop for now, but I thought you
guys might want to know :-)  I'm going to commit my kernel config file
shortly, so you can see an example of PCMCIA configuration for the Multia,
and hopefully play around with it!

Enjoy!

Jason R. Thorpe                                       thorpej@nas.nasa.gov
NASA Ames Research Center                            Home: +1 408 866 1912
NAS: M/S 258-5                                       Work: +1 650 604 0935
Moffett Field, CA 94035                             Pager: +1 650 428 6939