From owner-cvs-src@FreeBSD.ORG Mon Feb 11 21:40:23 2008 Return-Path: Delivered-To: cvs-src@FreeBSD.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 6253C16A418; Mon, 11 Feb 2008 21:40:23 +0000 (UTC) (envelope-from marius@FreeBSD.org) Received: from repoman.freebsd.org (repoman.freebsd.org [IPv6:2001:4f8:fff6::29]) by mx1.freebsd.org (Postfix) with ESMTP id 5AEBC13C458; Mon, 11 Feb 2008 21:40:23 +0000 (UTC) (envelope-from marius@FreeBSD.org) Received: from repoman.freebsd.org (localhost [127.0.0.1]) by repoman.freebsd.org (8.14.1/8.14.1) with ESMTP id m1BLeNrI072031; Mon, 11 Feb 2008 21:40:23 GMT (envelope-from marius@repoman.freebsd.org) Received: (from marius@localhost) by repoman.freebsd.org (8.14.1/8.14.1/Submit) id m1BLeM33072030; Mon, 11 Feb 2008 21:40:22 GMT (envelope-from marius) Message-Id: <200802112140.m1BLeM33072030@repoman.freebsd.org> From: Marius Strobl Date: Mon, 11 Feb 2008 21:40:22 +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/conf files.sparc64 src/sys/sparc64/include md_var.h src/sys/sparc64/sparc64 ata_machdep.c X-BeenThere: cvs-src@freebsd.org X-Mailman-Version: 2.1.5 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: Mon, 11 Feb 2008 21:40:23 -0000 marius 2008-02-11 21:40:22 UTC FreeBSD src repository Modified files: sys/conf files.sparc64 sys/sparc64/include md_var.h Added files: sys/sparc64/sparc64 ata_machdep.c Log: The Sun disk label only uses 16-bit fields for cylinders, heads and sectors so the geometry of large IDE disks has to be adjusted. This corresponds to what the OpenSolaris dad(7D) driver does except that the latter only tweaks sectors and effectively limits the mediasize to 128GB so the cylinders and heads fields won't ever overflow. Not limiting the mediasize is a compromise between allowing to use Sun disk label as far as possible and being able to use the entire disk with another disk label. This allows to use the full capacity of large IDE disks if they were not labeled under (Open)Solaris (in both ways of the meaning). MFC after: 2 weeks Revision Changes Path 1.94 +1 -0 src/sys/conf/files.sparc64 1.17 +13 -0 src/sys/sparc64/include/md_var.h 1.1 +52 -0 src/sys/sparc64/sparc64/ata_machdep.c (new)