From owner-cvs-all@FreeBSD.ORG Fri Mar 23 17:15:08 2007 Return-Path: X-Original-To: cvs-all@FreeBSD.org Delivered-To: cvs-all@FreeBSD.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id 4349816A405; Fri, 23 Mar 2007 17:15:08 +0000 (UTC) (envelope-from jhb@FreeBSD.org) Received: from repoman.freebsd.org (repoman.freebsd.org [69.147.83.41]) by mx1.freebsd.org (Postfix) with ESMTP id 1C2CC13C48C; Fri, 23 Mar 2007 17:15:08 +0000 (UTC) (envelope-from jhb@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 l2NHF7NU020820; Fri, 23 Mar 2007 17:15:07 GMT (envelope-from jhb@repoman.freebsd.org) Received: (from jhb@localhost) by repoman.freebsd.org (8.13.8/8.13.8/Submit) id l2NHF7vD020819; Fri, 23 Mar 2007 17:15:07 GMT (envelope-from jhb) Message-Id: <200703231715.l2NHF7vD020819@repoman.freebsd.org> From: John Baldwin Date: Fri, 23 Mar 2007 17:15:07 +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/dev/exca exca.c X-BeenThere: cvs-all@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: CVS commit messages for the entire tree List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 23 Mar 2007 17:15:08 -0000 jhb 2007-03-23 17:15:07 UTC FreeBSD src repository Modified files: sys/dev/exca exca.c Log: - Fix exca_(io|mem)_map() to return proper errno values. - Change exca_activate_resource() to call BUS_ACTIVATE_RESOURCE() before calling exca_(io|mem)_map() since the latter use rman_get_bus(tag|handle) and the recent changes to nexus(4) mean that you need to activate a resource before reading the bus tag and handle. This was true before, but now the nexus(4) drivers on x86 and ia64 are more forceful about it. Reviewed by: imp Revision Changes Path 1.28 +21 -20 src/sys/dev/exca/exca.c