]> CyberLeo.Net >> Repos - FreeBSD/stable/8.git/commit
MFC: r228022, r228026
authormarius <marius@ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f>
Sat, 28 Jan 2012 23:13:00 +0000 (23:13 +0000)
committermarius <marius@ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f>
Sat, 28 Jan 2012 23:13:00 +0000 (23:13 +0000)
commit7dd43bcc40724d877aaf86a720a1d9374e125ca5
tree746c30e172786c9c2c142aca99360ec83ddea391
parent2a78bca697ac05cdf266895a4ea37505acfbd1df
MFC: r228022, r228026

For sparc64 also adjust the geometry of da(4) driven disks to not overflow
the 16-bit cylinders field of the VTOC8 disk label (at around 502GB). The
geometry chosen for disks above that limit allows to use disks up to 2TB,
which is the limit of the extended VTOC8 format. The geometry used for
disks smaller than the 16-bit cylinders limit stays the same as used by
cam_calc_geometry(9) for extended translation.
Thanks to Hans-Joerg Sirtl for providing hardware for testing this change.

git-svn-id: svn://svn.freebsd.org/base/stable/8@230666 ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f
sys/cam/cam_xpt.c
sys/conf/files.sparc64
sys/modules/cam/Makefile
sys/sparc64/include/md_var.h
sys/sparc64/sparc64/cam_machdep.c [new file with mode: 0644]