svn commit: r207417 - user/jmallett/octeon/sys/mips/mips

M. Warner Losh imp at bsdimp.com
Fri Apr 30 03:53:00 UTC 2010


In message: <201004300314.o3U3Eluq041543 at svn.freebsd.org>
            Juli Mallett <jmallett at freebsd.org> writes:
: That's just the uart code, which seems to use its own bus space
: anyway.

The UART code needs to have its own space.  The uart*.c code is mostly
setup to read bytes from the uart device.  We use bus space to spread
out the bytes (which uart could do itself, but we tell it not to), as
well as insure that the 64-bit registers are accessed as 64-bit
registers.  This is important for the Octeon take on a 16550 since
byte reads/writes cause problems, at least on some members of the
family.  The bus space code bridges these two worlds.  It also solves
the 'big endian' issues that the atheros code still has...

Warner



More information about the svn-src-user mailing list