Subject: Re: SPARCbook and wscons
To: Michael <macallan18@earthlink.net>
From: Mike Parson <mparson@bl.org>
List: port-sparc
Date: 04/03/2005 16:35:31
On Sat, Apr 02, 2005 at 07:03:39PM -0500, Michael wrote:
> Hello,
> 
> here's a newer test kernel:
> http://macallan.homeunix.org:6704/stuff/BSD/sparc/SPARCbook3GX_04_02.bz2

Hey, that's some verbose output... =)

> It contains...
> - experimental PCMCIA support. PLEASE test it, the only PCMCIA card I
>   can find right now is an unsupported PRISM3 wlan card.

I've got 2 PCMCIA cards, a 3COM 3C589D and a PQI PCMCIA->CF adapter.

> - nonfunctional DBRI - please tell me if it attaches or does anything
>   nasty. It doesn't work yet but the driver should attach, power up the
>   DBRI if necessary, dump some debug stuff and attach an audio/mixer
>   device. Playback doesn't work yet, for some reason DMA stops after
>   64KB.

Down below is the dmesg after inserting and removing each of the cards,
both top and bottom slots for the 3Com, just the bottom slot for the
flash reader.  The flash reader looks like it might have worked had the
/dev/wd* entries been there.

Anything else you'd like me to do and/or collect for posting?

-- 
Michael Parson
mparson@bl.org

7 0707 0707 0307 0707 0307 0707 0707
0020: 0707 0707 0707 0707 0707 0707 0707 0707
0030: 0707 0707 0707 0707 0707 0707 0707 0707
0040: 0707 0707 0707 0307 0707 0707 0707 0707
0050: 0707 0707 0707 0307 0707 0307 0707 0707
0060: 0707 0707 0707 0707 0707 0707 0707 0307
0070: 0707 0707 0707 0707 0707 0707 0707 0707
[io free]ep0 detached
tslot0: interrupt on socket 0 ir 888 sts 0
tslot0: slot 0 status changed from 0 to 0
tslot0: interrupt on socket 0 ir 888 sts 1701
tslot0: slot 0 status changed from 0 to 0
tslot0: enable slot 0
pcmcia0: ++enabled_count = 1
[mem alloc 400][mem map 1 0/400->fe134000/400]cis mem map fe134000
pcmcia0: CIS tuple chain:
 01 02 00 ff
CISTPL_DEVICE type=null speed=null
 17 03 43 02 ff
CISTPL_DEVICE_A type=eeprom speed=150ns
 20 04 01 01 89 05
CISTPL_MANFID
 21 02 06 00
CISTPL_FUNCID
 15 3a 04 01 33 43 6f 6d 20 43 6f 72 70 6f 72 61
 74 69 6f 6e 00 33 43 35 38 39 44 00 54 50 2f 42
 4e 43 20 4c 41 4e 20 43 61 72 64 20 56 65 72 2e
 20 32 61 00 30 30 30 30 30 32 00 ff
CISTPL_VERS_1
 1a 06 02 03 00 00 01 03
CISTPL_CONFIG
 1b 0f c1 01 1d 71 55 35 55 54 e0 72 5d 64 30 ff
 ff
CISTPL_CFTABLE_ENTRY
 1b 07 03 01 71 55 26 26 54
CISTPL_CFTABLE_ENTRY
 19 03 00 00 ff
unhandled CISTPL 19
 14 00
CISTPL_NO_LINK
 10 05 88 ff 81 00 00
CISTPL_CHECKSUM addr=0 len=81 cksum=0 ok
 ff
