Source-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[src/trunk]: src/sys/external/bsd/dwc2 Translate ENODEV to USBD_INVAL
details: https://anonhg.NetBSD.org/src/rev/1d12e4c09a2d
branches: trunk
changeset: 790491:1d12e4c09a2d
user: skrll <skrll%NetBSD.org@localhost>
date: Tue Oct 15 07:37:54 2013 +0000
description:
Translate ENODEV to USBD_INVAL
diffstat:
sys/external/bsd/dwc2/dwc2.c | 6 +++---
1 files changed, 3 insertions(+), 3 deletions(-)
diffs (27 lines):
diff -r ee42e0c53c4f -r 1d12e4c09a2d sys/external/bsd/dwc2/dwc2.c
--- a/sys/external/bsd/dwc2/dwc2.c Tue Oct 15 07:23:20 2013 +0000
+++ b/sys/external/bsd/dwc2/dwc2.c Tue Oct 15 07:37:54 2013 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: dwc2.c,v 1.10 2013/10/02 22:53:23 skrll Exp $ */
+/* $NetBSD: dwc2.c,v 1.11 2013/10/15 07:37:54 skrll Exp $ */
/*-
* Copyright (c) 2013 The NetBSD Foundation, Inc.
@@ -30,7 +30,7 @@
*/
#include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: dwc2.c,v 1.10 2013/10/02 22:53:23 skrll Exp $");
+__KERNEL_RCSID(0, "$NetBSD: dwc2.c,v 1.11 2013/10/15 07:37:54 skrll Exp $");
#include "opt_usb.h"
@@ -1385,7 +1385,7 @@
case 0:
break;
case -ENODEV:
- err = USBD_NOMEM;
+ err = USBD_INVAL;
break;
case -ENOMEM:
err = USBD_NOMEM;
Home |
Main Index |
Thread Index |
Old Index