From owner-cvs-all@FreeBSD.ORG Sat Jun 4 20:27:39 2005 Return-Path: X-Original-To: cvs-all@FreeBSD.org Delivered-To: cvs-all@FreeBSD.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id E749416A41C; Sat, 4 Jun 2005 20:27:39 +0000 (GMT) (envelope-from marius@FreeBSD.org) Received: from repoman.freebsd.org (repoman.freebsd.org [216.136.204.115]) by mx1.FreeBSD.org (Postfix) with ESMTP id B132C43D4C; Sat, 4 Jun 2005 20:27:39 +0000 (GMT) (envelope-from marius@FreeBSD.org) Received: from repoman.freebsd.org (localhost [127.0.0.1]) by repoman.freebsd.org (8.13.1/8.13.1) with ESMTP id j54KRd9B084621; Sat, 4 Jun 2005 20:27:39 GMT (envelope-from marius@repoman.freebsd.org) Received: (from marius@localhost) by repoman.freebsd.org (8.13.1/8.13.1/Submit) id j54KRdGs084620; Sat, 4 Jun 2005 20:27:39 GMT (envelope-from marius) Message-Id: <200506042027.j54KRdGs084620@repoman.freebsd.org> From: Marius Strobl Date: Sat, 4 Jun 2005 20:27:39 +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/auxio auxio.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: Sat, 04 Jun 2005 20:27:40 -0000 marius 2005-06-04 20:27:39 UTC FreeBSD src repository Modified files: sys/dev/auxio auxio.c Log: - Take advantage of ebus(4) having switched to SYS_RES_MEMORY for memory resources in ebus.c rev. 1.22 and collapse the resource allocation for both the EBus and SBus variants into auxio_attach_common(). - For the EBus variant make sure that the resource for controlling the LED is actually available; (in theory) we could have ended up using the resource without allocating it. Revision Changes Path 1.3 +31 -42 src/sys/dev/auxio/auxio.c