Subject: Re: 2 Driver related questions
To: None <port-i386@netbsd.org>
From: Rafal Boni <rafal@mediaone.net>
List: port-i386
Date: 08/06/1999 13:14:55
In message <FF6Hr9.A4x@tac.nyc.ny.us>, Christos wrote: 

-> #define YOUR_NPORTS	8
-> 
-> 	if (bus_space_map(iot, iobase, YOUR_NPORTS, 0, &ioh)) {
-> 
-> iobase you get from the driver definition line in your kernel config.
-> Look at drivers in /usr/src/sys/dev/isa for examples.

Also, in your xx_match function, make sure you do:
	ia->ia_iosize = YOUR_NPORTS;

--rafal

----
Rafal Boni                                                  rafal@mediaone.net