diff options
Diffstat (limited to 'drivers/scsi/qlogicfas408.c')
-rw-r--r-- | drivers/scsi/qlogicfas408.c | 26 |
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) | |||
511 | int qlogicfas408_bus_reset(Scsi_Cmnd * cmd) | 511 | int 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 | ||
523 | int 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 | ||
532 | int 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); | |||
626 | EXPORT_SYMBOL(qlogicfas408_queuecommand); | 614 | EXPORT_SYMBOL(qlogicfas408_queuecommand); |
627 | EXPORT_SYMBOL(qlogicfas408_abort); | 615 | EXPORT_SYMBOL(qlogicfas408_abort); |
628 | EXPORT_SYMBOL(qlogicfas408_bus_reset); | 616 | EXPORT_SYMBOL(qlogicfas408_bus_reset); |
629 | EXPORT_SYMBOL(qlogicfas408_device_reset); | ||
630 | EXPORT_SYMBOL(qlogicfas408_host_reset); | ||
631 | EXPORT_SYMBOL(qlogicfas408_biosparam); | 617 | EXPORT_SYMBOL(qlogicfas408_biosparam); |
632 | EXPORT_SYMBOL(qlogicfas408_ihandl); | 618 | EXPORT_SYMBOL(qlogicfas408_ihandl); |
633 | EXPORT_SYMBOL(qlogicfas408_get_chip_type); | 619 | EXPORT_SYMBOL(qlogicfas408_get_chip_type); |