aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/scsi/qlogicfas408.c
diff options
context:
space:
mode:
Diffstat (limited to 'drivers/scsi/qlogicfas408.c')
-rw-r--r--drivers/scsi/qlogicfas408.c26
1 files changed, 6 insertions, 20 deletions
diff --git a/drivers/scsi/qlogicfas408.c b/drivers/scsi/qlogicfas408.c
index 5b6ce0a88f08..cb75e0b7baea 100644
--- a/drivers/scsi/qlogicfas408.c
+++ b/drivers/scsi/qlogicfas408.c
@@ -511,27 +511,15 @@ int qlogicfas408_abort(Scsi_Cmnd * cmd)
511int qlogicfas408_bus_reset(Scsi_Cmnd * cmd) 511int qlogicfas408_bus_reset(Scsi_Cmnd * cmd)
512{ 512{
513 struct qlogicfas408_priv *priv = get_priv_by_cmd(cmd); 513 struct qlogicfas408_priv *priv = get_priv_by_cmd(cmd);
514 priv->qabort = 2; 514 unsigned long flags;
515 ql_zap(priv);
516 return SUCCESS;
517}
518
519/*
520 * Reset SCSI host controller
521 */
522 515
523int qlogicfas408_host_reset(Scsi_Cmnd * cmd) 516 priv->qabort = 2;
524{
525 return FAILED;
526}
527 517
528/* 518 spin_lock_irqsave(cmd->device->host->host_lock, flags);
529 * Reset SCSI device 519 ql_zap(priv);
530 */ 520 spin_unlock_irqrestore(cmd->device->host->host_lock, flags);
531 521
532int qlogicfas408_device_reset(Scsi_Cmnd * cmd) 522 return SUCCESS;
533{
534 return FAILED;
535} 523}
536 524
537/* 525/*
@@ -626,8 +614,6 @@ EXPORT_SYMBOL(qlogicfas408_info);
626EXPORT_SYMBOL(qlogicfas408_queuecommand); 614EXPORT_SYMBOL(qlogicfas408_queuecommand);
627EXPORT_SYMBOL(qlogicfas408_abort); 615EXPORT_SYMBOL(qlogicfas408_abort);
628EXPORT_SYMBOL(qlogicfas408_bus_reset); 616EXPORT_SYMBOL(qlogicfas408_bus_reset);
629EXPORT_SYMBOL(qlogicfas408_device_reset);
630EXPORT_SYMBOL(qlogicfas408_host_reset);
631EXPORT_SYMBOL(qlogicfas408_biosparam); 617EXPORT_SYMBOL(qlogicfas408_biosparam);
632EXPORT_SYMBOL(qlogicfas408_ihandl); 618EXPORT_SYMBOL(qlogicfas408_ihandl);
633EXPORT_SYMBOL(qlogicfas408_get_chip_type); 619EXPORT_SYMBOL(qlogicfas408_get_chip_type);