summaryrefslogtreecommitdiffstats
path: root/sys/dev/usb/input
diff options
context:
space:
mode:
authorhselasky <hselasky@FreeBSD.org>2014-02-01 06:58:16 +0000
committerhselasky <hselasky@FreeBSD.org>2014-02-01 06:58:16 +0000
commit06ee51ac6dc8af2b50a8c84976224a439b815071 (patch)
tree9f37b3f06546177c89bf0bc246a0afbb0d3ff348 /sys/dev/usb/input
parent859fb3bb22aee35c1a8558c3f1cdb245976f80e5 (diff)
downloadFreeBSD-src-06ee51ac6dc8af2b50a8c84976224a439b815071.zip
FreeBSD-src-06ee51ac6dc8af2b50a8c84976224a439b815071.tar.gz
Add a comment about the origin of some structures, defines and so on.
MFC after: 1 week
Diffstat (limited to 'sys/dev/usb/input')
-rw-r--r--sys/dev/usb/input/wsp.c19
1 files changed, 19 insertions, 0 deletions
diff --git a/sys/dev/usb/input/wsp.c b/sys/dev/usb/input/wsp.c
index cfe2966..5476d62 100644
--- a/sys/dev/usb/input/wsp.c
+++ b/sys/dev/usb/input/wsp.c
@@ -123,6 +123,25 @@ SYSCTL_INT(_hw_usb_wsp, OID_AUTO, scr_hor_threshold, CTLFLAG_RW,
#define WSP_IFACE_INDEX 1
+/*
+ * Some tables, structures, definitions and initialisation values for
+ * the touchpad protocol has been copied from Linux's
+ * "drivers/input/mouse/bcm5974.c" which has the following copyright
+ * holders under GPLv2. All device specific code in this driver has
+ * been written from scratch. The decoding algorithm is based on
+ * output from usbdump.
+ *
+ * Copyright (C) 2008 Henrik Rydberg (rydberg@euromail.se)
+ * Copyright (C) 2008 Scott Shawcroft (scott.shawcroft@gmail.com)
+ * Copyright (C) 2001-2004 Greg Kroah-Hartman (greg@kroah.com)
+ * Copyright (C) 2005 Johannes Berg (johannes@sipsolutions.net)
+ * Copyright (C) 2005 Stelian Pop (stelian@popies.net)
+ * Copyright (C) 2005 Frank Arnold (frank@scirocco-5v-turbo.de)
+ * Copyright (C) 2005 Peter Osterlund (petero2@telia.com)
+ * Copyright (C) 2005 Michael Hanselmann (linux-kernel@hansmi.ch)
+ * Copyright (C) 2006 Nicolas Boichat (nicolas@boichat.ch)
+ */
+
/* button data structure */
struct bt_data {
uint8_t unknown1; /* constant */
OpenPOWER on IntegriCloud