| Commit message (Collapse) | Author | Age | Files | Lines |
| |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
1) Allocating with M_WAITOK, checking for NULL, and calling panic() is
pointless (malloc() will panic if it can't allocate) so remove the check
and the call.
2) Allocating with M_WAITOK, checking for NULL, and then gracefully
handling failure to allocate is pointless. Instead also pass M_CANFAIL
so malloc() doesn't panic so we can actually handle it gracefully.
1) was done using Coccinelle.
Input from oga.
ok miod.
|
| |
|
|
| |
ok deraadt@
|
| |
|
|
| |
ok miod@
|
| |
|
|
|
|
|
| |
recursion when trying to send commands from input callbacks. Makes the
caps/num/scroll lock keys on btkbd correctly lit the leds instead of
panic'ing.
Noticed and fix tested by mlarkin@, "do whatever you want in bt" deraadt@
|
| |
|
|
|
| |
duplication and divergence.
Thanks to mlarkin@ for bluetooth devices tests.
|
| |
|
|
|
|
|
|
|
|
| |
for both structs, the new members are 'bps' and 'msb', which
describe the number of bytes per sample and data alignment in the
sample, respectively. drivers must properly set these fields in
the 'query_encoding', 'set_parameters' and 'get_default_params'
hardware interface methods.
discussed with ratchov, deraadt
|
| |
|
|
| |
ok krw@
|
| |
|
|
|
|
|
| |
found by Clement LECIGNE, localhost DoS everywhere. Also, don't leak
the mbuf when the wrong level is used.
ok claudio@, "just commit" deraadt@
|
| |
|
|
|
|
| |
No functional changes.
ok krw@ miod@
|
| | |
|
| | |
|
| |
|
|
|
| |
to ease debugging
ok uwe
|
| | |
|
| | |
|
| |
|
|
|
| |
Someone must have fumbled with this line by accident while doing the
original port of the driver.
|
| | |
|
| |
|
|
|
|
|
| |
This should take care of the simpler ones (i.e., timeout values of
integer multiples of hz).
ok krw@, art@
|
| |
|
|
| |
don't have problib
|
| |
|
|
|
|
|
| |
- Make btms(4) and btkbd(4) compile.
- Removed remaining proplib NetBSD'sim
Prodded a while ago by gwk@. Eyeballed by miod@.
|
| | |
|
| |
|
|
|
|
|
|
| |
de-proplibed some of the netbsd bluetooth drives for HID devices
(mice and keyboards) they will however NOT BUILD YET as they lack the
glue device bthidev and our replacement for the problib.
no objections from uwe
|
| |
|
|
|
|
| |
Revert it to needs-flag.
Noticed by xsa.
|
| | |
|
| |
|
|
| |
Also, don't restrict to only opening dev minor 0.
|
| |
|
|
|
|
|
|
|
| |
device inquiry/discovery parameters, pairings, and what else might be
needed.
From discussion with gwk. MAKEDEV goo follows later.
ok and lots of input from miod.
|
|
|
ok gwk
|