From owner-cvs-src@FreeBSD.ORG Sun Jun 10 16:53:02 2007 Return-Path: X-Original-To: cvs-src@FreeBSD.org Delivered-To: cvs-src@FreeBSD.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id 8D69016A46D; Sun, 10 Jun 2007 16:53:02 +0000 (UTC) (envelope-from marcel@FreeBSD.org) Received: from repoman.freebsd.org (repoman.freebsd.org [69.147.83.41]) by mx1.freebsd.org (Postfix) with ESMTP id 7B63813C4BD; Sun, 10 Jun 2007 16:53:02 +0000 (UTC) (envelope-from marcel@FreeBSD.org) Received: from repoman.freebsd.org (localhost [127.0.0.1]) by repoman.freebsd.org (8.13.8/8.13.8) with ESMTP id l5AGr2OB055725; Sun, 10 Jun 2007 16:53:02 GMT (envelope-from marcel@repoman.freebsd.org) Received: (from marcel@localhost) by repoman.freebsd.org (8.13.8/8.13.8/Submit) id l5AGr2Fk055721; Sun, 10 Jun 2007 16:53:02 GMT (envelope-from marcel) Message-Id: <200706101653.l5AGr2Fk055721@repoman.freebsd.org> From: Marcel Moolenaar Date: Sun, 10 Jun 2007 16:53:01 +0000 (UTC) To: src-committers@FreeBSD.org, cvs-src@FreeBSD.org, cvs-all@FreeBSD.org X-FreeBSD-CVS-Branch: HEAD Cc: Subject: cvs commit: src/sys/ia64/ia64 machdep.c src/sys/ia64/include cpufunc.h X-BeenThere: cvs-src@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: CVS commit messages for the src tree List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 10 Jun 2007 16:53:02 -0000 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