CISTPL_END
[mem unmap 0][mem free]pcmcia0: CIS version PCMCIA 2.0 or 2.1
pcmcia0: CIS info: 3Com Corporation, 3C589D, TP/BNC LAN Card Ver. 2a, 000002
pcmcia0: Manufacturer code 0x101, product 0x589
pcmcia0: function 0: network adapter, ccr addr 10000 mask 3
pcmcia0: function 0, config table entry 1: I/O card; irq mask ffff; iomask 4, iospace 0-f; io8 io16 irqlevel
pcmcia0: function 0, config table entry 3: I/O card; irq mask ffff; iomask 4, iospace 0-f; io8 io16 irqlevel
ep0 at pcmcia0 function 0: <3Com Corporation, 3C589D, TP/BNC LAN Card Ver. 2a, 000002>
[io alloc 10][io map 0/10->fe234000/10]0000: ffff ffff ffff 7fff ffff ffff ffff ffff
window iobase 0 iomax f
function iobase 0 iomax f
pcmcia0: ++enabled_count = 2
[mem alloc 14][mem map 1 10000/14->fe144000/14]pcmcia0: function 0 CCR at 0 offset 0: 41 0 0 0, 0 0 0 0, 0
tslot_slot_settype(1)
ep0: wrote 0x7ff to TX_AVAIL_THRESH, read back 0x0. Interface disabled
ep0: couldn't configure controller
[mem unmap 0][mem free]pcmcia0: --enabled_count = 1
tslot0: disable slot 0
pcmcia0: --enabled_count = 0
tslot0: interrupt on socket 0 ir 8a8 sts 1701
tslot0: slot 0 status changed from 1 to 1
tslot0: interrupt on socket 0 ir 888 sts 0
tslot0: slot 0 status changed from 1 to 1
pcmcia0: detaching ep0 (function 0)
[io unmap]0000: 0000 0000 0000 0000 0000 0000 0000 0000
0010: 0000 0000 0000 0000 0000 0000 0000 0000
0020: 0000 0000 0000 0000 0000 0000 0000 0000
0030: 0000 0000 0000 0000 0000 0000 0000 0000
0040: 0000 0000 0000 0000 0000 0000 0000 0000
0050: 0000 0000 0000 0000 0000 0000 0000 0000
0060: 0000 0000 0000 0000 0000 0000 0000 0000
0070: 0000 0000 0000 0000 0000 0000 0000 0000
[io free]ep0 detached
tslot0: interrupt on socket 0 ir 8b8 sts 1601
tslot0: slot 0 status changed from 0 to 0
tslot0: interrupt on socket 0 ir 888 sts 1601
tslot0: slot 0 status changed from 0 to 0
tslot0: enable slot 0
pcmcia0: ++enabled_count = 1
[mem alloc 400][mem map 1 0/400->fe134000/400]cis mem map fe134000
pcmcia0: CIS tuple chain:
 01 04 df 4a 01 ff
CISTPL_DEVICE type=funcspec speed=ext
 1c 04 02 d9 01 ff
unhandled CISTPL 1c
 18 02 df 01
unhandled CISTPL 18
 20 04 0a 00 00 00
CISTPL_MANFID
 15 0e 04 01 35 49 4e 31 00 78 78 4d 42 00 00 ff
CISTPL_VERS_1
 21 02 04 01
CISTPL_FUNCID
 22 02 01 01
 22 03 02 0c 0f
 1a 05 01 03 00 02 0f
CISTPL_CONFIG
 1b 08 c0 c0 a1 01 55 08 00 20
CISTPL_CFTABLE_ENTRY
 1b 06 00 01 21 b5 1e 4d
CISTPL_CFTABLE_ENTRY
 1b 0a c1 41 99 01 55 64 f0 ff ff 20
CISTPL_CFTABLE_ENTRY
 1b 06 01 01 21 b5 1e 4d
CISTPL_CFTABLE_ENTRY
 1b 0f c2 41 99 01 55 ea 61 f0 01 07 f6 03 01 ee
 20
CISTPL_CFTABLE_ENTRY
 1b 06 02 01 21 b5 1e 4d
CISTPL_CFTABLE_ENTRY
 1b 0f c3 41 99 01 55 ea 61 70 01 07 76 03 01 ee
 20
CISTPL_CFTABLE_ENTRY
 1b 06 03 01 21 b5 1e 4d
CISTPL_CFTABLE_ENTRY
 14 00
CISTPL_NO_LINK
 ff
