Skip to content

Commit

Permalink
[libata scsi] improve scsi error handling with ata_scsi_set_sense()
Browse files Browse the repository at this point in the history
  - change "xlat" and "fill" actors in libata-scsi so
    they are responsible for SCSI status and sense data
    when they return 1. This allows GOOD status or a
    specialized error to be set.
  - yield an error for mode sense requests for saved
    values [sat-r06]
  - remove static inlines for ata_bad_scsiop() and
    ata_bad_cdb() which are no longer used

Signed-off-by: Douglas Gilbert <dougg@torque.net>
Signed-off-by: Jeff Garzik <jgarzik@pobox.com>
  • Loading branch information
Douglas Gilbert authored and Jeff Garzik committed Oct 9, 2005
1 parent 845c583 commit ae00651
Show file tree
Hide file tree
Showing 2 changed files with 121 additions and 73 deletions.
Loading

0 comments on commit ae00651

Please sign in to comment.