tech-kern archive

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

bus_space(9) header files



I would like to add some function prototypes to <sys/bus.h> for all
architectures to share.  Today, <sys/bus.h> is little more than this:

#include <machine/bus.h>

I would like to add the MI function prototypes underneath the
#include:

#include <machine/bus.h>

/* MI function prototypes */
bus_space_tag_t bus_space_tag_create(bus_space_tag_t, /* TBD */);
void bus_space_tag_destroy(bus_space_tag_t);

According to the manual page, drivers should #include <machine/bus.h>
for bus_space(9) definitions.  Many #include <sys/bus.h>, instead.  ISTM
that the doco should be corrected to say <sys/bus.h>.

Dave

-- 
David Young             OJC Technologies
dyoung%ojctech.com@localhost      Urbana, IL * (217) 278-3933


Home | Main Index | Thread Index | Old Index