Source-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[src/nick-nhusb]: src/sys/arch/powerpc/booke/dev ehci_init return int not usb...
details: https://anonhg.NetBSD.org/src/rev/937e6410f0b4
branches: nick-nhusb
changeset: 804333:937e6410f0b4
user: skrll <skrll%NetBSD.org@localhost>
date: Mon Apr 06 12:14:22 2015 +0000
description:
ehci_init return int not usb_status_t
diffstat:
sys/arch/powerpc/booke/dev/pq3ehci.c | 6 +++---
1 files changed, 3 insertions(+), 3 deletions(-)
diffs (27 lines):
diff -r b6fb656c04bb -r 937e6410f0b4 sys/arch/powerpc/booke/dev/pq3ehci.c
--- a/sys/arch/powerpc/booke/dev/pq3ehci.c Mon Apr 06 08:58:43 2015 +0000
+++ b/sys/arch/powerpc/booke/dev/pq3ehci.c Mon Apr 06 12:14:22 2015 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: pq3ehci.c,v 1.5.16.2 2014/12/03 12:52:06 skrll Exp $ */
+/* $NetBSD: pq3ehci.c,v 1.5.16.3 2015/04/06 12:14:22 skrll Exp $ */
/*-
* Copyright (c) 2010, 2011 The NetBSD Foundation, Inc.
* All rights reserved.
@@ -29,7 +29,7 @@
*/
#include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: pq3ehci.c,v 1.5.16.2 2014/12/03 12:52:06 skrll Exp $");
+__KERNEL_RCSID(0, "$NetBSD: pq3ehci.c,v 1.5.16.3 2015/04/06 12:14:22 skrll Exp $");
#include "opt_usb.h"
@@ -141,7 +141,7 @@
EOWRITE4(&sc->sc, EHCI_USBINTR, 0);
error = ehci_init(&sc->sc);
- if (error != USBD_NORMAL_COMPLETION) {
+ if (error) {
aprint_error_dev(self, "init failed, error=%d\n", error);
goto fail;
}
Home |
Main Index |
Thread Index |
Old Index