Subject: struct isa_attach_args
To: None <tech-kern@NetBSD.ORG>
From: Michael Richardson <mcr@sandelman.ottawa.on.ca>
List: tech-kern
Date: 02/03/1997 16:22:16
-----BEGIN PGP SIGNED MESSAGE-----


  Two questions (these are partially i386 specific, but apply to any
ISA capable system):

	1. there are wildcards available for io and memory base
	unknown, what about if the size of the memory is unknown? I
	have a card that can map it's 64k as 16k, 32k or 64k chunks.
	If there are several cards (these are smart ISDN cards) , it
	might be nice to map in smaller amounts (by user request), but
	also to allow the driver to grab whatever size is
	available. Is there some way that they driver can figure this
	out? 

	2. this card has two IO ports <0x400. The rest of the ports
	are decoded by bits 10-13. E.g. port x appears at IO location
	0x400*x. I am going through bus_space_map macros, but how
	might this interact with PCI stuff? (I suspect this was a bad
	choice on the designer's part, but I understand their choice.)
	How do I teach /usr/sbin/config about this strange mapping?

  (hey, does anyone keep the mailing list archives in MHonArc format or something?)
	
   :!mcr!:            |  Network security consulting and 
   Michael Richardson |      contract programming
 WWW: mcr@sandelman.ottawa.on.ca. PGP key available.
	
	
-----BEGIN PGP SIGNATURE-----
Version: 2.6.3ia
Charset: latin1
Comment: Processed by Mailcrypt 3.4, an Emacs/PGP interface

iQBVAwUBMvZXAtTTll4efmtZAQHNYgH+MiDH1eHjKJw9c3A73ZRHvDMsTs4KGR+v
It/dWbCKk5rL7RH9OBotB8ax42ybyQQ7+3KNDkWXguXrBmr++ML1Gg==
=J11b
-----END PGP SIGNATURE-----