summaryrefslogtreecommitdiff
path: root/sys
AgeCommit message (Collapse)Author
2015-06-17fix compilation with UBCMTP_DEBUGJoshua Stein
2015-06-17move to 5.8-beta. This is a bit earlier than normal...Theo de Raadt
2015-06-17Make kernel text read-only and unreadable from userland, and remove the bogusMiod Vallat
comment about the emulation code requiring kernel text to be readable from userland. Add a few DIAGNOSTIC checks for rogue ptes passed to rmpage(). Make sure the pte extent operations and update_pcbs() run at >= IPL_SCHED.
2015-06-17Four new sensors, from David Higgs.Martin Pieuchot
2015-06-16alloc_contiguous_pages() is supposed to round the allocation size to a pageMiod Vallat
boundary, not to an u area boundary. Oops.
2015-06-16Clear the PIC `write request' memory at initialization time. There isMiod Vallat
apparently a risk of spurious parity errors if we don't.
2015-06-16Store a unique ID, an interface index, rather than a pointer to theMartin Pieuchot
receiving interface in the packet header of every mbuf. The interface pointer should now be retrieved when necessary with if_get(). If a NULL pointer is returned by if_get(), the interface has probably been destroy/removed and the mbuf should be freed. Such mechanism will simplify garbage collection of mbufs and limit problems with dangling ifp pointers. Tested by jmatthew@ and krw@, discussed with many. ok mikeb@, bluhm@, dlg@
2015-06-16Add a uslcom id for the Netgear M7100 console from Andrew Daugherity.Jonathan Gray
Add some additional uslcom ids found in the Linux driver while here.
2015-06-16regenJonathan Gray
2015-06-16Add a uslcom id for the Netgear M7100 console from Andrew Daugherity.Jonathan Gray
Add some additional uslcom ids found in the Linux driver while here.
2015-06-15Bring back r1.78 and r1.79, now that ajactouto@'s regression hasMartin Pieuchot
been found: it was a hardware failure. When a bus is explored, do not probe the ports which status hasn't changed. This saves a lot of I/O when attaching/detaching devices and might help with some timing related problems.
2015-06-15Fix a double free in the destroy path triggered when a second process,Martin Pieuchot
in my case dhclient(8), races with ifconfig(8) to free the descriptors of the joined multicast groups. While here reduce the difference with carp(4). ok dms@
2015-06-15Set the length of isochronous transfers as the sum of the frames lengths.Martin Pieuchot
This reduces differences between non-isoch and isoch transfers submissions, makes the generic DMA buffer overrun check work with isoch transfers and will allow some code simplifications in HC drivers. Since short-transfers were never checked for isoch transfers, we now need to pass the USBD_SHORT_XFER_OK flag to not change this behavior. This might be revisited later. ok ratchov@
2015-06-15Use proper argument type for crp_callback functions; no functional change.Mike Belopuhov
2015-06-15No need for an extra local variable; no functional change.Mike Belopuhov
2015-06-15Use proper argument type for crp_callback functions; no functional change.Mike Belopuhov
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@