summaryrefslogtreecommitdiff
path: root/sys
AgeCommit message (Collapse)Author
2012-09-25Add minimal support for gen7/ivy bridge in inteldrm.Jonathan Gray
Like gen6/sandy bridge this is enough to manage memory but does not attempt to setup the rings. ok kettenis@
2012-09-25Remove unused acpi locking code.Paul Irofti
To be replaced with higher level C routines once we settle for a common consistent set of atomic operations across platforms. Discussed with and okay by deraadt@ and kettenis@.
2012-09-25Reduce the diff between amd64/stand and i386/stand, requested by deraadt@.Pascal Stumpf
These create essentially the same bootblocks, so the build system should not be diverging too much, or at least easily diffable. There is still a lot of work to be done here, but this is the low-hanging fruit. ok jsing@
2012-09-22revert previous, breaks the treeStuart Henderson
2012-09-21Make sure we send MSIs to the primary CPU like we do on amd64.Mark Kettenis
Based on a diff from Christian Ehrhardt.
2012-09-21add register aliases "fp" and "AT" as available on Tru64 and Linux; ok miod@Christian Weisgerber
2012-09-20Fix a pair of typos in comments.Bret Lambert
ok claudio@
2012-09-20Now that none of our installation media runs off the swap area, don't botherMiod Vallat
accounting for an hyperthetical miniroot filesystem in swap. ok deraadt@
2012-09-20add more sensor types to sensor framework.Yojiro Uo
- Pressure (10^-3 Pa) - distance (10^-6 m) - acceleration (10^-6 m/s^2) ok deraadt@ reyk@
2012-09-20pfsync_cancel_full_update needs to restore carp demotions sinceMike Belopuhov
it's cancelling the bulk update and can leave the machine in a demoted state. bug was noticed by benno, who was kind enough to verify that the fix is working fine. ok mpf, benno
2012-09-20Nuke M_80211_NODE #define which mapped to M_DEVBUF and use M_DEVBUF directly.Stefan Sperling
ok henning
2012-09-20only want uoak_subr.c, if we have any of the 3 main driversTheo de Raadt
2012-09-20Don't filter spanning tree BPDUs. Either process, or forward them.Marco Pfatschbacher
Even though this violates IEEE 802.1D, we'd rather avoid bridging loops by not getting in the way of STP. OK henning, camield, reyk
2012-09-20add device driver for Toradex OAK usb sensors:Yojiro Uo
uoaklux(4): Toradex OAK LUX, USB illuminance sensor uoakrh(4) : Toradex OAK RH, USB temperature and relative humidity sensor uoakv(4) : Toradex OAK V, USB +/- 10V 8channel ADC interface ok deraadet@
2012-09-20In somove() free the mbufs when necessary instead of freeing themAlexander Bluhm
in the release path. Especially accessing m in a KDASSERT() could go wrong. OK claudio@
2012-09-20spltdb() was really just #define'd to be splsoftnet(); replace the formerBret Lambert
with the latter no change in md5 checksum of generated files ok claudio@ henning@
2012-09-20Lower pf frags limit to not risk running out of mbuf clustersCamiel Dobbelaar
when dealing with lots of IP fragments. This sets the default to 25% of the mbuf cluster maximum (hint from beck). And the example in the manpage is sane now. ok mikeb henning beck deraadt
2012-09-20make the lines printed during attach more consistent with other driversJasper Lievisse Adriaanse
ok mikeb@ sf@
2012-09-19Set up PCI bus number resource accounting for the main PCI bus hierarchy.Mark Kettenis
2012-09-19Set up PCI bus number resource accounting for the main PCI bus hierarchy.Mark Kettenis
2012-09-19Add resource tracking for PCI bus numbers. This will allow us to preventMark Kettenis
attaching the same PCI bus twice and in the long run this will allown us to hot plug PCI busses and support CardBus on machines where the firmware doesn't assign a bus number to CardBus devices. While there, print a bit more information for memory and io conflicts.
2012-09-19ioctl requests are u_long not int, spotted via clangJonathan Gray
ok deraadt@ miod@
2012-09-19Add support for the rdrand instruction found in recent Intel processors.Jonathan Gray
Joint work with naddy@ ok naddy@ deraadt@
2012-09-19When a socket is spliced, it may not wakeup the userland for reading.Alexander Bluhm
There was a small race in sorwakeup() where that could happen if we slept before the SB_SPLICE flag was set. ok claudio@
2012-09-19In somove() make the call to pr_usrreq(PRU_RCVD) under the sameAlexander Bluhm
conditions as in soreceive(). My goal is to make socket splicing less protocol dependent. ok claudio@
2012-09-19Add new drivers for virtio network (vio) and block devices (vioblk, the disksStefan Fritsch
attach as scsi disks). These are paravirtualized devices offered by some hypervisors like kvm and virtualbox. The virtio transport driver has the pci specific parts separated out. This will make it easier to add support for mmio (e.g. for ARM) later. OK mikeb OK jasper "commit what you have" deraadt
2012-09-19cleanup around the pipex. naming style, delete or update comments.YASUOKA Masahiko
no functional changes.
2012-09-19match some more LAN95xx device idsJonathan Gray
2012-09-19SMSC LAN95xx 10/100 USB Ethernet driver, ported from FreeBSD.Jonathan Gray
'turbo mode' having multiple rx packets in a single usb transaction similiar to what newer asix chips do is disabled as it seems to cause many rx errors and breaks fragmentation. checksum offloading while apparently supported by the hardware is currently disabled.
2012-09-19Make rt_lookup return a pointer to an rtentry struct instead ofBret Lambert
to a radix_node struct. The radix tree pushdown continues. ok claudio@
2012-09-19inherit IFCAP_CSUM_* from the parent interfaceHenning Brauer
in my tree for a while and I forgot what exactly triggered it, but in one way or another this comes from the netbsd camp ok benno mpf
2012-09-19defina an IFCAP_CSUM_MASK, covering IFCAP_CSUM_*, and use it in if_vlan.cHenning Brauer
to replace the list of them. this actually makes vlan inherit the IPv6 CSUM flags from it's parent, that had been commented out since this code was committed back in 2001. ok benno mpf
2012-09-19update the tdb replay counter endian conversion to 64 bits;Mike Belopuhov
ok camield mpf
2012-09-19More radix internals pushdown; place rn_mpath_next, which accepts andBret Lambert
returns radix_node pointers, inside a new rt_mpath_next, which accepts and returns rtentry pointers, and start using that instead. ok claudio@
2012-09-19Use TAILQ_FOREACH macro for loops. No binary diff.Alexander Bluhm
OK henning@
2012-09-19vhold() and vdrop() are prototyped in vnode.h, so don't repeat them herePhilip Guenthe
ok beck@
2012-09-18several tweaks to make mpi(4) work for vmware emulated sas adapters.David Gwynne
1. vmware advertises more scsi targets than command slots, so the maths we did for openings gave each target 0 openings. always advertise at least 16 openings. 2. if we cant configure the ATA queue depth, dont fail to attach the controller whole. finally, improve the error reporting during attach so its more obvious where things fail. mostly figured out by jmatthew@
2012-09-18the 'WIDE' was droppedJasper Lievisse Adriaanse
2012-09-18support the Lenovo ThinkVision LT1421Jasper Lievisse Adriaanse
ok mglocker@
2012-09-18regenJasper Lievisse Adriaanse
2012-09-18add Lenovo ThinkVision LT1421 (portable displaylink monitor)Jasper Lievisse Adriaanse
2012-09-18add support for 1366x768 widescreen displays; tested on the Lenovo ↵Jasper Lievisse Adriaanse
ThinkVision LT1421. feedback and ok mglocker@
2012-09-18Wait until all xfers have finished before giving up DMA buffer mappings.Gerhard Roth
ok deraadt@, mikeb@
2012-09-18sysctl calls shouldn't clobber route timers without spl protectionBret Lambert
the spl call in the icmp case may be too aggressive, but better safe than sorry ok claudio@
2012-09-18- use nitems() here; no binary change.Jasper Lievisse Adriaanse
ok mglocker@
2012-09-18prio 0 is valid, therefore, I chose an "impossible" value for prio meaningHenning Brauer
"not set" and used a PF_PRIO_NOTSET define for it. now that means that everything that creates a struct pf_rule doesn't get away with bzero'ing it, which turned out to be not so nice. so get rid of PF_PRIO_NOTSET, instead, make a rule+state flag PFSTATE_SETPRIO which indicates wether the prio should be set. ok benno claudio mikeb
2012-09-18remove the SADB_X_SAFLAGS_{HALFIV,RANDOMPADDING,NOREPLAY} pfkey-API (not setMarkus Friedl
anywhere) as well as the matching TDBF_{HALFIV,RANDOMPADDING,NOREPLAY} code. ok mikeb@
2012-09-18Wrap rtable_add() and rtable_l2set() calls inside ifioctl() inside softnet,Bret Lambert
as functions that modify routing information shouldn't be interruptable by network traffic. Also make sure that both of those functions assert that they are called at softnet. I'm reasonably sure that there shouldn't be any, but if there is any codepath that was missed, we're going to be here for another 4 days to deal with any fallout. While here, move the multitude of "int s" declarations inside ifioctl to the beginning of the function. okay claudio@
2012-09-17add IPV6_RECVDSTPORT socket option, which enables us to get originalYASUOKA Masahiko
(= before divert) destination port of a UDP packet. The way to use this option is same as IP_RECVDSTPORT. from UMEZAWA Takeshi tweaks from jmc; ok henning bluhm
2012-09-17Whitespace change (excess indentation).Bret Lambert
ok claudio@