Print this page
XXXX introduce drv_sectohz
*** 3368,3378 ****
if (port->port_fca_abort_timeout)
timeout_ticks = drv_usectohz(
port->port_fca_abort_timeout*1000);
else
/* 10 seconds by default */
! timeout_ticks = drv_usectohz(10 * 1000000);
if ((ddi_get_lbolt() >
(icmd->icmd_start_time+timeout_ticks)) &&
iport->iport_state == FCT_STATE_ONLINE) {
/* timeout, reset the port */
char cmd_type[10];
--- 3368,3378 ----
if (port->port_fca_abort_timeout)
timeout_ticks = drv_usectohz(
port->port_fca_abort_timeout*1000);
else
/* 10 seconds by default */
! timeout_ticks = drv_sectohz(10);
if ((ddi_get_lbolt() >
(icmd->icmd_start_time+timeout_ticks)) &&
iport->iport_state == FCT_STATE_ONLINE) {
/* timeout, reset the port */
char cmd_type[10];