Subject: CVS commit: src/sys/arch/sgimips/sgimips
To: None <source-changes@NetBSD.org>
From: Izumi Tsutsui <tsutsui@netbsd.org>
List: source-changes
Date: 10/04/2005 14:47:50
Module Name:	src
Committed By:	tsutsui
Date:		Tue Oct  4 14:47:50 UTC 2005

Modified Files:
	src/sys/arch/sgimips/sgimips: disksubr.c

Log Message:
On converting sgimips disklabel into BSD disklabel, don't take
dp_secbytes in the SGI volume header because the ARCS firmware ignores it.
Instead, leave the hardware default value set by each driver and
adjust offset values in the SGI volhdr according to the real sector size.

Fixes "resource shortage" messages on mounting a bootable CD-ROM image
which has the SGI volhdr. See posts on port-sgimips for details:
http://mail-index.netbsd.org/port-sgimips/2005/09/12/0000.html
http://mail-index.netbsd.org/port-sgimips/2005/09/12/0001.html
http://mail-index.netbsd.org/port-sgimips/2005/09/14/0000.html


To generate a diff of this commit:
cvs rdiff -r1.15 -r1.16 src/sys/arch/sgimips/sgimips/disksubr.c

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.