svn commit: r208850 - projects/ppc64/sys/powerpc/include
M. Warner Losh
imp at bsdimp.com
Mon Jun 7 01:49:25 UTC 2010
In message: <C9595D21-993D-4B9B-990A-6AF86031F40A at samsco.org>
Scott Long <scottl at samsco.org> writes:
: On the specific topic of BUS_SPACE_UNRESTRICTED, that's a definition
: that seems to have been "borrowed" from the bus_space API. Maybe at
: one time there was a desire to marry bus_space (bus.h) and bus_dma
: together in some fashion, but I don't see that having any practical
: value now. bus_dma.h and bus.h are separate interfaces and
: shouldn't be sharing definitions, as far as I'm concerned. If there
: are any disagreements on this, I'm happy to hear them.
busdma started out life as being dependent on bus_space. Today, it
still depends on bus_addr_t and bus_size_t, etc.
BUS_SPACE_UNRESTRICTED appears to have only ever been used by bus_dma,
and never by bus_space itself. In fact, the whole family of
BUS_SPACE_MAX{SIZE,ADDR}_{24,32}BIT appear to be MI as well. And
BUS_SPACE_MAXSIZE is defined wrong for at least amd64....
Warner
More information about the svn-src-projects
mailing list