Source-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[src/trunk]: src/sys/dev/usb ehci_set_qh_qtd: terminate alternate next qTD po...
details: https://anonhg.NetBSD.org/src/rev/15e7addeecf2
branches: trunk
changeset: 765922:15e7addeecf2
user: jmcneill <jmcneill%NetBSD.org@localhost>
date: Fri Jun 10 14:20:34 2011 +0000
description:
ehci_set_qh_qtd: terminate alternate next qTD pointer with EHCI_NULL, not 0
diffstat:
sys/dev/usb/ehci.c | 6 +++---
1 files changed, 3 insertions(+), 3 deletions(-)
diffs (27 lines):
diff -r 41698443bee0 -r 15e7addeecf2 sys/dev/usb/ehci.c
--- a/sys/dev/usb/ehci.c Fri Jun 10 14:10:18 2011 +0000
+++ b/sys/dev/usb/ehci.c Fri Jun 10 14:20:34 2011 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: ehci.c,v 1.178 2011/06/09 19:08:31 matt Exp $ */
+/* $NetBSD: ehci.c,v 1.179 2011/06/10 14:20:34 jmcneill Exp $ */
/*
* Copyright (c) 2004-2008 The NetBSD Foundation, Inc.
@@ -52,7 +52,7 @@
*/
#include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: ehci.c,v 1.178 2011/06/09 19:08:31 matt Exp $");
+__KERNEL_RCSID(0, "$NetBSD: ehci.c,v 1.179 2011/06/10 14:20:34 jmcneill Exp $");
#include "ohci.h"
#include "uhci.h"
@@ -1796,7 +1796,7 @@
BUS_DMASYNC_PREWRITE | BUS_DMASYNC_PREREAD);
sqh->qh.qh_curqtd = 0;
sqh->qh.qh_qtd.qtd_next = htole32(sqtd->physaddr);
- sqh->qh.qh_qtd.qtd_altnext = 0;
+ sqh->qh.qh_qtd.qtd_altnext = EHCI_NULL;
for (i = 0; i < EHCI_QTD_NBUFFERS; i++)
sqh->qh.qh_qtd.qtd_buffer[i] = 0;
sqh->sqtd = sqtd;
Home |
Main Index |
Thread Index |
Old Index