Module Name: src Committed By: skrll Date: Mon Jan 21 08:02:01 UTC 2013
Modified Files: src/sys/dev/usb: dwc_otg.c Log Message: Don't use magic number To generate a diff of this commit: cvs rdiff -u -r1.30 -r1.31 src/sys/dev/usb/dwc_otg.c Please note that diffs are not public domain; they are subject to the copyright notices on the relevant files.
Modified files: Index: src/sys/dev/usb/dwc_otg.c diff -u src/sys/dev/usb/dwc_otg.c:1.30 src/sys/dev/usb/dwc_otg.c:1.31 --- src/sys/dev/usb/dwc_otg.c:1.30 Mon Jan 21 07:39:59 2013 +++ src/sys/dev/usb/dwc_otg.c Mon Jan 21 08:02:01 2013 @@ -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 @@ dwc_otg_setup_standard_chain_sub(struct 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;