From owner-cvs-src@FreeBSD.ORG Sat Mar 19 00:50:29 2005 Return-Path: Delivered-To: cvs-src@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 0116216A4CE; Sat, 19 Mar 2005 00:50:29 +0000 (GMT) Received: from repoman.freebsd.org (repoman.freebsd.org [216.136.204.115]) by mx1.FreeBSD.org (Postfix) with ESMTP id D275E43D31; Sat, 19 Mar 2005 00:50:28 +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 j2J0oSDA055274; Sat, 19 Mar 2005 00:50:28 GMT (envelope-from marius@repoman.freebsd.org) Received: (from marius@localhost) by repoman.freebsd.org (8.13.1/8.13.1/Submit) id j2J0oSLA055273; Sat, 19 Mar 2005 00:50:28 GMT (envelope-from marius) Message-Id: <200503190050.j2J0oSLA055273@repoman.freebsd.org> From: Marius Strobl Date: Sat, 19 Mar 2005 00:50:28 +0000 (UTC) To: src-committers@FreeBSD.org, cvs-src@FreeBSD.org, cvs-all@FreeBSD.org X-FreeBSD-CVS-Branch: HEAD Subject: cvs commit: src/sys/sparc64/fhc fhc.c fhc_central.c fhc_nexus.c fhcvar.h X-BeenThere: cvs-src@freebsd.org X-Mailman-Version: 2.1.1 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: Sat, 19 Mar 2005 00:50:29 -0000 marius 2005-03-19 00:50:28 UTC FreeBSD src repository Modified files: sys/sparc64/fhc fhc.c fhc_central.c fhc_nexus.c fhcvar.h Log: - Add a device interface method for bus_get_resource_list() and use bus_generic_rl_release_resource() for the bus_release_resource() method instead of a local copy. - Correctly handle pass-through allocations in fhc_alloc_resource(). - In case the board model can't be determined just print "unknown model" so the physical slot number is reported in any case. - Add support for blinking the 'Cycling' LED of boards on a fhc(4) hanging of off the nexus (i.e. all boards except the clock board) via led(4). All boards have at least 3 controllable status LEDs, 'Power', 'Failure' and 'Cycling'. While the 'Cycling' LED is suitable for signaling from the OS the others are better off being controlled by the firmware. The device name for the 'Cycling' LED of each board is /dev/led/boardX where X is the physical slot number of the board. [1] Obtained from: OpenBSD [1] Tested by: joerg [1] Revision Changes Path 1.12 +59 -34 src/sys/sparc64/fhc/fhc.c 1.7 +2 -1 src/sys/sparc64/fhc/fhc_central.c 1.6 +2 -1 src/sys/sparc64/fhc/fhc_nexus.c 1.5 +3 -2 src/sys/sparc64/fhc/fhcvar.h