Subject: Re: Yamaha sound card
To: David Stanhope <dms@celtech.com>
From: Michael C. Richardson <mcr@sandelman.ottawa.on.ca>
List: port-i386
Date: 11/05/1997 21:37:41
-----BEGIN PGP SIGNED MESSAGE-----


  I think I've managed to properly split the wss driver into ISA and
ISAPNP portions. However, I can't get the PNP portions working. I try
to bus space allocate port 0x530, for 8 bytes, but it gets denied.

  I thought that official ISA IO space was 0-0x3ff. I guess PnP has
changed this? I assume that the bus space macros know about this, and
I can't see any evidence that they do anything to limit ports to less
than 0x400.

  I am about to build something with some more debugging.
  One question: the Yamaha card does both SB and WSS emulation, which
is why I assume it has both SB and WSS io ports:

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

  My code was cobled together from sb_isapnp.c code...
  Unlike someone else who responded to me, my card does work under
Win95 at the same time as my network card. (Thank you to Jonathan who
made PCI ne2000 attachment possible...)

   :!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

iQB1AwUBNGEtcqZpLyXYhL+BAQGEMwL+LlQnFj6NvriGlD8GjyrGlo76cZIEIaBu
wPHdFGNsSnr//y4BpNmiNCx0fEM+yPSRa8l054cHjeFWpFG+BFrsuHUpz5kvCH+E
Bnai6ymdI4CjeMdDsQKypCE/T1PyhbJt
=hJvH
-----END PGP SIGNATURE-----