cvs commit: src/sys/ia64/ia64 machdep.c src/sys/ia64/include
cpufunc.h
Marcel Moolenaar
marcel at FreeBSD.org
Sun Jun 10 16:53:02 UTC 2007
marcel 2007-06-10 16:53:01 UTC
FreeBSD src repository
Modified files:
sys/ia64/ia64 machdep.c
sys/ia64/include cpufunc.h
Log:
Work around a firmware bug in the HP rx2660, where in ACPI an I/O port
is really a memory mapped I/O address. The bug is in the GAS that
describes the address and in particular the SpaceId field. The field
should not say the address is an I/O port when it clearly is not.
With an additional check for the IA64_BUS_SPACE_IO case in the bus
access functions, and the fact that I/O ports pretty much not used
in general on ia64, make the calculation of the I/O port address a
function. This avoids inlining the work-around into every driver,
and also helps reduce overall code bloat.
Revision Changes Path
1.222 +10 -0 src/sys/ia64/ia64/machdep.c
1.23 +2 -3 src/sys/ia64/include/cpufunc.h
More information about the cvs-all
mailing list