summaryrefslogtreecommitdiff
path: root/sys
AgeCommit message (Collapse)Author
2015-06-15Remove comments referring to Linux iwlwifi source filenames from iwm(4).Stefan Sperling
Linux is a moving target so these comments provide little value. Discussed with kettenis and deraadt.
2015-06-15Make the wifi LED work with iwm(4).Stefan Sperling
The bad news: Many laptops sold with iwm(4) cards don't have a wifi LED :-( The good news: Laptops with LEDs and no wifi device white-list in BIOS actually exist! Tested in one such machine. ok kettenis@ deraadt@
2015-06-14Bring a few routines from libkern in order to avoid linking against libgcc.Miod Vallat
2015-06-14Build required bits from libkern rather than importing them from libgcc.Miod Vallat
2015-06-14Build __moddi3, __muldi3 and __qdivrem from libkern, and built no-pie, insteadMiod Vallat
of getting them from libgcc.a, built pie. This repairs boot blocks operation on sparc, as found the hard way by sebastia@
2015-06-14Fix 1.26; kdoprnt() should not attempt to invoke va_end() at all, it's theMiod Vallat
caller's responsibility to do so.
2015-06-14Implement IQ calibration support for rtwn(4). Lots of black magic involved.Stefan Sperling
2015-06-14correct the uart irq numbersJonathan Gray
ok bmercer@
2015-06-14add a driver for the ARM PrimeCell PL031 RTCJonathan Gray
2015-06-13Parse _CST objects and use the C-states they describe when they're sane.Philip Guenther
testing by many, particularly krw@ and jcs@ tweaks by kettenis@ ok deraadt@
2015-06-13Busy-wait a short while after sending a command to rtwn(4) firmware.Stefan Sperling
Fixes selection of initial TX rate. We're not stuck at 1Mbit/s anymore.
2015-06-13When investigating an uninitialised variable in the armv7 resettodr()Jonathan Gray
miod pointed out that time_second should be compared to 1 not 0 in the md resettodr() functions as it is initialised to 1. ok miod@ deraadt@
2015-06-12Only match devices with a valid configuration.Martin Pieuchot
Most of the WiFi/Ethernet USB adapter only have one configuration and always use its first interface. In order to improve USB descriptors parsing start by reducing the number of places where a configuration is set. Tests & ok stsp@
2015-06-12Remove superfluous splnet() protection.Martin Pieuchot
ok lteo@
2015-06-12Actually trigger iwm_init_task() from iwm_watchdog() as intended to giveStefan Sperling
recovery after device timeout a chance. Don't mess with the IFF_UP flag in the watchdog since this isn't done anywhere except intel wifi drivers which probably copied this pattern amongst each other. ok kettenis@
2015-06-12Fix rtwn(4) wifi LED support. Tested with rtwn(4) device in Thinkpad X220.Stefan Sperling
2015-06-11In the copyout family of functions, if the address is out of rangeTheo de Raadt
ensure the register containing the proc pointer is initialized. ok miod
2015-06-11Move hzto(9) to the attic; OK dlgMike Belopuhov
2015-06-11Convert from hzto(9) to tvtohz(9); OK dlgMike Belopuhov
2015-06-11Move away from using hzto(9); OK dlgMike Belopuhov
2015-06-11convert sc_sendq into an mbuf_list, and use ph_cookie rather than rcvif toJonathan Matthew
store the sgl address, allowing rcvif to be removed. ok mpi@ dlg@ uebayasi@
2015-06-11Avoid double-free in error path by cribbing the HASBUF flagBret Lambert
logic from the rest of the kernel that deals with filename lookups. In snaps for some time. Initially found by jsg@ Prodded by deraadt@
2015-06-11remove uneeded pci includesJonathan Gray
2015-06-10Typos: equalivant, fucntion, libary.Miod Vallat
2015-06-10Don't claim the autri(4) driver supports big-ending, signed 8-bit,Alexandre Ratchov
or unsigned 16-bit samples. Fixes sound on big endian machines.
2015-06-10Use first 4 channels of the board. The previous channel settingAlexandre Ratchov
caused DMA on the wrong memory location during recording. ok kettenis@
2015-06-10Do not set "rcvif", if_input() does it for us.Martin Pieuchot
Found the hardway by krw@ trying a diff that kills "rcvif". ok stsp@
2015-06-10Add missing include.Martin Pieuchot
2015-06-09Remove the hack to check if the received pointer has changed in an ifihMartin Pieuchot
now that all drivers and pseudo-drivers are using if_input(). if_input() is reentrant and is now the only place where we set `rcvif'.
2015-06-09Convert trunk(4) to if_input().Martin Pieuchot
ok dlg@
2015-06-08More damned eye searing whitespace. No change to .o files.Kenneth R Westerback
2015-06-08enable agtimer on the ramdisk as wellJonathan Gray
2015-06-08At some point arm moved to a unified syntax for arm and thumb instructions.Jonathan Gray
While binutils supports both "unified" and "divided" syntax (defaulting to divided) the integrated assembler in clang only supports unified names so switch some files to unified syntax. Similiar changes were made in bitrig and freebsd. No difference in objdump -d output. tested on zaurus by deraadt@, ok miod@
2015-06-08Merge multiple copies of the code doing VLAN tag insertion back intoMartin Pieuchot
vlan_start(). ok sthen@, phessler@
2015-06-08Move carp-related logic from ether_output() into carp_start().Martin Pieuchot
ok sthen@, phessler@
2015-06-08rearrange delayed_work to avoid the use of container_of while leaving it inJonathan Matthew
more or less the same shape. ok uebayasi@
2015-06-08pms(4): Don't match Elantech v4 devices with firmware versions 0xX7XXXX.Stefan Sperling
Apparently we don't support these touchpads properly so leave them in PS/2 compat mode. Regression reported by Remi Locherer on bugs@. And stop matching devices with firmware versions higher than 0xX8XXXX since we cannot be sure they work. ok mpi@
2015-06-08Add initial support for the ARM Versatile Express boards as emulated byJonathan Gray
qemu with virtio memory ranges. Unfortunately the vexpress-a9 and vexpress-a15 boards/targets have different load addresses and memory maps. Code for the PL011 UART and mmio virtio attachment from Patrick Wildt in bitrig.
2015-06-08refuse to do polled isochronous transfers, as other usb controller drivers doJonathan Matthew
requested by mpi@
2015-06-08Ensure polled bulk, control and interrupt transfers actually poll, fixingJonathan Matthew
panics on shutdown with various usb sticks. ok mpi@
2015-06-07The Swiss Federal Government decided to shut down HBG at the end of 2011.Claudio Jeker
On 6 September 2012 at 12:02:00 UTC both antenna towers were demolished by controlled explosives. So this is not coming back and we can tedu the support for HBG form the DCF77 drivers. Remided by mbalmer
2015-06-07More damned eye searing whitespace.Kenneth R Westerback
2015-06-07Initial exynos4 bits. Among other things the gic isn't mapped correctlyJonathan Gray
on exynos4/5 yet as it isn't at the usual offset from periphbase. ok bmercer@
2015-06-07Add a default panic case to a switch statement where code after assumesJonathan Gray
one of the cases was reached. Matches other parts of the mpbios code.
2015-06-07Introduce unhandled_af() for cases where code conditionally doesJonathan Gray
something based on an address family and later assumes one of the paths was taken. This was initially just calls to panic until guenther suggested a function to reduce the amount of strings needed. This reduces the amount of noise with static analysers and acts as a sanity check. ok guenther@ bluhm@
2015-06-07mark the usb hci driver pci glue code as only needed by the pci attachment,David Gwynne
not all usb controllers. this lets jsg build ehci on a platform that lacks a pci bus. ok jsg@
2015-06-07Add CR4_FSGSBASEPhilip Guenther
2015-06-07Enable use of mwait in non-MP boxes and report # of C-substates up to C7,Philip Guenther
truncating trailing zeros. Testing by many as part of a larger change to use ACPI _CST objects ok krw@
2015-06-07Replace a bunch of == 0 with == NULL in pointer tests. Nuke someKenneth R Westerback
annoying trailing, leading and embedded whitespace. No change to .o files. ok deraadt@
2015-06-06Add some changes from Patrick Wildt in bitrig that are required to makeJonathan Gray
the qemu cortex a15 useable without trustzone. Establish the interrupt for the non-secure physical timer (30), in addition to the secure physical timer (29). Stop masking the timer output signal in the interrupt handler.