diff options
Diffstat (limited to 'sys/pci')
-rw-r--r-- | sys/pci/amd.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/sys/pci/amd.c b/sys/pci/amd.c index d1861df..decdfc3 100644 --- a/sys/pci/amd.c +++ b/sys/pci/amd.c @@ -30,6 +30,7 @@ * (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF * THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. ********************************************************************* + * $FreeBSD$ */ /* @@ -1908,7 +1909,7 @@ SRBdone(struct amd_softc *amd, struct amd_srb *pSRB) } else { pcsio->scsi_status = SCSI_STATUS_CHECK_COND; } - pccb->ccb_h.status = CAM_AUTOSNS_VALID; + pccb->ccb_h.status = CAM_AUTOSNS_VALID|CAM_SCSI_STATUS_ERROR; goto ckc_e; } if (status) { |