t_timer_create: Add some more test cases.
PR kern/58917: timer_settime and timerfd_settime return absolute time
of next event
PR kern/58919: timer_settime fails to trigger for past times
acpi: Honour device dependencies ("_DEP" method).
When creating acpi_devnode devices, build a list of devnodes that are
direct dependencies of this node. The list of dependencies are parent
device nodes (if present), along with all devices returned by the _DEP
method.
When rescanning devices, make sure that all dependencies have been
scanned first. This ensures that drivers attach in the correct order.
From tkoeppe at github: Specify SA_ONSTACK when setting up a signal
handler. This allows the handler to use the alternate signal stack
if one is available in the handling thread, but has no effect
otherwise.
This change makes the signal handler respect existing choices
better. Specifically, this allows signal handlers to be set when
the process includes a Go runtime, since Go enforces that all signal
handlers in the process use the SA_ONSTACK flag (e.g. see
golang/go#20400).
qcomgpioreg.h: Add missing sys/cdefs.h for __BIT/__BITS.
No functional change intended, other than to make potential users
build when they previously wouldn't.
acpi_gpio.h: Add missing includes and forward declarations.
No functional change intended, other than to make potential users
build when they previously wouldn't.
acpi_event.h: Add missing includes and forward declarations.
No functional change intended, other than to make potential users
build when they previously wouldn't.
acpi_intr.h: Add missing includes and forward declarations.
Nix spurious parameter name in prototype.
No functional change intended, other than to make potential users
build when they previously wouldn't.
A driver for the MCP-2221 / 2221A multi-io chip. This is a USB to
UART / GPIO / I2C multi-io chip probably based upon a programmed PIC.
The end result is that simple gpio and i2c can exist on any system
that provides a USB port. This is everything from a RPI to a
Virtualbox VM.
o The UART presents itself as a umodem(4) device and pretty much works
as one would expect.
o There are 4 simple GPIO pins with multiple functions that attach to
gpio(4). Support for basic GPIO input and output exists with gpioctl,
the ADC, DAC and clock pulse functions exist as ALT functions. For
the ADC and DAC /dev/ devices are provided such that simple reads and
writes interact with the ADC and DAC. The IRQ function on pin GP1 and
bit banging the GPIO with gpiopps(4) and gpioow(4) are not really
[29 lines not shown]