Source-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[src/trunk]: src/sys/dev/usb Don't use magic number
details: https://anonhg.NetBSD.org/src/rev/68b23e791aac
branches: trunk
changeset: 784181:68b23e791aac
user: skrll <skrll%NetBSD.org@localhost>
date: Mon Jan 21 08:02:01 2013 +0000
description:
Don't use magic number
diffstat:
sys/dev/usb/dwc_otg.c | 6 +++---
1 files changed, 3 insertions(+), 3 deletions(-)
diffs (27 lines):
diff -r 9e2c5708eaa7 -r 68b23e791aac sys/dev/usb/dwc_otg.c
--- a/sys/dev/usb/dwc_otg.c Mon Jan 21 07:39:59 2013 +0000
+++ b/sys/dev/usb/dwc_otg.c Mon Jan 21 08:02:01 2013 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: dwc_otg.c,v 1.30 2013/01/21 07:39:59 skrll Exp $ */
+/* $NetBSD: dwc_otg.c,v 1.31 2013/01/21 08:02:01 skrll Exp $ */
/*-
* Copyright (c) 2012 Hans Petter Selasky. All rights reserved.
@@ -60,7 +60,7 @@
*/
#include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: dwc_otg.c,v 1.30 2013/01/21 07:39:59 skrll Exp $");
+__KERNEL_RCSID(0, "$NetBSD: dwc_otg.c,v 1.31 2013/01/21 08:02:01 skrll Exp $");
#include <sys/param.h>
#include <sys/systm.h>
@@ -3620,7 +3620,7 @@
td->got_short = 0;
td->did_nak = 0;
td->channel = DWC_OTG_MAX_CHANNELS;
- td->state = 0;
+ td->state = DWC_CHAN_ST_START;
td->errcnt = 0;
td->retrycnt = 0;
td->toggle = 0;
Home |
Main Index |
Thread Index |
Old Index