CVS log for src/sys/dev/usb/Attic/ukbd.c
Up to [FreeBSD] / src / sys / dev / usb
Request diff between arbitrary revisions
Keyword substitution: kv
Default branch: MAIN
Revision 1.72.2.2.10.1: download - view: text, markup, annotated - select for diffs
Tue Dec 21 17:10:29 2010 UTC (13 months, 2 weeks ago) by kensmith
Branches: RELENG_7_4
CVS tags: RELENG_7_4_0_RELEASE
Diff to: previous 1.72.2.2: preferred, colored; next MAIN 1.73: preferred, colored
Changes since revision 1.72.2.2: +0 -0 lines
SVN rev 216618 on 2010-12-21 17:10:29Z by kensmith Copy stable/7 to releng/7.4 in preparation for FreeBSD-7.4 release. Approved by: re (implicit)
Revision 1.72.2.2.8.1: download - view: text, markup, annotated - select for diffs
Wed Feb 10 00:26:20 2010 UTC (2 years ago) by kensmith
Branches: RELENG_7_3
CVS tags: RELENG_7_3_0_RELEASE
Diff to: previous 1.72.2.2: preferred, colored; next MAIN 1.73: preferred, colored
Changes since revision 1.72.2.2: +0 -0 lines
SVN rev 203736 on 2010-02-10 00:26:20Z by kensmith Copy stable/7 to releng/7.3 as part of the 7.3-RELEASE process. Approved by: re (implicit)
Revision 1.72.2.2.6.1: download - view: text, markup, annotated - select for diffs
Wed Apr 15 03:14:26 2009 UTC (2 years, 9 months ago) by kensmith
Branches: RELENG_7_2
CVS tags: RELENG_7_2_0_RELEASE
Diff to: previous 1.72.2.2: preferred, colored; next MAIN 1.73: preferred, colored
Changes since revision 1.72.2.2: +0 -0 lines
SVN rev 191087 on 2009-04-15 03:14:26Z by kensmith Create releng/7.2 from stable/7 in preparation for 7.2-RELEASE. Approved by: re (implicit)
Revision 1.78
Mon Feb 23 18:16:17 2009 UTC (2 years, 11 months ago) by thompsa
Branches: MAIN
CVS tags: HEAD
FILE REMOVED
Changes since revision 1.77: +1 -1 lines
SVN rev 188939 on 2009-02-23 18:16:17Z by thompsa Move usb to a graveyard location under sys/legacy/dev, it is intended that the new USB2 stack will fully replace this for 8.0. Remove kernel modules, a subsequent commit will update conf/files. Unhook usbdevs from the build.
Revision 1.72.2.2.4.1: download - view: text, markup, annotated - select for diffs
Tue Nov 25 02:59:29 2008 UTC (3 years, 2 months ago) by kensmith
Branches: RELENG_7_1
CVS tags: RELENG_7_1_0_RELEASE
Diff to: previous 1.72.2.2: preferred, colored; next MAIN 1.73: preferred, colored
Changes since revision 1.72.2.2: +0 -0 lines
SVN rev 185281 on 2008-11-25 02:59:29Z by kensmith Create releng/7.1 in preparation for moving into RC phase of 7.1 release cycle. Approved by: re (implicit)
Revision 1.77: download - view: text, markup, annotated - select for diffs
Thu Oct 9 20:51:25 2008 UTC (3 years, 4 months ago) by n_hibma
Branches: MAIN
Diff to: previous 1.76: preferred, colored
Changes since revision 1.76: +1 -1 lines
SVN rev 183734 on 2008-10-09 20:51:25Z by n_hibma uark/ucom: Minor code cleanup. umass; Remove duplicated code. ukbd: Fill in the arg parameter on the through call.
Revision 1.52.2.8.4.1: download - view: text, markup, annotated - select for diffs
Thu Oct 2 02:57:24 2008 UTC (3 years, 4 months ago) by kensmith
Branches: RELENG_6_4
CVS tags: RELENG_6_4_0_RELEASE
Diff to: previous 1.52.2.8: preferred, colored; next MAIN 1.53: preferred, colored
Changes since revision 1.52.2.8: +0 -0 lines
SVN rev 183531 on 2008-10-02 02:57:24Z by kensmith Create releng/6.4 from stable/6 in preparation for 6.4-RC1. Approved by: re (implicit)
Revision 1.76: download - view: text, markup, annotated - select for diffs
Sat Dec 29 21:55:24 2007 UTC (4 years, 1 month ago) by wkoszek
Branches: MAIN
Diff to: previous 1.75: preferred, colored
Changes since revision 1.75: +5 -5 lines
Remove explicit calls to keyboard methods with their respective variants implemented with macros. This patch improves code readability. Reasoning behind kbdd_* is a "keyboard discipline". List of macros is supposed to be complete--all methods of keyboard_switch should have their respective macros from now on. Functionally, this code should be no-op. My intention is to leave current behaviour of code as is. Glanced at by: rwatson Reviewed by: emax, marcel Approved by: cognet
Revision 1.72.2.2: download - view: text, markup, annotated - select for diffs
Mon Nov 12 16:09:45 2007 UTC (4 years, 2 months ago) by kan
Branches: RELENG_7
CVS tags: RELENG_7_4_BP, RELENG_7_3_BP, RELENG_7_2_BP, RELENG_7_1_BP, RELENG_7_0_BP, RELENG_7_0_0_RELEASE, RELENG_7_0
Branch point for: RELENG_7_4, RELENG_7_3, RELENG_7_2, RELENG_7_1
Diff to: previous 1.72.2.1: preferred, colored; branchpoint 1.72: preferred, colored; next MAIN 1.73: preferred, colored
Changes since revision 1.72.2.1: +14 -10 lines
MFC revisions
1.75: Make ukbd_getc respect non-blocking behavior if one is requested;
1.76: Do not pass an address of local stack variable to
usbd_set_report_async.
Approved by: re (kensmith)
Revision 1.75: download - view: text, markup, annotated - select for diffs
Mon Nov 5 19:51:12 2007 UTC (4 years, 3 months ago) by kan
Branches: MAIN
Diff to: previous 1.74: preferred, colored
Changes since revision 1.74: +4 -3 lines
Do not pass an address to local stack variable to usbd_set_report_async. Allocate space in keyboard state structure instead to prevent random byte from possibly overwritten stack location frombeing shoved into USB device when transfer actually takes place. This fixes at least one instance of LEDs not working with USB keyboards.
Revision 1.52.2.8: download - view: text, markup, annotated - select for diffs
Thu Oct 25 16:56:15 2007 UTC (4 years, 3 months ago) by jhb
Branches: RELENG_6
CVS tags: RELENG_6_4_BP, RELENG_6_3_BP, RELENG_6_3_0_RELEASE, RELENG_6_3
Branch point for: RELENG_6_4
Diff to: previous 1.52.2.7: preferred, colored; branchpoint 1.52: preferred, colored; next MAIN 1.53: preferred, colored
Changes since revision 1.52.2.7: +8 -2 lines
MFC: Clear the flags in the persistent keyboard data for ukbd0 when init_keyboard() or kbd_register() fails.
Revision 1.72.2.1: download - view: text, markup, annotated - select for diffs
Thu Oct 25 16:55:00 2007 UTC (4 years, 3 months ago) by jhb
Branches: RELENG_7
Diff to: previous 1.72: preferred, colored
Changes since revision 1.72: +8 -2 lines
MFC: Clear the flags in the persistent keyboard data for ukbd0 when init_keyboard() or kbd_register() fail. Approved by: re (kensmith)
Revision 1.74: download - view: text, markup, annotated - select for diffs
Mon Oct 15 20:37:34 2007 UTC (4 years, 3 months ago) by kan
Branches: MAIN
Diff to: previous 1.73: preferred, colored
Changes since revision 1.73: +10 -7 lines
Make ukbd_getc respect non-blocking behavior if one is requested. Change ukbd_poll to mark this keyboard instance as polling before calling usbd_set_polling at USB level. usbd_set_polling runs softintr before returning, stealing our input and making consequent polling getchar kind of pointless. This allows USB keyboards to coexist peacefully with serial console in DDB and other contexts where polling is used. MFC after: 1 week
Revision 1.73: download - view: text, markup, annotated - select for diffs
Fri Oct 12 19:47:42 2007 UTC (4 years, 4 months ago) by jhb
Branches: MAIN
Diff to: previous 1.72: preferred, colored
Changes since revision 1.72: +8 -2 lines
The ukbd driver has some questionable "magic" to for a default keyboard which is ukbd0. Specifically, the keyboard driver structures for ukbd0 are not allocated/freed but are statically allocated via a persistent global variable. There is some additional magic for the ukbd0 such that if the keyboard is marked as probed in this global variable, then we don't check to see if the device_t we are probing has an interface. This causes a problem if an attach of ukbd0 fails without fulling clearing the state in the global variable. Specifically, if the keyboard fails to initialize in init_keyboard() or kbd_register(), then the keyboard will still be marked as probed. The USB layer will then try to offer the "generic" version of the USB keyboard device (as opposed to the per-interface sub-devices) and the ukbd(4) driver will see that the keyboard is marked probe and will skip the "is this a per-interface device" check. Later in ukbd_attach() it panics because it tries to dereference the interface pointer which is NULL. The fix is to clear the flags in the persistent keyboard data for ukbd0 when init_keyboard() or kbd_register() fail. MFC after: 1 week Reviewed by: imp
Revision 1.72: download - view: text, markup, annotated - select for diffs
Wed Jul 25 06:48:33 2007 UTC (4 years, 6 months ago) by imp
Branches: MAIN
CVS tags: RELENG_7_BP
Branch point for: RELENG_7
Diff to: previous 1.71: preferred, colored
Changes since revision 1.71: +9 -0 lines
Fix absolutely maddening autorepeat bug that would cause the last key to repeat if you had more than two keys down at any given time (which happened to me all the time with emacs). This is taken from PR 110681, although what URATAN Shigenobu describes there is different than the pathology that I have been seeing. I'm seeing this only in X, while he sees it on his console, yet I think the two problems are related. I've also reworked the patch slightly to conform to the coding standards of adjacent code. It is unclear to me if this merely masks the maddening bug that I have seen, or if this is a real fix. I typically see the problem when I'm typing fast in emacs and using lots of motion keys (meta and control). In either case, my workstation at work again is finally useful with this patch. PR: 110681 Submitted by: URATAN Shigenobu Approved by: re (blanket)
Revision 1.71: download - view: text, markup, annotated - select for diffs
Sat Jun 23 04:20:24 2007 UTC (4 years, 7 months ago) by imp
Branches: MAIN
Diff to: previous 1.70: preferred, colored
Changes since revision 1.70: +1 -1 lines
We need a special module loader routine, not the stock usbd one. This also eliminates a routine unused message. Submitted by: mjacob Approved by: re@
Revision 1.70: download - view: text, markup, annotated - select for diffs
Thu Jun 21 14:42:34 2007 UTC (4 years, 7 months ago) by imp
Branches: MAIN
Diff to: previous 1.69: preferred, colored
Changes since revision 1.69: +1 -9 lines
Latest round of usb cleanups: o Consistently use device_foo_t and bus_foo_t for functions implementing device_foo and bus_foo respectively. Adjust those routines that were wrong (we should do this throughout the tree). o make all the modules depend on usb. Otherwise these modules won't load. o ucycom doesn't need usb_port.h o Minor unifdefing o uhub, umass, ums, urio, uscanner conversion complete. o ukbd: Remove the NO_SET_PROTO quirk (fixes a PR 77940). NetBSD removed their check and setting the proto a long time ago. o umodem panic fixed. UQ_ASSUME_CM_OVER_DATA quirk removed because I've never seen a umodem that needed this rejection for proection (this gets rid of ~20% of the quirks). Approved by: re@ (kensmith) PR: 77940
Revision 1.69: download - view: text, markup, annotated - select for diffs
Wed Jun 20 05:10:53 2007 UTC (4 years, 7 months ago) by imp
Branches: MAIN
Diff to: previous 1.68: preferred, colored
Changes since revision 1.68: +2 -2 lines
s/logprintf/printf/g Approved by: re@
Revision 1.68: download - view: text, markup, annotated - select for diffs
Mon Jun 18 22:31:35 2007 UTC (4 years, 7 months ago) by imp
Branches: MAIN
Diff to: previous 1.67: preferred, colored
Changes since revision 1.67: +26 -6 lines
Expand usb_port macros
Revision 1.67: download - view: text, markup, annotated - select for diffs
Sun Jun 17 16:24:48 2007 UTC (4 years, 7 months ago) by imp
Branches: MAIN
Diff to: previous 1.66: preferred, colored
Changes since revision 1.66: +1 -1 lines
Expand USB_MATCH_START
Revision 1.52.2.7: download - view: text, markup, annotated - select for diffs
Sat Jun 16 20:49:49 2007 UTC (4 years, 7 months ago) by wilko
Branches: RELENG_6
Diff to: previous 1.52.2.6: preferred, colored; branchpoint 1.52: preferred, colored
Changes since revision 1.52.2.6: +0 -0 lines
Forced commit to clarify preceding unclear commit message: - core was contacted by Joerg Peter Schley requesting 2 comment lines be removed with his name & email address in it.
Revision 1.66: download - view: text, markup, annotated - select for diffs
Sat Jun 16 20:48:13 2007 UTC (4 years, 7 months ago) by wilko
Branches: MAIN
Diff to: previous 1.65: preferred, colored
Changes since revision 1.65: +0 -0 lines
Forced commit to clarify preceding unclear commit message: - core was contacted by Joerg Peter Schley requesting 2 comment lines be removed with his name & email address in it.
Revision 1.52.2.6: download - view: text, markup, annotated - select for diffs
Sat Jun 16 19:23:14 2007 UTC (4 years, 7 months ago) by wilko
Branches: RELENG_6
Diff to: previous 1.52.2.5: preferred, colored; branchpoint 1.52: preferred, colored
Changes since revision 1.52.2.5: +0 -2 lines
Per request (to core) by the person refered to in the comment.
Revision 1.65: download - view: text, markup, annotated - select for diffs
Sat Jun 16 19:20:02 2007 UTC (4 years, 7 months ago) by wilko
Branches: MAIN
Diff to: previous 1.64: preferred, colored
Changes since revision 1.64: +0 -2 lines
Per request (to core) by the person refered to in the comment.
Revision 1.64: download - view: text, markup, annotated - select for diffs
Thu Jun 14 16:23:31 2007 UTC (4 years, 7 months ago) by imp
Branches: MAIN
Diff to: previous 1.63: preferred, colored
Changes since revision 1.63: +4 -4 lines
Expand callout compatibility macros in the main usb bridges.
Revision 1.63: download - view: text, markup, annotated - select for diffs
Wed Jun 13 05:37:59 2007 UTC (4 years, 8 months ago) by imp
Branches: MAIN
Diff to: previous 1.62: preferred, colored
Changes since revision 1.62: +4 -2 lines
Expand USB_DETACH, USB_ATTACH and USB_MATCH inline. No functional change, and MD5's appear to be the same.
Revision 1.62: download - view: text, markup, annotated - select for diffs
Tue Jun 12 15:37:18 2007 UTC (4 years, 8 months ago) by imp
Branches: MAIN
Diff to: previous 1.61: preferred, colored
Changes since revision 1.61: +5 -5 lines
Expand USB_ATTACH_{ERROR,SUCCESS}_RETURN inline and eliminate from
usb_port.h. They aren't needed, and are a legacy of this code's past.
Revision 1.61: download - view: text, markup, annotated - select for diffs
Sat Jun 9 06:42:18 2007 UTC (4 years, 8 months ago) by imp
Branches: MAIN
Diff to: previous 1.60: preferred, colored
Changes since revision 1.60: +1 -3 lines
Remove devinfo junk. Remove bogus bzero/memset Expand USB_ATTACH_SETUP Minor nits
Revision 1.52.2.5: download - view: text, markup, annotated - select for diffs
Mon May 21 18:10:48 2007 UTC (4 years, 8 months ago) by brueffer
Branches: RELENG_6
Diff to: previous 1.52.2.4: preferred, colored; branchpoint 1.52: preferred, colored
Changes since revision 1.52.2.4: +0 -8 lines
MFC: Remove compat ifdefs for FreeBSD versions < 500014. Approved by: rwatson (mentor)
Revision 1.60: download - view: text, markup, annotated - select for diffs
Sat May 12 05:53:53 2007 UTC (4 years, 9 months ago) by brueffer
Branches: MAIN
Diff to: previous 1.59: preferred, colored
Changes since revision 1.59: +0 -8 lines
Remove compat ifdefs for FreeBSD versions < 500014, makes the code quite a bit easier to read. Approved by: rwatson (mentor) MFC after: 1 weeks
Revision 1.52.2.4: download - view: text, markup, annotated - select for diffs
Tue Dec 12 15:44:13 2006 UTC (5 years, 2 months ago) by flz
Branches: RELENG_6
Diff to: previous 1.52.2.3: preferred, colored; branchpoint 1.52: preferred, colored
Changes since revision 1.52.2.3: +3 -0 lines
MFC: Add a quirk for devices recognized as usb keyboards not to be hooked by ukbd(4). src/sys/dev/usb/usbdevs: rev 1.283 -> 1.284 src/sys/dev/usb/usb_quirks.c: rev 1.56 -> 1.57 src/sys/dev/usb/ukbd.c: rev 1.58 -> 1.59 src/sys/dev/usb/usb_quirks.h: rev 1.22 -> 1.23 PR: usb/105669 Submitted by: Henrik Brix Andersen <henrik@brixandersen.dk>
Revision 1.59: download - view: text, markup, annotated - select for diffs
Tue Nov 28 21:13:07 2006 UTC (5 years, 2 months ago) by flz
Branches: MAIN
Diff to: previous 1.58: preferred, colored
Changes since revision 1.58: +3 -0 lines
Add a quirk for devices recognized as usb keyboards not to be hooked by ukbd(4). PR: usb/105669 Submitted by: Henrik Brix Andersen <henrik@brixandersen.dk> MFC after: 1 week
Revision 1.52.2.3: download - view: text, markup, annotated - select for diffs
Sun Oct 29 07:30:06 2006 UTC (5 years, 3 months ago) by ru
Branches: RELENG_6
CVS tags: RELENG_6_2_BP, RELENG_6_2_0_RELEASE, RELENG_6_2
Diff to: previous 1.52.2.2: preferred, colored; branchpoint 1.52: preferred, colored
Changes since revision 1.52.2.2: +2 -1 lines
MFC: 1.58: Fix a non-working CapsLock LED under X. Approved by: re (hrs)
Revision 1.58: download - view: text, markup, annotated - select for diffs
Wed Oct 25 12:22:19 2006 UTC (5 years, 3 months ago) by ru
Branches: MAIN
Diff to: previous 1.57: preferred, colored
Changes since revision 1.57: +2 -1 lines
Fix non-working CAPS LED under X by applying fix from atkbd.c,v 1.27: : revision 1.27 : date: 2000/05/28 12:43:24; author: ache; state: Exp; lines: +3 -2 : Manipulate with AltGR Led (really CapsLock Led) only in K_XLATE mode, because : all other modes not set ALKED flag and it means that CapsLock always turned : off for them. : Real bug example is X11 which never turn on CapsLock with Russian keyboard. : : PR: 18651 : Submitted by: "Mike E. Matsnev" <mike@po.cs.msu.su> MFC after: 3 days
Revision 1.52.2.2: download - view: text, markup, annotated - select for diffs
Wed Oct 4 06:09:10 2006 UTC (5 years, 4 months ago) by ru
Branches: RELENG_6
Diff to: previous 1.52.2.1: preferred, colored; branchpoint 1.52: preferred, colored
Changes since revision 1.52.2.1: +17 -0 lines
MFC: Fix our ioctl(2) implementation for ioctls with "int" arguments. Approved by: re (hrs, kensmith)
Revision 1.57: download - view: text, markup, annotated - select for diffs
Mon Oct 2 16:02:41 2006 UTC (5 years, 4 months ago) by ru
Branches: MAIN
Diff to: previous 1.56: preferred, colored
Changes since revision 1.56: +1 -1 lines
Ignore the UKBD_DFLT_KEYMAP option when compiling as a module. The parallel LINT build sometimes broke if kernel-depend wasn't fast enough in generating ukbdmap.h. If someone thinks this option would still be useful for the module, a proper fix is to add the code generating ukbdmap.h into modules/ukbd/Makefile and backing this change out.
Revision 1.56: download - view: text, markup, annotated - select for diffs
Wed Sep 27 19:56:59 2006 UTC (5 years, 4 months ago) by ru
Branches: MAIN
Diff to: previous 1.55: preferred, colored
Changes since revision 1.55: +33 -0 lines
Fix our ioctl(2) implementation when the argument is "int". New ioctls passing integer arguments should use the _IOWINT() macro. This fixes a lot of ioctl's not working on sparc64, most notable being keyboard/syscons ioctls. Full ABI compatibility is provided, with the bonus of fixing the handling of old ioctls on sparc64. Reviewed by: bde (with contributions) Tested by: emax, marius MFC after: 1 week
Revision 1.55: download - view: text, markup, annotated - select for diffs
Thu Sep 7 00:06:41 2006 UTC (5 years, 5 months ago) by imp
Branches: MAIN
Diff to: previous 1.54: preferred, colored
Changes since revision 1.54: +2 -2 lines
More removing compatibility macros. md5 still the same. "Dave, stop. I feel my mind slipping away." -- hal
Revision 1.54: download - view: text, markup, annotated - select for diffs
Wed Sep 6 23:44:24 2006 UTC (5 years, 5 months ago) by imp
Branches: MAIN
Diff to: previous 1.53: preferred, colored
Changes since revision 1.53: +64 -64 lines
s/Static/static/g s/device_ptr_t/device_t/g No md5 changes in the .o's # Note to the md5 tracking club: $FreeBSD$ changes md5 after every commit # so you need to checkout -kk to get $FreeBSD$ instead of the actual value # of the keyword.
Revision 1.52.2.1: download - view: text, markup, annotated - select for diffs
Wed Mar 1 02:34:16 2006 UTC (5 years, 11 months ago) by emax
Branches: RELENG_6
CVS tags: RELENG_6_1_BP, RELENG_6_1_0_RELEASE, RELENG_6_1
Diff to: previous 1.52: preferred, colored
Changes since revision 1.52: +1 -3 lines
MFC: Make ukbd(4) to not delay break scancodes in "raw" mode. Developed with: Norbert Koch < NKoch at demig dot de > No response from: freebsd-current@ Tested by: Norbert Koch < NKoch at demig dot de > Approved by: re (scottl)
Revision 1.53: download - view: text, markup, annotated - select for diffs
Tue Feb 28 03:34:06 2006 UTC (5 years, 11 months ago) by emax
Branches: MAIN
Diff to: previous 1.52: preferred, colored
Changes since revision 1.52: +1 -3 lines
Make ukbd(4) to not delay break scancodes in "raw" mode. Developed with: Norbert Koch < NKoch at demig dot de > No response from: freebsd-current@ Tested by: Norbert Koch < NKoch at demig dot de > MFC after: 1 day
Revision 1.52: download - view: text, markup, annotated - select for diffs
Wed Mar 30 08:32:41 2005 UTC (6 years, 10 months ago) by iedowse
Branches: MAIN
CVS tags: RELENG_6_BP, RELENG_6_0_BP, RELENG_6_0_0_RELEASE, RELENG_6_0
Branch point for: RELENG_6
Diff to: previous 1.51: preferred, colored
Changes since revision 1.51: +5 -6 lines
Use the usb_callout_* API instead of timeout()/untimeout() in order to avoid a race condition that can cause the ukbd timeout routine to run after the keyboard has detached. Reported and tested by: wpaul
Revision 1.49.2.1: download - view: text, markup, annotated - select for diffs
Sun Jan 30 01:00:10 2005 UTC (7 years ago) by imp
Branches: RELENG_5
CVS tags: RELENG_5_5_BP, RELENG_5_5_0_RELEASE, RELENG_5_5, RELENG_5_4_BP, RELENG_5_4_0_RELEASE, RELENG_5_4
Diff to: previous 1.49: preferred, colored; next MAIN 1.50: preferred, colored
Changes since revision 1.49: +1 -2 lines
MFC: /*- and my license changes for sys/[a-d]*
Revision 1.51: download - view: text, markup, annotated - select for diffs
Thu Jan 6 01:43:28 2005 UTC (7 years, 1 month ago) by imp
Branches: MAIN
Diff to: previous 1.50: preferred, colored
Changes since revision 1.50: +1 -2 lines
Start each of the license/copyright comments with /*-, minor shuffle of lines
Revision 1.50: download - view: text, markup, annotated - select for diffs
Mon Dec 13 07:09:54 2004 UTC (7 years, 1 month ago) by imp
Branches: MAIN
Diff to: previous 1.49: preferred, colored
Changes since revision 1.49: +1 -1 lines
We don't need vnode.h, but do need uio.h in these files. vnode.h shouldn't be included in drivers, generally, so remove them. OK'd by: phk
Revision 1.49: download - view: text, markup, annotated - select for diffs
Sun Aug 15 23:39:18 2004 UTC (7 years, 5 months ago) by imp
Branches: MAIN
CVS tags: RELENG_5_BP, RELENG_5_3_BP, RELENG_5_3_0_RELEASE, RELENG_5_3
Branch point for: RELENG_5
Diff to: previous 1.48: preferred, colored
Changes since revision 1.48: +1 -3 lines
Tweak the compatibility macros a little so that the device printing is moved into them.
Revision 1.48: download - view: text, markup, annotated - select for diffs
Sun Jun 27 12:41:44 2004 UTC (7 years, 7 months ago) by imp
Branches: MAIN
Diff to: previous 1.47: preferred, colored
Changes since revision 1.47: +1 -1 lines
MFp4: First batch of dev/usb/usbdevs.h -> usbdevs.h changes.
Revision 1.24.2.9: download - view: text, markup, annotated - select for diffs
Mon Mar 1 20:56:02 2004 UTC (7 years, 11 months ago) by jhb
Branches: RELENG_4
CVS tags: RELENG_4_11_BP, RELENG_4_11_0_RELEASE, RELENG_4_11, RELENG_4_10_BP, RELENG_4_10_0_RELEASE, RELENG_4_10
Diff to: previous 1.24.2.8: preferred, colored; branchpoint 1.24: preferred, colored; next MAIN 1.25: preferred, colored
Changes since revision 1.24.2.8: +5 -5 lines
MFC: Fix problem with key rollover.
Revision 1.24.2.8: download - view: text, markup, annotated - select for diffs
Mon Mar 1 00:07:22 2004 UTC (7 years, 11 months ago) by julian
Branches: RELENG_4
Diff to: previous 1.24.2.7: preferred, colored; branchpoint 1.24: preferred, colored
Changes since revision 1.24.2.7: +54 -41 lines
After Far too long, MFC something resembling the -current version of the USB code. This will allow teh addition of USB-2 support to 4.10 and simplify debugging as they had diverged too much. Submitted by: joe@freebsd.org Obtained from: NeBSD via -current
Revision 1.47: download - view: text, markup, annotated - select for diffs
Mon Feb 23 15:36:40 2004 UTC (7 years, 11 months ago) by jhb
Branches: MAIN
Diff to: previous 1.46: preferred, colored
Changes since revision 1.46: +5 -5 lines
Fix a problem with the USB keyboard driver not properly handling key rollover resulting in duplicate keypress events. PR: 57273 PR: 63171 Submitted by: plasma <plasma at freebsd.sinica.edu.tw> Submitted by: Brian Candler <B.Candler at pobox.com> MFC after: 1 week
Revision 1.24.2.7: download - view: text, markup, annotated - select for diffs
Mon Jan 12 12:58:34 2004 UTC (8 years, 1 month ago) by sanpei
Branches: RELENG_4
Diff to: previous 1.24.2.6: preferred, colored; branchpoint 1.24: preferred, colored
Changes since revision 1.24.2.6: +11 -4 lines
MFC: Add support SUN TYPE 6 USB KEYBOARD
Revision 1.46: download - view: text, markup, annotated - select for diffs
Sat Jan 3 15:01:04 2004 UTC (8 years, 1 month ago) by sanpei
Branches: MAIN
Diff to: previous 1.45: preferred, colored
Changes since revision 1.45: +11 -4 lines
Add support SUN TYPE 6 USB KEYBOARD Submitted by: <schley@cf-wnd.de>
Revision 1.45: download - view: text, markup, annotated - select for diffs
Sat Oct 4 21:41:01 2003 UTC (8 years, 4 months ago) by joe
Branches: MAIN
CVS tags: RELENG_5_2_BP, RELENG_5_2_1_RELEASE, RELENG_5_2_0_RELEASE, RELENG_5_2
Diff to: previous 1.44: preferred, colored
Changes since revision 1.44: +4 -0 lines
Make it easier to run this code on RELENG_4. Submitted by: luoqi
Revision 1.44: download - view: text, markup, annotated - select for diffs
Sun Aug 24 17:55:55 2003 UTC (8 years, 5 months ago) by obrien
Branches: MAIN
Diff to: previous 1.43: preferred, colored
Changes since revision 1.43: +3 -1 lines
Use __FBSDID(). Also some minor style cleanups.
Revision 1.43: download - view: text, markup, annotated - select for diffs
Fri Jul 4 01:50:38 2003 UTC (8 years, 7 months ago) by jmg
Branches: MAIN
Diff to: previous 1.42: preferred, colored
Changes since revision 1.42: +21 -21 lines
WARNING: white space diff This code reduces the number of trailing white space to be more in line w/ NetBSD. I don't regenerate usbdevs, saving that for when it really changes.
Revision 1.42: download - view: text, markup, annotated - select for diffs
Tue Apr 29 13:36:01 2003 UTC (8 years, 9 months ago) by kan
Branches: MAIN
CVS tags: RELENG_5_1_BP, RELENG_5_1_0_RELEASE, RELENG_5_1
Diff to: previous 1.41: preferred, colored
Changes since revision 1.41: +1 -1 lines
Deprecate machine/limits.h in favor of new sys/limits.h. Change all in-tree consumers to include <sys/limits.h> Discussed on: standards@ Partially submitted by: Craig Rodrigues <rodrigc@attbi.com>
Revision 1.24.2.6: download - view: text, markup, annotated - select for diffs
Wed Nov 6 20:23:50 2002 UTC (9 years, 3 months ago) by joe
Branches: RELENG_4
CVS tags: RELENG_4_9_BP, RELENG_4_9_0_RELEASE, RELENG_4_9, RELENG_4_8_BP, RELENG_4_8_0_RELEASE, RELENG_4_8
Diff to: previous 1.24.2.5: preferred, colored; branchpoint 1.24: preferred, colored
Changes since revision 1.24.2.5: +2 -2 lines
MFC: Change some structure names to bring them in line with -current
and the other BSDs.
Revision 1.41: download - view: text, markup, annotated - select for diffs
Sun Aug 25 13:17:03 2002 UTC (9 years, 5 months ago) by charnier
Branches: MAIN
CVS tags: RELENG_5_0_BP, RELENG_5_0_0_RELEASE, RELENG_5_0
Diff to: previous 1.40: preferred, colored
Changes since revision 1.40: +2 -2 lines
Replace various spelling with FALLTHROUGH which is lint()able
Revision 1.24.2.5: download - view: text, markup, annotated - select for diffs
Mon Aug 12 14:19:48 2002 UTC (9 years, 6 months ago) by joe
Branches: RELENG_4
CVS tags: RELENG_4_7_BP, RELENG_4_7_0_RELEASE, RELENG_4_7
Diff to: previous 1.24.2.4: preferred, colored; branchpoint 1.24: preferred, colored
Changes since revision 1.24.2.4: +10 -6 lines
MFC: Make debugging the usb stack easier. Introduce a hw.usb sysctl tree and populate it with the debug variables for the different usb drivers when USB_DEBUG is defined as a kernel option.
Revision 1.40: download - view: text, markup, annotated - select for diffs
Thu Aug 8 12:05:50 2002 UTC (9 years, 6 months ago) by joe
Branches: MAIN
Diff to: previous 1.39: preferred, colored
Changes since revision 1.39: +2 -1 lines
Use the hw.usb sysctl tree instead of debug.usb. Requested by: imp
Revision 1.39: download - view: text, markup, annotated - select for diffs
Wed Jul 31 14:34:36 2002 UTC (9 years, 6 months ago) by joe
Branches: MAIN
Diff to: previous 1.38: preferred, colored
Changes since revision 1.38: +5 -5 lines
Replace the FOO_DEBUG definitions with USB_DEBUG, and switch the debugging levels to off by default. Now that debug levels can be tweaked by sysctl we don't need to go through hoops to get the different usb parts to produce debug data.
Revision 1.38: download - view: text, markup, annotated - select for diffs
Wed Jul 31 13:33:55 2002 UTC (9 years, 6 months ago) by joe
Branches: MAIN
Diff to: previous 1.37: preferred, colored
Changes since revision 1.37: +3 -0 lines
Get bored with hard coded debug level variables and introduce a debug.usb sysctl tree for tweaking them real-time. Reviewed by: iedowse
Revision 1.37: download - view: text, markup, annotated - select for diffs
Sun Apr 7 13:16:17 2002 UTC (9 years, 10 months ago) by joe
Branches: MAIN
Diff to: previous 1.36: preferred, colored
Changes since revision 1.36: +4 -2 lines
MFNetBSD: ukbd.c (1.52), usbdi.c (1.54), usbdi.h (1.35)
date: 2000/01/16 09:37:18; author: augustss;
Let usbd_set_polling() work on a usbd_device_handle instead of
a usbd_interface_handle.
Revision 1.36: download - view: text, markup, annotated - select for diffs
Mon Apr 1 21:13:21 2002 UTC (9 years, 10 months ago) by joe
Branches: MAIN
Diff to: previous 1.35: preferred, colored
Changes since revision 1.35: +1 -1 lines
MFNetBSD: Update many URLs.
Revision 1.35: download - view: text, markup, annotated - select for diffs
Wed Jan 2 18:28:45 2002 UTC (10 years, 1 month ago) by joe
Branches: MAIN
Diff to: previous 1.34: preferred, colored
Changes since revision 1.34: +3 -3 lines
Sync with NetBSD: date: 2000/02/29 21:37:01; author: augustss; state: Exp; Distinguish between device and interface classes. (I finally found a document that said that they were different.)
Revision 1.34: download - view: text, markup, annotated - select for diffs
Sun Sep 2 09:26:14 2001 UTC (10 years, 5 months ago) by n_hibma
Branches: MAIN
CVS tags: KSE_PRE_MILESTONE_2, KSE_MILESTONE_2
Diff to: previous 1.33: preferred, colored
Changes since revision 1.33: +3 -2 lines
Only clear endpoint stall if status was USBD_STALLED. This avoids panicing the system by unplugging a hub. The interrupt transfer would sometimes arrive after the driver had been removed.
Revision 1.33: download - view: text, markup, annotated - select for diffs
Sat Sep 1 09:38:45 2001 UTC (10 years, 5 months ago) by n_hibma
Branches: MAIN
Diff to: previous 1.32: preferred, colored
Changes since revision 1.32: +13 -10 lines
First check whether the USB transfer was cancelled before starting to use the data structures related to that keyboard.
Revision 1.24.2.4: download - view: text, markup, annotated - select for diffs
Wed Aug 1 10:42:31 2001 UTC (10 years, 6 months ago) by yokota
Branches: RELENG_4
CVS tags: RELENG_4_6_BP, RELENG_4_6_2_RELEASE, RELENG_4_6_1_RELEASE, RELENG_4_6_0_RELEASE, RELENG_4_6, RELENG_4_5_BP, RELENG_4_5_0_RELEASE, RELENG_4_5, RELENG_4_4_BP, RELENG_4_4_0_RELEASE, RELENG_4_4
Diff to: previous 1.24.2.3: preferred, colored; branchpoint 1.24: preferred, colored
Changes since revision 1.24.2.3: +15 -2 lines
MFC: Add the resume method to keyboard drivers. Remove it from syscons. atkbd_isa.c rev 1.9, ukbd.c rev 1.31, syscons.h rev 1.69, syscons.c rev 1.364, syscons_isa.c rev 1.17.
Revision 1.24.2.3: download - view: text, markup, annotated - select for diffs
Mon Jul 30 16:46:45 2001 UTC (10 years, 6 months ago) by yokota
Branches: RELENG_4
Diff to: previous 1.24.2.2: preferred, colored; branchpoint 1.24: preferred, colored
Changes since revision 1.24.2.2: +2 -2 lines
MFC: fix action code. atkbd_isa.c rev 1.10, atkbd.c rev 1.32, kbd.c rev 1.26, kbdreg.h rev 1.14, ukbd.c 1.32
Revision 1.32: download - view: text, markup, annotated - select for diffs
Fri Jul 20 13:05:57 2001 UTC (10 years, 6 months ago) by yokota
Branches: MAIN
Diff to: previous 1.31: preferred, colored
Changes since revision 1.31: +2 -2 lines
Return consistent key action codes at key press and release events. Otherwise you would see unexpected results if shift or locking keys are defined to give different actions depending on other shift/locking keys' state. Please keep the ukbd module and the kernel in sync, otherwise the USB keyboard won't work after this change. MFC after: 10 days
Revision 1.31: download - view: text, markup, annotated - select for diffs
Sat Jun 30 10:02:32 2001 UTC (10 years, 7 months ago) by yokota
Branches: MAIN
Diff to: previous 1.30: preferred, colored
Changes since revision 1.30: +15 -2 lines
Add the device resume method to keyboard drivers. MFC after: 4 weeks
Revision 1.30: download - view: text, markup, annotated - select for diffs
Tue Jan 9 04:33:17 2001 UTC (11 years, 1 month ago) by wollman
Branches: MAIN
Diff to: previous 1.29: preferred, colored
Changes since revision 1.29: +5 -1 lines
select() DKI is now in <sys/selinfo.h>.
Revision 1.29: download - view: text, markup, annotated - select for diffs
Sun Oct 29 13:56:37 2000 UTC (11 years, 3 months ago) by phk
Branches: MAIN
Diff to: previous 1.28: preferred, colored
Changes since revision 1.28: +1 -2 lines
Remove unneeded #include <sys/proc.h> lines.
Revision 1.28: download - view: text, markup, annotated - select for diffs
Sun Oct 15 14:18:34 2000 UTC (11 years, 3 months ago) by phk
Branches: MAIN
Diff to: previous 1.27: preferred, colored
Changes since revision 1.27: +1 -3 lines
Remove unneeded #include <machine/clock.h>
Revision 1.27: download - view: text, markup, annotated - select for diffs
Sun Oct 8 21:33:55 2000 UTC (11 years, 4 months ago) by phk
Branches: MAIN
Diff to: previous 1.26: preferred, colored
Changes since revision 1.26: +2 -2 lines
Initiate deorbit burn sequence for <machine/console.h>.
Replace all in-tree uses with necessary subset of <sys/{fb,kb,cons}io.h>.
This is also the appropriate fix for exo-tree sources.
Put warnings in <machine/console.h> to discourage use.
November 15th 2000 the warnings will be converted to errors.
January 15th 2001 the <machine/console.h> files will be removed.
Revision 1.24.2.2: download - view: text, markup, annotated - select for diffs
Sun Jul 2 11:43:59 2000 UTC (11 years, 7 months ago) by n_hibma
Branches: RELENG_4
CVS tags: RELENG_4_3_BP, RELENG_4_3_0_RELEASE, RELENG_4_3, RELENG_4_2_0_RELEASE, RELENG_4_1_1_RELEASE, RELENG_4_1_0_RELEASE
Diff to: previous 1.24.2.1: preferred, colored; branchpoint 1.24: preferred, colored
Changes since revision 1.24.2.1: +2 -2 lines
MFC: Update Lennart's e-mail address.
Revision 1.26: download - view: text, markup, annotated - select for diffs
Sun May 14 16:43:09 2000 UTC (11 years, 9 months ago) by n_hibma
Branches: MAIN
CVS tags: PRE_SMPNG
Diff to: previous 1.25: preferred, colored
Changes since revision 1.25: +2 -2 lines
Change Lennart's e-mail address.
Revision 1.24.2.1: download - view: text, markup, annotated - select for diffs
Sun May 7 14:22:46 2000 UTC (11 years, 9 months ago) by n_hibma
Branches: RELENG_4
Diff to: previous 1.24: preferred, colored
Changes since revision 1.24: +63 -63 lines
MFC: static -> Static in order to be more OpenBSD friendly.
Revision 1.25: download - view: text, markup, annotated - select for diffs
Mon Apr 3 20:58:25 2000 UTC (11 years, 10 months ago) by n_hibma
Branches: MAIN
Diff to: previous 1.24: preferred, colored
Changes since revision 1.24: +63 -63 lines
OpenBSD has a broken debugger that does not grok static. Use a
#define Static static
that the OpenBSD folks can define it to be empty if they like.
Revision 1.8.2.2: download - view: text, markup, annotated - select for diffs
Wed Feb 2 13:03:23 2000 UTC (12 years ago) by yokota
Branches: RELENG_3
CVS tags: RELENG_3_5_0_RELEASE
Diff to: previous 1.8.2.1: preferred, colored; branchpoint 1.8: preferred, colored; next MAIN 1.9: preferred, colored
Changes since revision 1.8.2.1: +26 -115 lines
YAMFC: Remove cdevsw entry points in individual keyboard drivers; instead, use generic entry points for all drivers. Eliminate softc in the lower drivers, as it is no longer necessary. (ukbd.c 1.17, atkbd_isa.c 1.5, atkbd.c 1.14, atkbdreg.h 1.3, kbd.c 1.10, kbdreg.h 1.4)
Revision 1.24: download - view: text, markup, annotated - select for diffs
Thu Jan 20 13:24:28 2000 UTC (12 years ago) by yokota
Branches: MAIN
CVS tags: RELENG_4_BP, RELENG_4_0_0_RELEASE
Branch point for: RELENG_4
Diff to: previous 1.23: preferred, colored
Changes since revision 1.23: +1 -2 lines
Do not include `ukbd.h'; it's not used. Pointed out by: bde
Revision 1.23: download - view: text, markup, annotated - select for diffs
Thu Jan 20 07:38:31 2000 UTC (12 years ago) by wpaul
Branches: MAIN
Diff to: previous 1.22: preferred, colored
Changes since revision 1.22: +3 -2 lines
More USB ethernet tweaks:
- Sync ohci, uhci and usbdi modules with NetBSD in order to obtain the
following improvements:
o New USBD_NO_TSLEEP flag can be used in place of UQ_NO_TSLEEP
quirk. This allows drivers to specify busy waiting only for
certain transfers (namely control transfers for reading/writing
registers and stuff).
o New USBD_FORCE_SHORT_XFER flag can be used to deal with
devices like the ADMtek Pegasus that sense the end of bulk OUT
transfers in a special way (if a transfer is exactly a multiple
of 64 bytes in size, you need to send an extra empty packet
to terminate the transfer).
o usbd_open_pipe_intr() now accepts an interval argument which
can be used to change the rate at which the interrupt callback
routine is invoked. Specifying USBD_DEFAULT_INTERVAL uses the
value specified in the device's config data, but drivers can
override it if needed.
- Change if_aue to use USBD_FORCE_SHORT_XFER for packet transmissions.
- Change if_aue, if_kue and if_cue to use USBD_NO_TSLEEP for all
control transfers. We no longer force the non-tsleep hack for
bulk transfers since these are done asynchronously anyway.
- Removed quirk entry fiddling from if_aue and if_kue since we don't
need it anymore now that we have the USBD_NO_TSLEEP flag.
- Tweak ulpt, uhid, ums and ukbd drivers to use the new arg to
usbd_open_pipe_intr().
- Add a flag to the softc struct in the ethernet drivers to indicate
when a device has been detached, and use this flag to perform
tests to prevent the drivers from trying to do control transfers
if this is the case. This is necessary because calling if_detach()
with INET6 enabled will eventually result in a call to the driver's
ioctl() routine to delete the multicast groups on the interface,
which will result in attempts to perform control transfers. (It's
possible this also happens even without INET6 support enabled.) This
is pointless since we know that if the detach method has been called,
the hardware has been unplugged.
- Changed watchdog timeout routines to just call the driver init routines
to initialize the device states without trying to close and re-open the
pipes. This is partly because we don't want to frob things at interrupt
context, but also because this doesn't seem to work right and I don't
want to panic the system just because a USB device may have stopped
responding.
- Fix aue_rxeof() to be a little smarter about detecting when a double
transfer is needed. Unfortunately, the design of the chip makes it hard
to get this exactly right. Hopefully, this will go away once either
Nick or Lennart finds the bug in the uhci driver that makes this ugly
hack necessary.
- Also sync usbdevs with NetBSD.
Revision 1.22: download - view: text, markup, annotated - select for diffs
Tue Jan 11 13:38:57 2000 UTC (12 years, 1 month ago) by yokota
Branches: MAIN
Diff to: previous 1.21: preferred, colored
Changes since revision 1.21: +4 -1 lines
Rework shifta/ctla/alta key handling. It appears that there was misunderstanding between the PR originator and me. I hope I got it right this time.
Revision 1.21: download - view: text, markup, annotated - select for diffs
Mon Dec 13 10:36:27 1999 UTC (12 years, 2 months ago) by yokota
Branches: MAIN
Diff to: previous 1.20: preferred, colored
Changes since revision 1.20: +23 -5 lines
- Add a module event function to the ukbd driver and make the ukbd KLD module work. - Delete unnecessary #include.
Revision 1.20: download - view: text, markup, annotated - select for diffs
Wed Nov 17 22:33:43 1999 UTC (12 years, 2 months ago) by n_hibma
Branches: MAIN
Diff to: previous 1.19: preferred, colored
Changes since revision 1.19: +9 -10 lines
Synchronisation with NetBSD as of 1999/11/16: Cleaning up the code: - Declare many functions static - Change variable names to make them more self explanatory - Change usbd_request_handle -> usbd_xfer_handle - Syntactical changes - Remove some unused code - Other KNF changes Interrupt context handling - Change delay to usbd_delay_ms were possible (takes polling mode into account) - Change detection mechanism for interrupt context Add support for pre-allocation DMA-able memory by device driver Add preliminary support for isochronous to the UHCI driver (not for OHCI yet). usb.c, uhci.c, ohci.c - Initial attempt at detachable USB host controllers - Handle the use_polling flag with a lttle more care and only set it if we are cold booting. usb.c, uhci.c ohci.c, usbdi.c usbdi_util.c usb_subr.c - Make sure an aborted pipe is marked as not running. - Start queued request in the right order. - Insert some more DIAGNOSTIC sanity checks. - Remove (almost) unused definitions USBD_XFER_OUT and USBD_XFER_IN. usb.c, usb_subr.c - Add an event mechanism so that a userland process can watch devices come and go. ohci.c - Handle the case when a USB transfer is so long that it crosses two page (4K) boundaries. OHCI cannot do that with a single TD so we make a chain. ulpt.c - Use a bigger buffer when transferring data. - Pre-allocate the DMA buffer. This makes the driver slightly more efficient. - Comment out the GET_DEVICE_ID code, because for some unknown reason it causes printing to fail sometimes. usb.h - Add a macro to extract the isoc type. - Add a macro to check whether the routine has been entered after splusb and if not, complain. usbdi.c - Fix a glitch in dequeueing and aborting requests on interrupt pipes. - Add a flag in the request to determine if the data copying is done by the driver or the usbdi layer.
Revision 1.19: download - view: text, markup, annotated - select for diffs
Thu Oct 7 18:53:08 1999 UTC (12 years, 4 months ago) by n_hibma
Branches: MAIN
Diff to: previous 1.18: preferred, colored
Changes since revision 1.18: +21 -35 lines
Remove last bits and pieces of NetBSD porting. Remove the use of ukbd_disconnect and replace it with direct calls to disable. Change printf to DPRINTF Remove the use of usbd_lock, change it to splusb()/splx()
Revision 1.18: download - view: text, markup, annotated - select for diffs
Sat Aug 28 11:35:35 1999 UTC (12 years, 5 months ago) by n_hibma
Branches: MAIN
Diff to: previous 1.17: preferred, colored
Changes since revision 1.17: +1 -3 lines
We use device_set_desc_copy, so we do not need to free the copied text manually.
Revision 1.17: download - view: text, markup, annotated - select for diffs
Sun Aug 22 09:52:24 1999 UTC (12 years, 5 months ago) by yokota
Branches: MAIN
Diff to: previous 1.16: preferred, colored
Changes since revision 1.16: +27 -131 lines
- Remove cdevsw entry points in individual keyboard drivers; instead, use generic entry points for all drivers. - Eliminate bogus makedev(). - Eliminate softc in the lower drivers, as it is no longer necessary. Submitted (95%) by: phk
Revision 1.16: download - view: text, markup, annotated - select for diffs
Sat Jun 26 12:55:25 1999 UTC (12 years, 7 months ago) by n_hibma
Branches: MAIN
Diff to: previous 1.15: preferred, colored
Changes since revision 1.15: +3 -3 lines
Change 'device' to 'self', to be more like the rest of the code
Revision 1.15: download - view: text, markup, annotated - select for diffs
Sun May 30 16:51:48 1999 UTC (12 years, 8 months ago) by phk
Branches: MAIN
Diff to: previous 1.14: preferred, colored
Changes since revision 1.14: +21 -6 lines
This commit should be a extensive NO-OP:
Reformat and initialize correctly all "struct cdevsw".
Initialize the d_maj and d_bmaj fields.
The d_reset field was not removed, although it is never used.
I used a program to do most of this, so all the files now use the
same consistent format. Please keep it that way.
Vinum and i4b not modified, patches emailed to respective authors.
Revision 1.8.2.1: download - view: text, markup, annotated - select for diffs
Sun May 9 11:02:23 1999 UTC (12 years, 9 months ago) by yokota
Branches: RELENG_3
CVS tags: RELENG_3_4_0_RELEASE, RELENG_3_3_0_RELEASE, RELENG_3_2_PAO_BP, RELENG_3_2_PAO, RELENG_3_2_0_RELEASE
Diff to: previous 1.8: preferred, colored
Changes since revision 1.8: +1304 -447 lines
YAMFC: merge updated keyboard driver code:
- Refined internal interface in keyboard drivers so that:
1. the side effect of device probe is kept minimal,
2. polling mode function is added,
3. and new ioctl and configuration options are added (see below).
- Added new ioctl: KDSETREPEAT
Set keyboard typematic rate. There has existed an ioctl command,
KDSETRAD, for the same purpose. However, KDSETRAD is dependent on
the AT keyboard. KDSETREPEAT provides more generic interface.
KDSETRAD will still be supported in the atkbd driver.
- Added new configuration options:
ATKBD_DFLT_KEYMAP
Specify a keymap to be used as the default, built-in keymap.
(There has been undocumented options, DKKEYMAP, UKKEYMAP, GRKEYMAP,
SWKEYMAP, RUKEYMAP, ESKEYMAP, and ISKEYMAP to set the default keymap.
These options are now gone for good. The new option is more general.)
KBD_DISABLE_KEYMAP_LOADING
Don't allow the user to change the keymap.
- And other minor fixes and updates.
merged files and revisions
---------------------------------------------------------------------
usr.sbin/kbdcontrol/kbdcontrol.c 1.22, 1.23, 1.24, 1.25
usr.sbin/vidcontrol/vidcontrol.c 1.27
sys/alpha/include/console.h 1.42, 1.43, 1.44
sys/dev/kbd/kbd.c 1.4
sys/dev/kbd/kbdreg.h 1.3
sys/dev/kbd/kbdtables.h 1.45
sys/dev/kbd/atkbd.c 1.5, 1.8
sys/dev/kbd/atkbdreg.h 1.2
sys/dev/syscons/syscons.c 1.295, 1.296, 1.299
sys/dev/usb/ukbd.c 1.9, 1.10, 1.11, 1.12, 1.13
sys/i386/conf/LINT 1.565
sys/i386/conf/options.i386 1.109
sys/i386/conf/files.i386 1.228
sys/i386/include/console.h 1.45
sys/i386/isa/atkbd_isa.c 1.3
sys/i386/isa/pcvt/pcvt_kbd.c 1.28, 1.29
sys/isa/atkbd_isa.c 1.2
Revision 1.14: download - view: text, markup, annotated - select for diffs
Mon May 3 23:16:05 1999 UTC (12 years, 9 months ago) by n_hibma
Branches: MAIN
Diff to: previous 1.13: preferred, colored
Changes since revision 1.13: +6 -9 lines
Change '#if UKBD_DEBUG' to '#ifdef...' Remove freeing of description on detach. Is done by subr_bus.c.
Revision 1.13: download - view: text, markup, annotated - select for diffs
Sun Apr 11 20:50:33 1999 UTC (12 years, 10 months ago) by n_hibma
Branches: MAIN
CVS tags: PRE_VFS_BIO_NFS_PATCH, PRE_SMP_VMSHARE, PRE_NEWBUS, POST_VFS_BIO_NFS_PATCH, POST_SMP_VMSHARE, POST_NEWBUS
Diff to: previous 1.12: preferred, colored
Changes since revision 1.12: +12 -10 lines
1) Make debugging more selective. 2) create function usbd_errstr which turns a usbd_status into a sensible error message 3) Change the printf in DPRINTF to logprintf which is a define for log(KERN_DEBUG, x)
Revision 1.12: download - view: text, markup, annotated - select for diffs
Sun Apr 11 16:49:15 1999 UTC (12 years, 10 months ago) by n_hibma
Branches: MAIN
Diff to: previous 1.11: preferred, colored
Changes since revision 1.11: +100 -67 lines
Applied patch for ukbd disconnect. Disconnect not fully functional yet however. Supplied by: Kazutaka YOKOTA <yokota@zodiac.mech.utsunomiya-u.ac.jp>
Revision 1.11: download - view: text, markup, annotated - select for diffs
Mon Mar 22 19:55:30 1999 UTC (12 years, 10 months ago) by n_hibma
Branches: MAIN
Diff to: previous 1.10: preferred, colored
Changes since revision 1.10: +1261 -440 lines
Implementation of the keyboard driver. Done by: Kazutaka YOKOTA <yokota@zodiac.mech.utsunomiya-u.ac.jp>
Revision 1.10: download - view: text, markup, annotated - select for diffs
Thu Jan 28 01:59:49 1999 UTC (13 years ago) by dillon
Branches: MAIN
Diff to: previous 1.9: preferred, colored
Changes since revision 1.9: +3 -3 lines
Fix warnings in preparation for adding -Wall -Wcast-qual to the
kernel compile
Revision 1.9: download - view: text, markup, annotated - select for diffs
Fri Jan 22 00:51:12 1999 UTC (13 years ago) by n_hibma
Branches: MAIN
Diff to: previous 1.8: preferred, colored
Changes since revision 1.8: +2 -1 lines
Textual changes
Revision 1.8: download - view: text, markup, annotated - select for diffs
Thu Jan 14 01:28:14 1999 UTC (13 years, 1 month ago) by n_hibma
Branches: MAIN
CVS tags: RELENG_3_BP, RELENG_3_1_0_RELEASE
Branch point for: RELENG_3
Diff to: previous 1.7: preferred, colored
Changes since revision 1.7: +4 -4 lines
Corrected the latent fact that the uhub driver was providing a driver for the usb device class instead of the uhub devclass. Only a problem with more than one USB host controller.
Revision 1.7: download - view: text, markup, annotated - select for diffs
Wed Jan 13 01:09:13 1999 UTC (13 years, 1 month ago) by n_hibma
Branches: MAIN
Diff to: previous 1.6: preferred, colored
Changes since revision 1.6: +2 -2 lines
Changed 'xxxdebug = 0' to '...= 1' (Brian Feldman)
Revision 1.6: download - view: text, markup, annotated - select for diffs
Sun Jan 10 18:42:52 1999 UTC (13 years, 1 month ago) by n_hibma
Branches: MAIN
Diff to: previous 1.5: preferred, colored
Changes since revision 1.5: +2 -4 lines
Sync with NetBSD sources. Almost there. Mostly style fixes.
Revision 1.5: download - view: text, markup, annotated - select for diffs
Thu Jan 7 23:31:34 1999 UTC (13 years, 1 month ago) by n_hibma
Branches: MAIN
Diff to: previous 1.4: preferred, colored
Changes since revision 1.4: +0 -0 lines
Major synchronisation with NetBSD USB code
Revision 1.4: download - view: text, markup, annotated - select for diffs
Thu Jan 7 23:07:55 1999 UTC (13 years, 1 month ago) by n_hibma
Branches: MAIN
Diff to: previous 1.3: preferred, colored
Changes since revision 1.3: +155 -113 lines
Major synchronisation with NetBSD USB code
Revision 1.3: download - view: text, markup, annotated - select for diffs
Mon Dec 14 09:32:24 1998 UTC (13 years, 2 months ago) by n_hibma
Branches: MAIN
Diff to: previous 1.2: preferred, colored
Changes since revision 1.2: +2 -0 lines
Added Id to all files
Revision 1.2: download - view: text, markup, annotated - select for diffs
Sun Dec 13 22:27:42 1998 UTC (13 years, 2 months ago) by n_hibma
Branches: MAIN
Diff to: previous 1.1: preferred, colored
Changes since revision 1.1: +0 -13 lines
Updated USB kernel sources to NetBSD sources of 1998-12-09. 1 bug fix and several textual changes. Preparing to feed back changes for port into NetBSD to create one source base.
Revision 1.1: download - view: text, markup, annotated - select for diffs
Thu Nov 26 23:13:12 1998 UTC (13 years, 2 months ago) by n_hibma
Branches: MAIN
Initial commit of ported NetBSD USB stack
