atkbd: Disable periodic polling by default.
It is one of the few remaining Giant-locked callouts. It would be good to remove it, not mentioning that polling itself is not good. If this cause keyboard/mouse freezes on some hardware, please set loader tunable hw.atkbd.hz=1 as workaround and report the issue. Submitted by: imp, jhb
This commit is contained in:
parent
f3c2987f2f
commit
ce88117008
@ -77,7 +77,7 @@ typedef struct atkbd_state {
|
||||
static SYSCTL_NODE(_hw, OID_AUTO, atkbd, CTLFLAG_RD | CTLFLAG_MPSAFE, 0,
|
||||
"AT keyboard");
|
||||
|
||||
static int atkbdhz = 1;
|
||||
static int atkbdhz = 0;
|
||||
SYSCTL_INT(_hw_atkbd, OID_AUTO, hz, CTLFLAG_RWTUN, &atkbdhz, 0,
|
||||
"Polling frequency (in hz)");
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user