Source-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[src/trunk]: src/sys/dev/usb Note that I got information about the protocol f...
details: https://anonhg.NetBSD.org/src/rev/605dda59dda2
branches: trunk
changeset: 502068:605dda59dda2
user: augustss <augustss%NetBSD.org@localhost>
date: Thu Jan 11 06:20:04 2001 +0000
description:
Note that I got information about the protocol from the Linux driver.
diffstat:
sys/dev/usb/usscanner.c | 9 +++++++--
1 files changed, 7 insertions(+), 2 deletions(-)
diffs (30 lines):
diff -r 7c32bf98c797 -r 605dda59dda2 sys/dev/usb/usscanner.c
--- a/sys/dev/usb/usscanner.c Thu Jan 11 06:11:29 2001 +0000
+++ b/sys/dev/usb/usscanner.c Thu Jan 11 06:20:04 2001 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: usscanner.c,v 1.1 2001/01/11 06:00:31 augustss Exp $ */
+/* $NetBSD: usscanner.c,v 1.2 2001/01/11 06:20:04 augustss Exp $ */
/*
* Copyright (c) 2000 The NetBSD Foundation, Inc.
@@ -36,6 +36,11 @@
* POSSIBILITY OF SUCH DAMAGE.
*/
+/*
+ * This driver is partly based on information taken from the Linux driver
+ * by John Fremlin, Oliver Neukum, and Jeremy Hall.
+ */
+
#include <sys/param.h>
#include <sys/systm.h>
#include <sys/kernel.h>
@@ -59,7 +64,7 @@
#ifdef USSCANNER_DEBUG
#define DPRINTF(x) if (usscannerdebug) logprintf x
#define DPRINTFN(n,x) if (usscannerdebug>(n)) logprintf x
-int usscannerdebug = 15;
+int usscannerdebug = 0;
#else
#define DPRINTF(x)
#define DPRINTFN(n,x)
Home |
Main Index |
Thread Index |
Old Index