From owner-cvs-all@FreeBSD.ORG Tue Oct 25 12:51:50 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 6C61C16A41F; Tue, 25 Oct 2005 12:51:50 +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 16C6A43D48; Tue, 25 Oct 2005 12:51:50 +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 j9PCpnSg018832; Tue, 25 Oct 2005 12:51:49 GMT (envelope-from marius@repoman.freebsd.org) Received: (from marius@localhost) by repoman.freebsd.org (8.13.1/8.13.1/Submit) id j9PCpn6E018831; Tue, 25 Oct 2005 12:51:49 GMT (envelope-from marius) Message-Id: <200510251251.j9PCpn6E018831@repoman.freebsd.org> From: Marius Strobl Date: Tue, 25 Oct 2005 12:51:49 +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/boot/ofw/libofw ofw_disk.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: Tue, 25 Oct 2005 12:51:50 -0000 marius 2005-10-25 12:51:49 UTC FreeBSD src repository Modified files: sys/boot/ofw/libofw ofw_disk.c Log: - Add a workaround for the fact that OFW doesn't guarantee that devices can be opened multiple times simultaneously but we're expected to be able to do so by the rest of the loader. This fixes booting from disks attached to the on-board SCSI controller of Sun Ultra 1 (previously this triggered a trap) and probably also of AX1115 boards. - While here, remove unused variables and add empty lines where style(9) requires such. Tested on: powerpc (grehan), sparc64 MFC after: 1 month Revision Changes Path 1.13 +57 -6 src/sys/boot/ofw/libofw/ofw_disk.c