diff options
author | delphij <delphij@FreeBSD.org> | 2011-05-20 22:36:17 +0000 |
---|---|---|
committer | delphij <delphij@FreeBSD.org> | 2011-05-20 22:36:17 +0000 |
commit | b1c7404a29cca0fe879d99c3022eef64cb1a8017 (patch) | |
tree | 47bf37de0fac2dc4334f390e3560b01b3292888b /sys/dev/atkbdc/atkbdreg.h | |
parent | a1bf1a258207345435ea10acd5842a3edd836a66 (diff) | |
download | FreeBSD-src-b1c7404a29cca0fe879d99c3022eef64cb1a8017.zip FreeBSD-src-b1c7404a29cca0fe879d99c3022eef64cb1a8017.tar.gz |
Add a new knob to atkbd(4) to enable typematic rate detection on boot,
which is now disabled by default. The detection is known to cause hangs
on boot with some new Lenovo laptops on FreeBSD/amd64.
Reported by: gnn
Discussed with: jkim
MFC after: 3 months
Diffstat (limited to 'sys/dev/atkbdc/atkbdreg.h')
-rw-r--r-- | sys/dev/atkbdc/atkbdreg.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/sys/dev/atkbdc/atkbdreg.h b/sys/dev/atkbdc/atkbdreg.h index cf7ee6b..3d54b4d 100644 --- a/sys/dev/atkbdc/atkbdreg.h +++ b/sys/dev/atkbdc/atkbdreg.h @@ -36,6 +36,7 @@ #define KB_CONF_NO_RESET (1 << 1) /* don't reset the keyboard */ #define KB_CONF_ALT_SCANCODESET (1 << 2) /* assume the XT type keyboard */ #define KB_CONF_NO_PROBE_TEST (1 << 3) /* don't test keyboard during probe */ +#define KB_CONF_PROBE_TYPEMATIC (1 << 4) /* probe keyboard typematic */ #ifdef _KERNEL |