Subject: Re: Yamaha sound card
To: Jason Thorpe <thorpej@nas.nasa.gov>
From: Michael C. Richardson <mcr@sandelman.ottawa.on.ca>
List: port-i386
Date: 11/06/1997 18:50:49
-----BEGIN PGP SIGNED MESSAGE-----


  My appologies about if_ne_pci.c. I just knew it was one of
the"J"-guys :-)

>>>>> "Jason" == Jason Thorpe <thorpej@nas.nasa.gov> writes:
    Jason> The PnP code does all of the bus_space management for you when you
    Jason> perform an isapnp_config().
 
  Okay, someone else alluded to this. I will look again.

  I have the SB configured to recognize my card, but I understand that
this won't let me do full duplex. Right now, my priorities are
xcdplayer and xmix ;-)
  Later I want to get the audio parts of mbone conferencing working.
  The mixer seems to work, but the CDplayer does not work with an
ATAPI cd:

wd0 at wdc0 drive 0: <FUJITSU MPA3017AT>
wd0: 1668MB, 3390 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: <CD820E.1v1070000, , 3.00> type 5 cdrom removable
npx0 at isa0 port 0xf0-0xff: using exception 16
vt0 at isa0 port 0x60-0x6f irq 1
vt0: et4000, 80/132 col, color, 8 scr, mf2-kbd, [R3.32]
vt0: console
fdc0 at isa0 port 0x3f0-0x3f7 irq 6 drq 2
fd0 at fdc0 drive 0: 1.44MB, 80 cyl, 2 head, 18 sec
isapnp0 at isa0 port 0x279: read port 0x203
sb1 at isapnp0 port 0x220/16,0x530/8,0x388/8,0x330/2,0x370/2 irq 5 drq 0,1
sb1: OPL3-SA2 Sound Board : dsp v3.01
audio0 at sb1
joy0 at isapnp0 port 0x201/1
joy0: OPL3-SA2 Sound Board 
joy0: joystick not connected
biomask c040 netmask c840 ttymask c8c2
boot device: wd0
root on wd0a dumps on wd0b
root file system type: ffs
wdc1(0): lost interrupt
wdc1(0): lost interrupt
wdc1(0): lost interrupt
wdc1(0): lost interrupt
wdc1(0): lost interrupt
wdc1(0): lost interrupt
wdc1(0): lost interrupt

  I suspect that my hardware vendor failed to jumper the CDROM to
single device.  I haven't had the time to take things apart and check.

    >> isapnp0 at isa0 port 0x279: read port 0x203
    >> wss1 at isapnp0 port 0x220/16,0x530/8,0x388/8,0x330/2,0x370/2 irq 5 drq 0,1
    >> wss1: wssmatch failed

    Jason> wss_isa_match() should map the i/o space and then call wssmatch(), which
    Jason> should just deal with pre-built i/o handles, I guess.  Hard to tell without
    Jason> actually looking at your code :-)

  Okay. I would like to nail a couple of NetBSD people down with a tape
recorder in a room during IETF and get you to spill your guts about
this stuff. Alternate idea is to pick an "example" driver which does
everything right, and tell me to document it.

   :!mcr!:            |  Network and security consulting/contract programming
   Michael Richardson |   I do IPsec policy code for SSH <http://www.ssh.fi/>
 Personal: mcr@sandelman.ottawa.on.ca. PGP key available.
 Corporate: sales@sandelman.ottawa.on.ca. 


-----BEGIN PGP SIGNATURE-----
Version: 2.6.3ia
Charset: latin1
Comment: Processed by Mailcrypt 3.4, an Emacs/PGP interface

iQB1AwUBNGJX1qZpLyXYhL+BAQHp6wL/Z6dwb0ZD9wxHVlxSMRPhM7R8SwMY2FZ4
NEBbAD8ly/6989A7UqxfjDFi6L4wYMLxlpY5FkUxoaYnQk/e9rBDAbpHY7hsH/iI
uLBVOPU5sr1RQPRpvFaR1gjQ2QVx0GOg
=Pc3l
-----END PGP SIGNATURE-----