Module Name: src
Committed By: skrll
Date: Fri Feb 19 08:22:40 UTC 2016
Modified Files:
src/sys/dev/usb [nick-nhusb]: ohci.c
Log Message:
Fix typo in previous *sigh*
To generate a diff of this commit:
cvs rdiff -u -r1.254.2.45 -r1.254.2.46 src/sys/dev/usb/ohci.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/ohci.c
diff -u src/sys/dev/usb/ohci.c:1.254.2.45 src/sys/dev/usb/ohci.c:1.254.2.46
--- src/sys/dev/usb/ohci.c:1.254.2.45 Thu Feb 18 17:38:37 2016
+++ src/sys/dev/usb/ohci.c Fri Feb 19 08:22:40 2016
@@ -1,4 +1,4 @@
-/* $NetBSD: ohci.c,v 1.254.2.45 2016/02/18 17:38:37 skrll Exp $ */
+/* $NetBSD: ohci.c,v 1.254.2.46 2016/02/19 08:22:40 skrll Exp $ */
/*
* Copyright (c) 1998, 2004, 2005, 2012 The NetBSD Foundation, Inc.
@@ -41,7 +41,7 @@
*/
#include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: ohci.c,v 1.254.2.45 2016/02/18 17:38:37 skrll Exp $");
+__KERNEL_RCSID(0, "$NetBSD: ohci.c,v 1.254.2.46 2016/02/19 08:22:40 skrll Exp $");
#include "opt_usb.h"
@@ -1555,7 +1555,7 @@ ohci_softintr(void *v)
/* clear halt and TD chain */
sed->ed.ed_headp = HTOO32(p->physaddr);
usb_syncmem(&sed->dma,
- sed->offs + offsetof(ohci_ed_t, ed_ed_headp),
+ sed->offs + offsetof(ohci_ed_t, ed_headp),
sizeof(sed->ed.ed_headp),
BUS_DMASYNC_PREWRITE | BUS_DMASYNC_PREREAD);