From 350fcf486adc7eb5a158135b3476fcef4488b320 Mon Sep 17 00:00:00 2001 From: bouyer Date: Sun, 24 Nov 2013 18:02:08 +0000 Subject: [PATCH] =?UTF-8?q?XS=5FNOERROR=20|=20XS=5FRESET=20doens't=20make?= =?UTF-8?q?=20sense,=20XS=5FRESET=20is=20what=20is=20wanted=20here.=20Poin?= =?UTF-8?q?ted=20out=20by=20Edgar=20Fu=C3=9F?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- sys/dev/pci/trm.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/sys/dev/pci/trm.c b/sys/dev/pci/trm.c index e187d726d248..ea7c95eea635 100644 --- a/sys/dev/pci/trm.c +++ b/sys/dev/pci/trm.c @@ -1,4 +1,4 @@ -/* $NetBSD: trm.c,v 1.34 2013/09/15 14:53:03 martin Exp $ */ +/* $NetBSD: trm.c,v 1.35 2013/11/24 18:02:08 bouyer Exp $ */ /*- * Copyright (c) 2002 Izumi Tsutsui. All rights reserved. * @@ -65,7 +65,7 @@ */ #include -__KERNEL_RCSID(0, "$NetBSD: trm.c,v 1.34 2013/09/15 14:53:03 martin Exp $"); +__KERNEL_RCSID(0, "$NetBSD: trm.c,v 1.35 2013/11/24 18:02:08 bouyer Exp $"); /* #define TRM_DEBUG */ #ifdef TRM_DEBUG @@ -703,7 +703,7 @@ trm_scsipi_request(struct scsipi_channel *chan, scsipi_adapter_req_t req, xs->xs_periph->periph_lun)); if (xs->xs_control & XS_CTL_RESET) { trm_reset(sc); - xs->error = XS_NOERROR | XS_RESET; + xs->error = XS_RESET; return; } if (xs->xs_status & XS_STS_DONE) {