diff options
author | njl <njl@FreeBSD.org> | 2003-06-14 22:17:38 +0000 |
---|---|---|
committer | njl <njl@FreeBSD.org> | 2003-06-14 22:17:38 +0000 |
commit | b184633199beba93ad13f46cf12a67fbaa20ad06 (patch) | |
tree | 5752708c01d3bc91355e1bfb4660548fdad1e887 /sys/cam/cam_ccb.h | |
parent | 9dc1a1166f0a73431cabc077b5f45d5042a753c1 (diff) | |
download | FreeBSD-src-b184633199beba93ad13f46cf12a67fbaa20ad06.zip FreeBSD-src-b184633199beba93ad13f46cf12a67fbaa20ad06.tar.gz |
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:
Diffstat (limited to 'sys/cam/cam_ccb.h')
-rw-r--r-- | sys/cam/cam_ccb.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/sys/cam/cam_ccb.h b/sys/cam/cam_ccb.h index 1df01ce..62adfe6 100644 --- a/sys/cam/cam_ccb.h +++ b/sys/cam/cam_ccb.h @@ -979,6 +979,8 @@ cam_fill_ctio(struct ccb_scsiio *csio, u_int32_t retries, csio->init_id = init_id; } +void cam_calc_geometry(struct ccb_calc_geometry *ccg, int extended); + __END_DECLS #endif /* _CAM_CAM_CCB_H */ |