| Commit message (Collapse) | Author | Age | Files | Lines |
| |
|
|
|
|
| |
bluetooth support doesn't work and isn't going anywhere. the current
design is a dead end, and should not be the basis for any future support.
general consensus says to whack it so as to not mislead the unwary.
|
| |
|
|
| |
Report and patch from Rafael Neves, thanks!
|
| |
|
|
|
|
|
|
|
|
|
|
|
| |
structures (including sound-card registers) from concurent
access by syscall and interrupt code-paths. Since critical
sections remain the same, calls to splraise/spllower can be
safely replaced by calls to mtx_enter/mtx_leave with two
exceptions: (1) mutexes are not reentrant (the inner splraise
is thus removed), and (2) we're not allowed to sleep with a
mutex (either msleep is used or the mutex is released before
sleeping).
ok and help from kettenis, a lot of work from armani
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
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
|