thorpej
f818766afe
Declare all cfattach structures const.
2002-09-27 20:31:45 +00:00
thorpej
90817e313c
Use the structures defined in bsd_openprom.h for "reg", "range",
...
and "intr" properties, rather than having identical-except-for-names
sbus_* and iommu_* versions.
2002-08-23 02:53:10 +00:00
eeh
fbce8217dd
Oops. Missing semicolon.
2002-03-20 19:32:42 +00:00
eeh
8ccad96d54
Add sbus_promaddr_to_handle() to convert a prom address to a bus_space_handle_t.
2002-03-20 18:39:44 +00:00
eeh
5f84db4b34
Get rid of bus_type_t.
2002-03-15 07:00:34 +00:00
pk
f61bdee8e7
Get rid of `bus_type_t' and use BUS_ADDR() (in sbus_bus_map()) to construct
...
a `bus_addr_t' to pass on to bus_space_map().
Drop `va' argument from sbus_bus_map(); it should not be used by MI Sbus
drivers.
2002-03-11 16:00:55 +00:00
darrenr
1ff5e232ba
add missing #include for SUN4 options
2002-02-03 05:53:28 +00:00
eeh
766a9b8c9c
Change bus_space_mmap() signature to the official one.
2001-09-24 23:49:31 +00:00
eeh
55fd5a2fb0
Pass along the bus frequency too, for devices that need it.
2000-11-01 06:18:45 +00:00
pk
c6b6f3883a
Remove old-style boot device recognition.
2000-01-11 12:59:43 +00:00
eeh
c5b834a5bc
Do it right for a change.
1998-09-06 21:23:58 +00:00
eeh
b9ce59191d
Oops. Fix overenthusiastic macro.
1998-09-06 21:21:06 +00:00
eeh
484ce04810
The `address' field from the prom is really an unsigned 32-bit value.
...
Make it so.
1998-09-05 22:29:49 +00:00
eeh
c05097f947
Remove function name conflict.
1998-09-05 22:14:25 +00:00
pk
42ebb851c5
sparc64 uses more of this file.
1998-09-05 16:47:06 +00:00
pk
6ab705c01b
Also include SUN4 in the temporary split
1998-08-25 22:42:48 +00:00
eeh
a2dd74ed79
Merge paddr_t changes into the main branch.
1998-08-13 02:10:37 +00:00
pk
9a7ffd5724
Move some Sbus structures in here.
...
* attach arguments now directly support multiple register and
interrupt sets.
* address translation (`ranges') has been made bus-specific
* introduce sbus_destroy_attach_arg() to clean up after
attaching an an Sbus device.
1998-07-29 18:30:20 +00:00
pk
e68ada23e2
Move "sbusvar.h" hack in here.
...
Also define SBUS_BURST_* values here.
1998-07-27 19:15:40 +00:00