Module Name: src
Committed By: mbalmer
Date: Mon Oct 17 16:44:02 UTC 2011
Modified Files:
src/sys/dev/usb: ehcireg.h uyurex.c
Log Message:
Received, not recvieved.
To generate a diff of this commit:
cvs rdiff -u -r1.32 -r1.33 src/sys/dev/usb/ehcireg.h
cvs rdiff -u -r1.4 -r1.5 src/sys/dev/usb/uyurex.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/ehcireg.h
diff -u src/sys/dev/usb/ehcireg.h:1.32 src/sys/dev/usb/ehcireg.h:1.33
--- src/sys/dev/usb/ehcireg.h:1.32 Tue Jan 18 08:29:24 2011
+++ src/sys/dev/usb/ehcireg.h Mon Oct 17 16:44:02 2011
@@ -1,4 +1,4 @@
-/* $NetBSD: ehcireg.h,v 1.32 2011/01/18 08:29:24 matt Exp $ */
+/* $NetBSD: ehcireg.h,v 1.33 2011/10/17 16:44:02 mbalmer Exp $ */
/*
* Copyright (c) 2001, 2004 The NetBSD Foundation, Inc.
@@ -361,7 +361,7 @@ typedef struct {
/* USB PIDs Register */
#define EHCI_DPR_TOKEN __BITS(7,0)
#define EHCI_DPR_SEND __BITS(15,8)
-#define EHCI_DPR_RECIEVED __BITS(23,16)
+#define EHCI_DPR_RECEIVED __BITS(23,16)
/* Data Registers */
#define EHCI_DEBUG_DATA0123 0x08
#define EHCI_DEBUG_DATA4567 0x0c
Index: src/sys/dev/usb/uyurex.c
diff -u src/sys/dev/usb/uyurex.c:1.4 src/sys/dev/usb/uyurex.c:1.5
--- src/sys/dev/usb/uyurex.c:1.4 Thu Nov 4 01:58:07 2010
+++ src/sys/dev/usb/uyurex.c Mon Oct 17 16:44:02 2011
@@ -1,4 +1,4 @@
-/* $NetBSD: uyurex.c,v 1.4 2010/11/04 01:58:07 dyoung Exp $ */
+/* $NetBSD: uyurex.c,v 1.5 2011/10/17 16:44:02 mbalmer Exp $ */
/* $OpenBSD: uyurex.c,v 1.3 2010/03/04 03:47:22 deraadt Exp $ */
/*
@@ -253,11 +253,11 @@ uyurex_intr(struct uhidev *addr, void *i
switch (buf[0]) {
case CMD_ACK:
if (buf[1] == sc->issueing_cmd) {
- DPRINTF(("ack recieved for cmd 0x%.2x\n", buf[1]));
+ DPRINTF(("ack received for cmd 0x%.2x\n", buf[1]));
sc->accepted_cmd = buf[1];
} else {
- DPRINTF(("cmd-ack mismatch: recved 0x%.2x, expect 0x%.2x\n",
- buf[1], sc->issueing_cmd));
+ DPRINTF(("cmd-ack mismatch: received 0x%.2x, "
+ "expect 0x%.2x\n", buf[1], sc->issueing_cmd));
/* discard previous command */
sc->accepted_cmd = CMD_NONE;
sc->issueing_cmd = CMD_NONE;