Source-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[src/nick-nhusb]: src/sys/dev/usb KF
details: https://anonhg.NetBSD.org/src/rev/d199f296681a
branches: nick-nhusb
changeset: 334396:d199f296681a
user: skrll <skrll%NetBSD.org@localhost>
date: Mon Feb 15 17:00:27 2016 +0000
description:
KF
diffstat:
sys/dev/usb/uhci.c | 7 ++++---
1 files changed, 4 insertions(+), 3 deletions(-)
diffs (28 lines):
diff -r 0983f76e0d7d -r d199f296681a sys/dev/usb/uhci.c
--- a/sys/dev/usb/uhci.c Sat Feb 13 09:33:12 2016 +0000
+++ b/sys/dev/usb/uhci.c Mon Feb 15 17:00:27 2016 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: uhci.c,v 1.264.4.58 2016/02/08 11:16:02 skrll Exp $ */
+/* $NetBSD: uhci.c,v 1.264.4.59 2016/02/15 17:00:27 skrll Exp $ */
/*
* Copyright (c) 1998, 2004, 2011, 2012 The NetBSD Foundation, Inc.
@@ -42,7 +42,7 @@
*/
#include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: uhci.c,v 1.264.4.58 2016/02/08 11:16:02 skrll Exp $");
+__KERNEL_RCSID(0, "$NetBSD: uhci.c,v 1.264.4.59 2016/02/15 17:00:27 skrll Exp $");
#include "opt_usb.h"
@@ -1319,7 +1319,8 @@
KASSERT(mutex_owned(&sc->sc_intr_lock));
status = UREAD2(sc, UHCI_STS) & UHCI_STS_ALLINTRS;
- if (status == 0) /* The interrupt was not for us. */
+ /* Check if the interrupt was for us. */
+ if (status == 0)
return 0;
if (sc->sc_suspend != PWR_RESUME) {
Home |
Main Index |
Thread Index |
Old Index