Source-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[src/trunk]: src/sys/dev/usb Fix typo in usbd_attachinterfaces - look for int...
details: https://anonhg.NetBSD.org/src/rev/7e474092f10f
branches: trunk
changeset: 339265:7e474092f10f
user: skrll <skrll%NetBSD.org@localhost>
date: Thu Jul 09 07:20:57 2015 +0000
description:
Fix typo in usbd_attachinterfaces - look for interface drivers when there
is no interface (i.e. default) locator
diffstat:
sys/dev/usb/usb_subr.c | 7 ++++---
1 files changed, 4 insertions(+), 3 deletions(-)
diffs (28 lines):
diff -r bc9df1ee026f -r 7e474092f10f sys/dev/usb/usb_subr.c
--- a/sys/dev/usb/usb_subr.c Thu Jul 09 06:17:13 2015 +0000
+++ b/sys/dev/usb/usb_subr.c Thu Jul 09 07:20:57 2015 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: usb_subr.c,v 1.201 2015/04/11 10:10:14 skrll Exp $ */
+/* $NetBSD: usb_subr.c,v 1.202 2015/07/09 07:20:57 skrll Exp $ */
/* $FreeBSD: src/sys/dev/usb/usb_subr.c,v 1.18 1999/11/17 22:33:47 n_hibma Exp $ */
/*
@@ -32,7 +32,7 @@
*/
#include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: usb_subr.c,v 1.201 2015/04/11 10:10:14 skrll Exp $");
+__KERNEL_RCSID(0, "$NetBSD: usb_subr.c,v 1.202 2015/07/09 07:20:57 skrll Exp $");
#ifdef _KERNEL_OPT
#include "opt_compat_netbsd.h"
@@ -889,7 +889,8 @@
loc != uiaa.configno)
continue;
loc = locators[USBIFIFCF_INTERFACE];
- if (loc != USBIFIFCF_INTERFACE && loc != uiaa.ifaceno)
+ if (loc != USBIFIFCF_INTERFACE_DEFAULT &&
+ loc != uiaa.ifaceno)
continue;
}
dv = config_found_sm_loc(parent, "usbifif", ilocs, &uiaa,
Home |
Main Index |
Thread Index |
Old Index