summaryrefslogtreecommitdiff
path: root/sys
AgeCommit message (Collapse)Author
2012-09-29regenJonathan Gray
2012-09-29add some uslcom devices from FreeBSDJonathan Gray
2012-09-29From Gavin Atkinson in FreeBSD SVN rev 238778:Jonathan Gray
The baud rate on CP1201/2/3 devices can be set in one of two ways: - The USLCOM_SET_BAUD_DIV command (0x01) - The USLCOM_SET_BAUD_RATE command (0x13) Devices based on the CP1204 will only accept the latter command, and ignore the former. As the latter command works on all chips that this driver supports, switch to always using it. A slight confusion here is that the previously used command was incorrectly named USLCOM_BAUD_RATE - even though we no longer use it, rename it to USLCOM_SET_BAUD_DIV to closer match the name used in the datasheet. This change reflects a similar change made in the Linux driver, which was submitted by preston.fick at silabs.com, and has been tested on all of the uslcom(4) devices I have to hand.
2012-09-28fix adress family for ipv6 bpf packet capture; ok yasuokaMarkus Friedl
2012-09-28free the control message in udp_input() if the packet is passed to pipexMarkus Friedl
ok yasuoka@
2012-09-28update my copyrightMike Belopuhov
2012-09-28Add support for the Adaptec 39320LPE controller.Brad Smith
From FreeBSD ok kettenis@
2012-09-27enable smscJonathan Gray
2012-09-27Use a smaller buffer size when not attached to a high speed/usb2Jonathan Gray
controller. Makes smsc work when attached to usb1 controllers.
2012-09-27remove the zlib rfc text: these pages already point to gzip(1), whichJason McIntyre
has the references, and the rfc is not that relevant anyway;
2012-09-27make smsc work on big endian archsJonathan Gray
2012-09-26Do not report link status unless the interface is up as the status isBrad Smith
only valid when the interface is up. From FreeBSD ok sthen@
2012-09-26Add support for VLAN sized frames.Brad Smith
ok miod@
2012-09-26add D-Link DGE-530T to re(4), update re(4) manpageRyan Freeman
tested on i386, ok brad@ sthen@ phessler@
2012-09-26add M_ZEROIZE as an mbuf flag, so copied PFKEY messages (with embedded keys)Markus Friedl
are cleared as well; from hshoexer@, feedback and ok bluhm@, ok claudio@
2012-09-26cleanup the pathconf function a bit. Same MD5.Brad Smith
ok matthew@
2012-09-26Explicitly annotate setjmp() and longjmp() (and friends) asBrad Smith
__returns_twice and __dead instead of depending on GCC's special handling of these function names. With input from kettenis@ and guenther@ Fixes a warning from clang ok matthew@
2012-09-25Make sure we send MSIs to the primary CPU like we do on amd64.Stuart Henderson
This is a fixed version reinstating the previous commit, fix from Christian Ehrhardt, same fix from brad@.
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