Module Name:    src
Committed By:   skrll
Date:           Mon Apr  6 12:14:22 UTC 2015

Modified Files:
        src/sys/arch/powerpc/booke/dev [nick-nhusb]: pq3ehci.c

Log Message:
ehci_init return int not usb_status_t


To generate a diff of this commit:
cvs rdiff -u -r1.5.16.2 -r1.5.16.3 src/sys/arch/powerpc/booke/dev/pq3ehci.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/arch/powerpc/booke/dev/pq3ehci.c
diff -u src/sys/arch/powerpc/booke/dev/pq3ehci.c:1.5.16.2 src/sys/arch/powerpc/booke/dev/pq3ehci.c:1.5.16.3
--- src/sys/arch/powerpc/booke/dev/pq3ehci.c:1.5.16.2	Wed Dec  3 12:52:06 2014
+++ src/sys/arch/powerpc/booke/dev/pq3ehci.c	Mon Apr  6 12:14:22 2015
@@ -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 @@ pq3ehci_attach(device_t parent, device_t
 	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;
 	}

Reply via email to