]> CyberLeo.Net >> Repos - FreeBSD/FreeBSD.git/commit
Merge common XPT_CALC_GEOMETRY functions into a single convenience function.
authornjl <njl@FreeBSD.org>
Sat, 14 Jun 2003 22:17:38 +0000 (22:17 +0000)
committernjl <njl@FreeBSD.org>
Sat, 14 Jun 2003 22:17:38 +0000 (22:17 +0000)
commitb184633199beba93ad13f46cf12a67fbaa20ad06
tree5752708c01d3bc91355e1bfb4660548fdad1e887
parent9dc1a1166f0a73431cabc077b5f45d5042a753c1
Merge common XPT_CALC_GEOMETRY functions into a single convenience function.
Devices below may experience a change in geometry.

* Due to a bug, aic(4) never used extended geometry.  Changes all drives
  >1G to now use extended translation.
* sbp(4) drives exactly 1 GB in size now no longer use extended geometry.
* umass(4) drives exactly 1 GB in size now no longer use extended geometry.

For all other controllers in this commit, this should be a no-op.

PR:
Submitted by:
Looked over by: scottl
Approved by:
Obtained from:
MFC after:
sys/cam/cam.c
sys/cam/cam_ccb.h