CISTPL_END
[mem unmap 0][mem free]pcmcia0: CIS version PCMCIA 2.0 or 2.1
pcmcia0: CIS info: 5IN1, xxMB, 
pcmcia0: Manufacturer code 0xa, product 0x0
pcmcia0: function 0: fixed disk(ata), ccr addr 200 mask f
pcmcia0: function 0, config table entry 0: memory card; irq mask 0; memspace 0-7ff; mwait_required rdybsy_active powerdown
pcmcia0: function 0, config table entry 1: I/O card; irq mask ffff; iomask 4, iospace 0-f; memspace 0-7ff; rdybsy_active io8 io16 irqshare irqpulse irqlevel powerdown
pcmcia0: function 0, config table entry 2: I/O card; irq mask 4000; iomask a, iospace 1f0-1f7 3f6-3f7; memspace 0-7ff; rdybsy_active io8 io16 irqshare irqpulse irqlevel powerdown
pcmcia0: function 0, config table entry 3: I/O card; irq mask 4000; iomask a, iospace 170-177 376-377; memspace 0-7ff; rdybsy_active io8 io16 irqshare irqpulse irqlevel powerdown
wdc0 at pcmcia0 function 0: <5IN1, xxMB, >
pcmcia_config_alloc: io 0 start=0 length=10 align=10 skew=0
[io alloc 10][io map 0/10->fe234000/10]0000: 0000 0000 0000 0000 0000 0000 0000 0000
window iobase 0 iomax f
function iobase 0 iomax f
wdc0: i/o mapped mode
pcmcia0: ++enabled_count = 2
[mem alloc 14][mem map 1 200/14->fe134200/14]pcmcia0: function 0 CCR at 0 offset 0: 41 80 2e 0, 0 0 0 0, 0
tslot_slot_settype(1)
atabus0 at wdc0 channel 0
pcmcia0: --enabled_count = 1
wd0 at atabus0 drive 0tslot0: interrupt on socket 0 ir 931 sts 8f23
: <i51nA adtpre>
wd0: drive supports 1-sector PIO transfers, chs addressing
wd0: 49152 MB, 50435 cyl, 4096 head, 8192 sec, 512 bytes/sect x 100663296 sectors
tslot0: interrupt on socket 0 ir 931 sts 8f23
tslot0: interrupt on socket 0 ir 931 sts 8f23
wd0: 32-bit data port
[mem unmap 0][mem free]tslot0: disable slot 0
pcmcia0: --enabled_count = 0
tslot0: interrupt on socket 0 ir 8a8 sts 1701
tslot0: slot 0 status changed from 1 to 1
tslot0: interrupt on socket 0 ir 8a8 sts 1701
tslot0: slot 0 status changed from 1 to 1
tslot0: interrupt on socket 0 ir 8a8 sts 1701
tslot0: slot 0 status changed from 1 to 1
tslot0: interrupt on socket 0 ir 8a8 sts 1701
tslot0: slot 0 status changed from 1 to 1
tslot0: interrupt on socket 0 ir 8a8 sts 1701
tslot0: slot 0 status changed from 1 to 1
tslot0: interrupt on socket 0 ir 8a8 sts 1701
tslot0: slot 0 status changed from 1 to 1
tslot0: interrupt on socket 0 ir 8a8 sts 0
tslot0: slot 0 status changed from 1 to 1
tslot0: interrupt on socket 0 ir 8a8 sts 1
tslot0: slot 0 status changed from 1 to 1
tslot0: interrupt on socket 0 ir 8a8 sts 1
tslot0: slot 0 status changed from 1 to 1
tslot0: interrupt on socket 0 ir 8a8 sts 0
tslot0: slot 0 status changed from 1 to 1
tslot0: interrupt on socket 0 ir 8a8 sts 0
tslot0: slot 0 status changed from 1 to 1
tslot0: interrupt on socket 0 ir 8a8 sts 1
tslot0: slot 0 status changed from 1 to 1
tslot0: interrupt on socket 0 ir 8a8 sts 0
tslot0: slot 0 status changed from 1 to 1
tslot0: interrupt on socket 0 ir 8a8 sts 0
tslot0: slot 0 status changed from 1 to 1
tslot0: interrupt on socket 0 ir 8a8 sts 1601
tslot0: slot 0 status changed from 1 to 1
tslot0: interrupt on socket 0 ir 8a8 sts 1601
tslot0: slot 0 status changed from 1 to 1
tslot0: interrupt on socket 0 ir 8a8 sts 1601
tslot0: slot 0 status changed from 1 to 1
tslot0: interrupt on socket 0 ir 8a8 sts 1601
tslot0: slot 0 status changed from 1 to 1
tslot0: interrupt on socket 0 ir 8a8 sts 1601
tslot0: slot 0 status changed from 1 to 1
tslot0: interrupt on socket 0 ir 8a8 sts 1601
tslot0: slot 0 status changed from 1 to 1
tslot0: interrupt on socket 0 ir 8a8 sts 1601
tslot0: slot 0 status changed from 1 to 1
tslot0: interrupt on socket 0 ir 8a8 sts 1601
tslot0: slot 0 status changed from 1 to 1
tslot0: interrupt on socket 0 ir 8a8 sts 1601
tslot0: slot 0 status changed from 1 to 1
tslot0: interrupt on socket 0 ir 8a8 sts 1601
tslot0: slot 0 status changed from 1 to 1
tslot0: interrupt on socket 0 ir 8a8 sts 1601
tslot0: slot 0 status changed from 1 to 1
tslot0: interrupt on socket 0 ir 8a8 sts 1601
tslot0: slot 0 status changed from 1 to 1
tslot0: interrupt on socket 0 ir 8a8 sts 1601
tslot0: slot 0 status changed from 1 to 1