Age | Commit message (Collapse) | Author |
|
can be found in iBook G4 12".
Remove references for LCD panel sizes because the same device can be found
on different sized laptops and it has nothing to do with the trackpad.
Introduce a type variable that stores the device type: FOUNTAIN, GEYSER1 or
GEYSER2. This value helps deciding some of the device parameters and it gets
printed in the dmesg instead of the panel size.
Introduce "mouse button emulation" on multi-touch trackpads just like in
macos, so it's not needed to bind mouse buttons to the keyboard anymore:
Tap two fingers + mouse button = 3rd mouse button = right click
Tap three fingers + mouse button = 2nd mouse button = middle click
Discussed with and ok: miod@ and maja@
|
|
APM_IOC_{SUSPEND,STANDBY}_REQ: This is to fix an issue with apm suspend
where a call to zzz suspended the machine immediately, not giving anyone
listening for apm events (other than apmd) a chance to deal with the
upcoming change. This hit X hard since the introduction of drm, since it
needs to have time to idle the 3d engine and otherwise get the device
into a recoverable state. Such things are needed until we support
modesetting in the kernel.
Now, instead of forcing a suspend, using ioctl sends out an event similar
to if you had put the lid down, giving all userland applications a
chance to reply.
tested by sthen@ and beck@, especial thanks to sthen for sitting there
while I tried to debug this remotely, I owe him beer.
Prompted by and ok deraadt@
|
|
as additional argument. This will allow intermediate layers between
scsi devices such as sd and scsi host adapters to take appropriate
action if necessary.
|
|
|
|
powerdown if we try to issue pmu commands. Skip these if no adb device
appears in the device tree.
Adapted from NetBSD.
|
|
conversions.
ok kettenis@
ok krw@ (possibly for the second time :)
|
|
on apple laptops.
The eject button will only eject the disc when it's not used by
anything.
ok miod@
|
|
from the individual drivers now that ether_ioctl() handles this.
Shrinks the i386 kernels by..
RAMDISK - 2176 bytes
RAMDISKB - 1504 bytes
RAMDISKC - 736 bytes
Tested by naddy@/okan@/sthen@/brad@/todd@/jmc@ and lots of users.
Build tested on almost all archs by todd@/brad@
ok naddy@
|
|
"looks sane to me" marco@
|
|
there
|
|
at apple code
go ahead drahn@
|
|
o set init data to match snapper_set_foo*
o set volume to 190 (audible compared to the default)
o set input to mic (most common usage)
ok jakemsr@
|
|
control. makes mixerctl(1) output more sensible.
ok drahn, todd
|
|
* for outputs.{bass,treble}, 0 dB corresponds to mixer value 128,
not 0.
* line-in is configured as the default recording source; set
sc->sc_record_source accordingly.
* add missing register to initialization code.
from Marco (marco2z at arsystel com), thanks
testing/ok drahn@
|
|
causes high priority interrupts to be delayed until that state is cleared.
|
|
|
|
tested by me, from ratchov@, please commit ratchov@
|
|
|
|
mulaw mono, which few can even do.
"Please just get this in." brad@
|
|
This should take care of the simpler ones (i.e., timeout values of
integer multiples of hz).
ok krw@, art@
|
|
|
|
Move calling ether_ioctl() from the top of the ioctl function, which
at the moment does absolutely nothing, to the default switch case.
Thus allowing drivers to define their own ioctl handlers and then
falling back on ether_ioctl(). The only functional change this results
in at the moment is having all Ethernet drivers returning the proper
errno of ENOTTY instead of EINVAL/ENXIO when encountering unknown
ioctl's.
Shrinks the i386 kernels by..
RAMDISK - 1024 bytes
RAMDISKB - 1120 bytes
RAMDISKC - 832 bytes
Tested by martin@/jsing@/todd@/brad@
Build tested on almost all archs by todd@/brad@
ok jsing@
|
|
|
|
noisy. Hopefully this will quiet it down for all but extremely odd cases
(where we probably want to see the messages).
|
|
blocking specific interrupts. Needs signficant testing to prove that
one remaining elusive bug has been squashed.
|
|
|
|
|
|
o attempt to make record work (but silence for now)
from drahn@, ok maja@, drahn@
|
|
ok miod@, deraadt@
|
|
prints it. These should be the last offenders.
|
|
|
|
Not sure what's more surprising: how long it took for NetBSD to
catch up to the rest of the BSDs (including UCB), or the amount of
code that NetBSD has claimed for itself without attributing to the
actual authors.
OK deraadt@
|
|
ok drahn@ gwk@
|
|
|
|
|
|
ok drahn@
|
|
add biglock before interrupt calls into the kernel.
switch the clock to using cpuinfo variables instead of globals
move cpu_switchto into C code so that on multiprocessor the FPU
and Altivec can be saved before switching CPUs.
add a lock into pmap when modifying the hash table.
|
|
Prodded by deraadt; ok dlg derradt
|
|
instead of 8-bit mono mulaw @ 8kHz.
this is just the infrastructure; no drivers are specifying a default
yet.
ok ratchov@, deanna@
|
|
ok kettenis
|
|
tested by deraadt@, ok krw@
|
|
the hp300 related ones currently in use. CN_NORMAL becomes CN_LOWPRI,
CN_INTERNAL becomes CN_MIDPRI and CN_REMOTE becomes CN_HIGHPRI.
ok miod@
|
|
cleared with all original authors. ok deraadt
|
|
devices support 8kHz sample rates, and there is insufficient
code to enable it properly on the devices that do support 8kHz.
fixes "evil sound" problem reported by ajacoutot@ and jdixon@.
ok deanna@, ratchov@, ajacoutot@
|
|
- the endianness of the conversions don't depend on the endianness
of machine the conversions are built on, but the endianness of the
audio data itself. choose encoding conversions explicitly, instead
of relying on #defines based on the endianness of the machine.
- replace home-grown conversions with comparable conversions in
auconv.c and mulaw.c
- use the proper conversion for ulinear_be:16 -> slinear_le:16 in
auixp(4)
thanks ajacoutot@ and sthen@ for !x86 testing
|
|
ok miod@, deraadt@
|
|
ok miod@
|
|
MALLOC/FREE, etc. Just adding M_ZERO to malloc() and deleting an
immediately adjacent bzero().
|
|
kernel thread of its own. the api has changed (which will be fixed in the
manpage shortly) so all the users of sensor tasks that i can find have
been fixed too.
noone tested, so its going in to force people to run with it.
"put it in" deraadt@
|
|
USB_DECLARE_DRIVER macros.
No binary change.
ok dlg.
|