tech-kern archive

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

Re: bus_space(9) header files

On Tue, May 31, 2011 at 07:28:50PM -0500, David Young wrote:
> Here are a couple of patches that put #1 through #4, above, into
> practice on every architecture that attaches a PCI bus:

I forgot -N at the last minute, so an important part of the patch was
missing, the new bus_defs.h and bus_funcs.h files:

I will not attempt to split machine/bus.h on the remaining
architectures.  Instead, I will add #define __HAVE_NEW_STYLE_BUS_H to
<machine/types.h> on the architectures I have converted.  I will change
<sys/bus.h> to #include <sys/types.h> at the top, and either #include
<machine/bus.h> if !defined(__HAVE_NEW_STYLE_BUS_H), or #include
<machine/bus_defs.h>, <sys/bus_proto.h>, and <machine/bus_funcs.h> if


David Young             OJC Technologies      Urbana, IL * (217) 344-0444 x24

Home | Main Index | Thread Index | Old Index