diff options
Diffstat (limited to 'sys/dev/isp/isp_freebsd.c')
-rw-r--r-- | sys/dev/isp/isp_freebsd.c | 19 |
1 files changed, 9 insertions, 10 deletions
diff --git a/sys/dev/isp/isp_freebsd.c b/sys/dev/isp/isp_freebsd.c index 2c42f81..edeb582 100644 --- a/sys/dev/isp/isp_freebsd.c +++ b/sys/dev/isp/isp_freebsd.c @@ -1,4 +1,4 @@ -/* $Id: isp_freebsd.c,v 1.15 1999/04/04 01:35:03 mjacob Exp $ */ +/* $Id: isp_freebsd.c,v 1.16 1999/04/04 02:22:42 mjacob Exp $ */ /* release_4_3_99 */ /* * Platform (FreeBSD) dependent common attachment code for Qlogic adapters. @@ -83,15 +83,6 @@ isp_attach(struct ispsoftc *isp) csa.callback_arg = isp->isp_sim; xpt_action((union ccb *)&csa); - /* - * Set base transfer capabilities for Fibre Channel. - * Technically not correct because we don't know - * what media we're running on top of- but we'll - * look good if we always say 100MB/s. - */ - if (isp->isp_type & ISP_HA_FC) { - isp->isp_sim->base_transfer_speed = 100000; - } if (isp->isp_state == ISP_INITSTATE) isp->isp_state = ISP_RUNSTATE; } @@ -524,6 +515,13 @@ isp_action(struct cam_sim *sim, union ccb *ccb) #else cpi->max_lun = (1 << 4) - 1; #endif + /* + * Set base transfer capabilities for Fibre Channel. + * Technically not correct because we don't know + * what media we're running on top of- but we'll + * look good if we always say 100MB/s. + */ + cpi->base_transfer_speed = 100000; } else { cpi->hba_misc = 0; cpi->initiator_id = @@ -542,6 +540,7 @@ isp_action(struct cam_sim *sim, union ccb *ccb) } else { cpi->max_lun = (1 << 3) - 1; } + cpi->base_transfer_speed = 3300; } cpi->bus_id = cam_sim_bus(sim); |