Port-i386 archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

Re: bus_space(9) overrides & resource reservations



On Thu, May 27, 2010 at 10:18:53PM +0900, Izumi Tsutsui wrote:
> The real "create" function, especially for access primitives,
> should stay in MD implementation.
> (See atari/dev/if_ne_mb.c for awful examples)

The example I had in mind is sys/dev/sbus/stp4020.c, see for example
lines 342ff (for sparc specific modifications of the opaque bus_space
handle/tag) and line 859ff (for a sparc64 specific one).

But when reading this again, I found other "MD" quirks in there, and it's
probably ok since SBUS is not realy a MI bus.


Martin


Home | Main Index | Thread Index | Old Index