diff options
author | scottl <scottl@FreeBSD.org> | 2004-06-11 15:33:20 +0000 |
---|---|---|
committer | scottl <scottl@FreeBSD.org> | 2004-06-11 15:33:20 +0000 |
commit | 562bd73d68914ca58cc2f8e688d547265ba3e678 (patch) | |
tree | 69e9deda1c2025e06e9814fe3239673c75993a38 /sys/dev/esp/ncr53c9x.c | |
parent | 542eb308da8b51a8f867ac2cbf8e130b7f0a338c (diff) | |
download | FreeBSD-src-562bd73d68914ca58cc2f8e688d547265ba3e678.zip FreeBSD-src-562bd73d68914ca58cc2f8e688d547265ba3e678.tar.gz |
Make the XPT_CALC_GEOMETRY op dependent on the sc_extended_geometry flag
that is set in the bus front-end.
Diffstat (limited to 'sys/dev/esp/ncr53c9x.c')
-rw-r--r-- | sys/dev/esp/ncr53c9x.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/sys/dev/esp/ncr53c9x.c b/sys/dev/esp/ncr53c9x.c index d160dcb..01d81a4 100644 --- a/sys/dev/esp/ncr53c9x.c +++ b/sys/dev/esp/ncr53c9x.c @@ -839,7 +839,7 @@ ncr53c9x_action(struct cam_sim *sim, union ccb *ccb) return; case XPT_CALC_GEOMETRY: mtx_unlock(&sc->sc_lock); - cam_calc_geometry(&ccb->ccg, 0); /* XXX Extended? */ + cam_calc_geometry(&ccb->ccg, sc->sc_extended_geom); xpt_done(ccb); return; case XPT_PATH_INQ: |