Date: Mon, 11 Feb 2008 21:40:22 +0000 (UTC) From: Marius Strobl <marius@FreeBSD.org> To: src-committers@FreeBSD.org, cvs-src@FreeBSD.org, cvs-all@FreeBSD.org Subject: cvs commit: src/sys/conf files.sparc64 src/sys/sparc64/include md_var.h src/sys/sparc64/sparc64 ata_machdep.c Message-ID: <200802112140.m1BLeM33072030@repoman.freebsd.org>
next in thread | raw e-mail | index | archive | help
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)
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200802112140.m1BLeM33072030>