Source-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[src/trunk]: src/sys/dev/pci XS_NOERROR | XS_RESET doens't make sense, XS_RES...
details: https://anonhg.NetBSD.org/src/rev/7e1b2a7a102d
branches: trunk
changeset: 791596:7e1b2a7a102d
user: bouyer <bouyer%NetBSD.org@localhost>
date: Sun Nov 24 18:02:08 2013 +0000
description:
XS_NOERROR | XS_RESET doens't make sense, XS_RESET is what is wanted here.
Pointed out by Edgar Fu?
diffstat:
sys/dev/pci/trm.c | 6 +++---
1 files changed, 3 insertions(+), 3 deletions(-)
diffs (27 lines):
diff -r 1bc75a321655 -r 7e1b2a7a102d sys/dev/pci/trm.c
--- a/sys/dev/pci/trm.c Sun Nov 24 17:20:00 2013 +0000
+++ b/sys/dev/pci/trm.c Sun Nov 24 18:02:08 2013 +0000
@@ -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 <sys/cdefs.h>
-__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 @@
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) {
Home |
Main Index |
Thread Index |
Old Index