Date: Sun, 10 Jun 2007 16:53:01 +0000 (UTC) From: Marcel Moolenaar <marcel@FreeBSD.org> To: src-committers@FreeBSD.org, cvs-src@FreeBSD.org, cvs-all@FreeBSD.org Subject: cvs commit: src/sys/ia64/ia64 machdep.c src/sys/ia64/include cpufunc.h Message-ID: <200706101653.l5AGr2Fk055721@repoman.freebsd.org>
next in thread | raw e-mail | index | archive | help
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
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200706101653.l5AGr2Fk055721>
