Subject: Re: bus_spacing a FreeBSD driver
To: None <tech-kern@netbsd.org>
From: Matthias Scheler <tron@lyssa.owl.de>
List: tech-kern
Date: 09/13/1998 19:43:48
In article <19980913180021.64053@follo.net>,
	Eivind Eklund <eivind@yes.no> writes:
> Check out the OpenBSD tree.  They have a port; a quick look indicate
> that it use busspaces.

All it does is this:

 retval = bus_space_map(pa->pa_memt, bktr->phys_base,
                        bktr->obmemsz, 0, &bktr->memh);

The register access are still done via using a structure.

-- 
Matthias Scheler                                http://home.owl.de/~tron/