Source-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[src/trunk]: src/sys/dev/usb Provide a ugen_clear_endpoints declaration
details: https://anonhg.NetBSD.org/src/rev/2657fad5ad44
branches: trunk
changeset: 343706:2657fad5ad44
user: skrll <skrll%NetBSD.org@localhost>
date: Mon Feb 22 08:06:47 2016 +0000
description:
Provide a ugen_clear_endpoints declaration
diffstat:
sys/dev/usb/ugen.c | 5 +++--
1 files changed, 3 insertions(+), 2 deletions(-)
diffs (26 lines):
diff -r a7fa972738bc -r 2657fad5ad44 sys/dev/usb/ugen.c
--- a/sys/dev/usb/ugen.c Mon Feb 22 07:57:11 2016 +0000
+++ b/sys/dev/usb/ugen.c Mon Feb 22 08:06:47 2016 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: ugen.c,v 1.130 2016/02/22 07:46:00 skrll Exp $ */
+/* $NetBSD: ugen.c,v 1.131 2016/02/22 08:06:47 skrll Exp $ */
/*
* Copyright (c) 1998, 2004 The NetBSD Foundation, Inc.
@@ -37,7 +37,7 @@
#include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: ugen.c,v 1.130 2016/02/22 07:46:00 skrll Exp $");
+__KERNEL_RCSID(0, "$NetBSD: ugen.c,v 1.131 2016/02/22 08:06:47 skrll Exp $");
#ifdef _KERNEL_OPT
#include "opt_compat_netbsd.h"
@@ -175,6 +175,7 @@
int index, int *lenp);
Static usbd_status ugen_set_interface(struct ugen_softc *, int, int);
Static int ugen_get_alt_index(struct ugen_softc *sc, int ifaceidx);
+Static void ugen_clear_endpoints(struct ugen_softc *);
#define UGENUNIT(n) ((minor(n) >> 4) & 0xf)
#define UGENENDPOINT(n) (minor(n) & 0xf)
Home |
Main Index |
Thread Index |
Old Index