briggs
3ce3697584
Add bus_space_*_stream_N functions.
2000-07-31 22:40:25 +00:00
briggs
2cc07c0541
Add a DIAGNOSTIC panic if (count-using) bus_space macros are called with
...
a count of zero. Some drivers do this accidentally and some bus_space
implementations will fail if count is passed as zero (they are set up in
a do-{}-while structure).
2000-07-31 14:59:15 +00:00
briggs
f5882c7ffa
Make sure that bus_space read/write functions that take a count will not be
...
called if count is zero. The smc91cxx driver, for example, may try to call
bus_space_write_multi_2() with a count of 0.
2000-07-30 23:17:23 +00:00
briggs
9c85d4dc6a
Add byte-swap and stride options to bus_space. Allocate as normal, then
...
call mac68k_bus_space_handle_swapped() or mac68k_bus_space_handle_set_stride().
Stride is untested. Swapped code works for SMC ethernet.
2000-07-30 21:38:02 +00:00
drochner
8eb798e603
define a "BUS_SPACE_MAP_PREFETCHABLE" flag which basically means that
...
device accesses are idempotent (but should not be cached by the CPU)
2000-01-25 22:13:17 +00:00
drochner
76fa1751fe
Add a macro to check for sufficient pointer alignment in bus.h context,
...
"BUS_SPACE_ALIGNED_POINTER()".
Equal to the param.h "ALIGNED_POINTER()" normally, but obeys additional
requirements of the bus_space_xxx_n() macros. (BUS_SPACE_DEBUG)
1999-03-23 21:29:03 +00:00
briggs
1082c49b69
Fix PR port-mac68k/6665 from Paul Goyette with some minor mods.
...
Cast values is bus_space macros to the appropriate types so we end up
with valid assembly.
1999-01-06 03:06:45 +00:00
scottr
da5ce9387c
Remove semicolons from the end of bus_space_*_multi_*(). From Ken Nakata
...
in PR 5965.
1998-08-16 05:36:17 +00:00
scottr
5b4a54759d
Conform to spec, and make bus_space_copy() handle overlapping copies.
...
From Jason Thorpe.
1998-01-13 18:32:15 +00:00
scottr
a7515413d8
Remove advertising clause.
1997-10-10 05:54:48 +00:00
thorpej
030188061e
Copyright assigned to The NetBSD Foundation.
1997-10-04 17:36:56 +00:00
scottr
5e77023e13
The bus space tag really isn't used; stop the compiler from complaining.
1997-02-24 05:55:14 +00:00
scottr
7524900a0f
Remove niggles that made it into the copyright, and correct the
...
license terms (added Jason Thorpe).
1997-02-22 04:56:17 +00:00
scottr
5c8de7766a
Implement bus_space_set_multi_N(), bus_space_set_region_N(), and
...
bus_space_copy_N(). Bus space support is now complete.
1997-02-20 05:53:00 +00:00
scottr
6066941306
Add prototypes for bus_space_alloc() and bus_space_free()
1997-02-14 06:02:57 +00:00
scottr
2a2a70d39c
Initialize and use extent manager for bus space mapping functions.
...
Tweak bus_space_{tag,handle}_t types slightly to facilitate this.
1997-02-11 07:37:41 +00:00
scottr
f042e543c9
Implement basic bus space access macros/functions.
...
Note: we currently do not use the extent manager.
1997-02-03 17:32:54 +00:00