summaryrefslogtreecommitdiff
path: root/sys
AgeCommit message (Collapse)Author
2016-03-19Remove the unused flags argument from VOP_UNLOCK().natano
torture tested on amd64, i386 and macppc ok beck mpi stefan "the change looks right" deraadt
2016-03-19Reduces the noise around the global ``ticks'' variable by renaming allMartin Pieuchot
local ones to ``nticks''. (missed in previous) ok stefan@, deraadt@
2016-03-19Reduces the noise around the global ``ticks'' variable by renamingMartin Pieuchot
all the local ones to ``nticks''. ok stefan@, deraadt@
2016-03-19Remove support for the XScale 80200. We don't use it, it didn't compilePatrick Wildt
and the included headers didn't even exist. ok jsg@
2016-03-19Remove support for IXP425. This is another architecture that is notPatrick Wildt
used and has probably never been used at all. Some included headers do not even exist. ok jsg@
2016-03-19Remove support for StrongARM (SA1) and IXP12x0. Both are ARMv4 andPatrick Wildt
are not used by any of the arm platforms. ok jsg@
2016-03-18After sleeping and before accessing sc_link, check that scsi diskAlexander Bluhm
is not dying. OK krw@
2016-03-18IXP425 is v5 not v4. Same change by msaitoh in NetBSD rev 1.16.Jonathan Gray
2016-03-18Remove support for ARM9T (armv4t). Not used by any of the arm platforms.Jonathan Gray
From Patrick Wildt.
2016-03-18Remove support for ARM8, an old armv4 processor without thumb that wasJonathan Gray
never supported by any arm port and wouldn't have built due to a missing cpufunc_asm_arm8.S file. From Patrick Wildt.
2016-03-18add octuctl, a driver for the Octeon II usb controller interface, andJonathan Matthew
attachments for ehci and ohci. ok uebayasi@ jasper@ visa@ mpi@
2016-03-18refactor the vlan multicast list handling.David Gwynne
the previous code had vlan_ether_purgemulti and vlan_ether_resetmulti, both of which did too many things. purgemulti would try and remove the multicast entries from the parent, and then free the local copies of the addresses. resetmulti would try to remove the address from the parent, and then optionally try to add them to a new parent. resetmulti in particular makes the overall vlan config steps fairly twisty. the refactor offers vlan_multi_apply, and vlan_multi_free. multi_apply simply adds or removes the multicast addresses from a parent interface. it is now up to the config steps to call them appropriately when configuring a parent or a new parent. vlan_multi_free only deletes the memory associated with the vlans multicast addresses. vlan_multi_apply is called when a parent is configured (ie, ifconfig vlan0 up), or unconfigured (ifconfig vlan0 down or a detach of the parent). vlan_multi_free is called when a vlan interface is destroyed (ifconfig vlan0 destroy). ok mpi@
2016-03-17'miliseconds' -> 'milliseconds' in comments.Kenneth R Westerback
if_atu.c noted by Michal Mazurek.
2016-03-17add TXIC TX382B entry.SASANO Takayoshi
currtently TX/RX FIFO is not working. ok by detraadt@
2016-03-17regenSASANO Takayoshi
2016-03-17add TXIC TX382B (vendor 0x4651: product 0x3273)SASANO Takayoshi
ok deraadt@
2016-03-17Set mnt_data to NULL after freeing the file system specific mount point.Alexander Bluhm
OK krw@ natano@ as part of a larger diff
2016-03-17Do not access the scsi link structure in sdclose() if the diskAlexander Bluhm
device is already dying. Delete the sc_timeout when setting the SDF_DYING flag as the timeout delete in sdclose() may not be reached. OK krw@
2016-03-17Do not iterate all over the tree if OF_parent() is called on the rootMartin Pieuchot
node. The root is the root, it has no parent. From Patrick Wildt.
2016-03-17Replace curcpu_is_idle() by cpu_is_idle() and use it instead of rollingMartin Pieuchot
our own. From Michal Mazurek, ok mmcc@
2016-03-17Fix a comment about ``p_usrpri'', from Michal Mazurek.Martin Pieuchot
2016-03-17KNF: Remove a blank line.Masao Uebayashi
2016-03-17Only attempt to build the pci sdhc attachment when it is configured.Jonathan Gray
Don't require it when building other sdhc attachments. From Patrick Wildt.
2016-03-17- add realloc_pages to move a buffer's physmem from one range to another.Bob Beck
- modify B_DMA handling to be in vfs_biomem.c - change buffer allocation to try allocations with NOWAIT and to throw away clean pages if allocation fails - allocate with WAITOK only if you can't throw away enough pages to succeed "probably sound" deraadt@
2016-03-16Make urndis(4) print tx/rx errors only if compiled in DEBUG mode.Stefan Sperling
These printfs were causing too much noise in dmesg during regular operation. And don't forget to count input errors. ok sthen@ mpi@
2016-03-16Remove redundant check.Stefan Kempf
The compiler is also smart enough to recognize that this is redundant. The resulting code on amd64 is basically equivalent (slightly different register allocation and instruction scheduling). ok mpi@ deraadt@
2016-03-16More "(<blah> *)0" -> NULL, avoiding any stdarg functions.Kenneth R Westerback
Feedback millert@ kettenis@
2016-03-16Add SDF_DYING checks to more functions in scsi disk, to prevent anAlexander Bluhm
use after free of the scsi link structure during detach. OK krw@
2016-03-16if ticks diverge from ifq_congestion too far the diff will go negativeDavid Gwynne
detect this and bump ifq_congestion forward rather than claim the system is congested for a long period of time. ok mpi@ henning@ jmatthew@
2016-03-16macros for the null, min, and max vlan ids.David Gwynne
ok mpi@ and tweaks from sthen@
2016-03-16Expose new audio ioctls that do one thing only: start and stop DMA,Alexandre Ratchov
set and get parameters. This is much simpler. ok semarie, armani, tweaks from jmc
2016-03-15'accomodate' -> 'accommodate' in comments.Kenneth R Westerback
Started by diff from Mical Mazurek.
2016-03-15Allocate amap slots for a virtual memory range reserved with sbrk lazily.Stefan Kempf
This avoids wasting kernel memory if the user process does not make use of the allocated memory. Testing by sthen@ and tobiasu@, thanks! ok deraadt@
2016-03-15For amaps with only a few slots, allocate the slots via pool(9)Stefan Kempf
This saves some memory compared to using malloc, because there's no roundup to the next bucket size. And it reduces kmem pressure at least for some architectures (e.g. amd64). Testing by sthen@ and tobiasu@, thanks! ok sthen@ deraadt@
2016-03-15not compiled before commitTheo de Raadt
2016-03-15Fix size passed to free(), found the hard way by Nick PermyakovJeremie Courreges-Anglas
ok deraadt@
2016-03-15Ethernet drivers no longer need to include if_vlan_var.h for the VLANChristian Weisgerber
definitions; ok mpi@
2016-03-15pledge: wl_paths: resolvpath() logic errorSebastien Marie
prepend chroot value *after* canonization and not before.
2016-03-15pledge: wl_paths: corrects a memory leak in error code path and an evaluationSebastien Marie
order ("a += b > c" is the same as "a += (b > c)" which is wrong here) ok jca@
2016-03-15usbd_is_dying() can't be part of the common rtwn(4) driver code once weStefan Sperling
merge code from urtwn(4). So timeouts must move back to the bus-specific part of the driver. ok mpi@
2016-03-15Exar XR17V354 puc(4) device, "high speed quad uart".Mike Larkin
2016-03-15syncMike Larkin
2016-03-15Typo in part number in previous commit (fix Exar P/N from XR17C354 toMike Larkin
XR17V354)
2016-03-15syncMike Larkin
2016-03-15syncMike Larkin
2016-03-15Add Exar 4 port PCIe serial port (puc)Mike Larkin
2016-03-15Remove now unused legacy uiomovei() function.Stefan Kempf
All its callers got reviewed and converted to use uiomove() properly. ok deraadt@
2016-03-15Burn more LDT deadwood: stop allocating one for each idle thread,Philip Guenther
load the ldt register with the null selector (disabling use of it), stop reloading it on every context switch, and blow away the table itself, as well as the pcb and pmap bits that were used to track it (making sure to keep pcb_savefpu correctly aligned). testing naddy@ ok kettenis@ mpi@ mlarkin@
2016-03-14Change a bunch of (<blah> *)0 to NULL.Kenneth R Westerback
ok beck@ deraadt@
2016-03-14Convert sparc drivers bpp and magma to uiomoveStefan Kempf
Compile test and ok tobiasu@