summaryrefslogtreecommitdiff
path: root/sys
AgeCommit message (Collapse)Author
2013-10-20Add a load_font accessop to rasops, to allow for fonts to be loaded andMiod Vallat
selected. All rasops fonts are managed by wsfont, which allows a font to be loaded on a rasops device and used on another. Currently not plumbed in any driver yet. This is work in progress.
2013-10-20Deep inside DIOCXCOMMIT, should return a real errno instead of -1Theo de Raadt
ok henning pelikan
2013-10-20Rename rn_mpath_count() to rn_mpath_active_count() since it will onlyClaudio Jeker
return the number of active aka RTF_UP multipath routes. OK grep & gcc
2013-10-20Use rdev->audio_task for hdmi audio related hotplug events. Matches theMark Kettenis
equivalent Linux code a bit better and was probably what jsg@ intended in the first place. ok jsg@
2013-10-20no need to make the icmp cksum "offloading" case special insofar that theHenning Brauer
cksum needs to be 0'd before, pf does that now (just like in the tcp/udp case) and nothing else uses the icmp "offloading" yet. with & ok bluhm
2013-10-20in pf_cksum, set the icmp/icmp6 cksums to 0, for comsistency with tcp/udpHenning Brauer
with & ok bluhm
2013-10-20Bump version numbers. Was supposed to be part of the keydisk boot commit.Stefan Sperling
2013-10-20Add i386/amd64 boot(8) support for keydisk-based softraid crypto volumes.Stefan Sperling
So far, only passphrase-based crypto volumes were bootable. Full disk encryption with keydisks required a non-crypto partition to load the kernel. The bootloader now scans all BIOS-visible disks for RAID partitions and automatically associates keydisk partitions with their crypto volume. Attempting to boot from a volume without its keydisk currently results in a passphrase prompt (this might be changed in the future). There is no need to re-create existing volumes. Moving the root partition onto the crypto disk and running installboot(8) is all that's needed. help & ok jsing
2013-10-20In rt_mpath_conflict() there is no need to check the priority in the loopClaudio Jeker
since rt_mpath_prio() and rt_mpath_next() ensure that this is always the case. OK henning@
2013-10-20rt_mpath_next() was always called with 0 in the last argument. So drop it.Claudio Jeker
OK henning@
2013-10-20Allow WSDISPLAYIO_GTYPE ioctl on the tty*cfg device (passing it back to tty*0).Miod Vallat
2013-10-20KNF a long line.Kenneth R Westerback
2013-10-20Make sure that the RTM_DESYNC message is not filtered out. Also ensure thatClaudio Jeker
rtm_flags and rtm_fmask do not change flags that are kernel specific (e.g. RTF_CLONED). OK henning@
2013-10-20Simplify definition of the side-effect-free wd io routine.Theo de Raadt
2013-10-20Put a large chunk of the IPv6 rdomain support in-tree.Peter Hessler
Still some important missing pieces, and this is not yet enabled. OK bluhm@
2013-10-20WSDISPLAYIO_GTYPE ioctl support for KMS drivers. ok jsg@Miod Vallat
2013-10-20(daddr_t) -> (u_int64_t) when multiplying ncylinders * secpercyl toKenneth R Westerback
get disk size, since DL_SETDSIZE() takes disk sector values, not 512-byte block values.
2013-10-20Provide more debugging aids when failing to read the packed image from diskMike Larkin
during hibernate resume. requested by deraadt
2013-10-20DPRINTFs for various failure cases, disabled by default (uncommentMike Larkin
HIB_DEBUG to see these)
2013-10-20Flush the cache after bouncing the inflate page to the piglet.Mike Larkin
Fixes resume time stream corruption seen on x230 with large (16GB) unhibernation
2013-10-20SMEP (on Ivy Bridge and later CPUs) require page protections that includeMike Larkin
at least one supervisor mode (U/S bit = 0) setting in higher level paging structures. This diff removes PG_u flags from the hibernate resume time pmap (there was really no reason we needed it), to allow hibernate to work on Ivy Bridge and later CPUs. ok deraadt
2013-10-20Replace manual list handling with a TAILQ.Miod Vallat
2013-10-20Use a second inflate page for stream finalize, since it is possibleMike Larkin
(though unlikely) for the end of stream marker to overflow from one page. This should fix a few (but not all) spurious failure-to-hibernate errors. Also remove an unnecessary cache flush during deflate. ok deraadt
2013-10-20remove irrelevant commentTheo de Raadt
2013-10-20tedu noct(4). dmesglog shows no users of this device and the driver hasMike Larkin
a bug that nobody (even the original author) knows how to fix. "kill with fire" deraadt@
2013-10-20catch up with elf(5)/stab(5) removal;Jason McIntyre
ok miod
2013-10-19Our IPv6 stack was scanning all extension headers for routing headerAlexander Bluhm
type 0 and dropped the packet if it found one. RFC 5095 demands to handle a routing header type 0 like an unrecognised routing type. This is enough to protect the own machine. To protect a network as a firewall, we have pf which does the same full scan in pf_walk_header6(). As pf is enabled by default, nothing changes for most users. If you turn off pf on your router, you should not expect extra protection. Get rid of the double scanning in ip6_input() and and the older disabled code in route6_input(). No more special treatment of routing header type 0 in the IPv6 stack. OK henning@ mikeb@
2013-10-19LP64 non-PMAP_DIRECT archs like sparc64 have a structure largerPhilip Guenther
than 65536 bytes, so make parse_structinfo.pl detect that and switch to u_int for sizes and offsets when that happens. ok miod@
2013-10-19Wandboard also is a supported board of this driver. Every i.MX6 basedPatrick Wildt
device is.
2013-10-19Improve the address and linkstate hooks and add an additional detachReyk Floeter
hook to track any changes of the parent multicast interface.
2013-10-19Now carp_set_addr() and carp_set_addr6() break out of the loop afterAlexander Bluhm
they have found the interface address, so we can get rid of the additional variable ia_if. No functional change. OK mpi@ phessler@
2013-10-19Support the hibernate key (Fn-F12)Theo de Raadt
2013-10-19Enable TX checksum offload; from brad@ with input from mikeb@.Christian Weisgerber
Tested extensively by henning@ and myself.
2013-10-19in order to make our life a tad easier and prevent rogue accessesMike Belopuhov
to the routing table from the hardware interrupt context defer the if_link_state_change to the process context. a token (an interface index) is passed to the workq in order to make sure that if the interface would be gone by the time syswq goes around to run the task it would just fall through. ok henning, mpi, deraadt, claudio
2013-10-19remove confusing comments referencing the vaxTheo de Raadt
2013-10-19Uniformize drivers doing nothing with their multicast filters to makeMartin Pieuchot
them ignore the SIOC{ADD,DEL}MULTI ioctls. ok reyk@, claudio@
2013-10-19Remove Unicode to ISO-8859-7 translation tables, they would only be used ifMiod Vallat
one were to use an ISO-8859-7-encoded font on a raster display, yet none of the fonts the kernel chooses from uses this encoding.
2013-10-19Remove never enabled WSCONS_SUPPORT_PCVTFONTS code.Miod Vallat
2013-10-19forgot the cookiesReyk Floeter
2013-10-19Bring back the if_detachhook. We're going to have more users now.Reyk Floeter
ok mpi@ henning@ benno@
2013-10-19we dont fake VPD INQUIRY pages, so fail on requests for them.David Gwynne
2013-10-19In an ideal world, we would use splsoftnet() for all the interfaceReyk Floeter
configuration steps. But vxlan(4) has to configure the link state and address hooks of a parent interface that potentially need splnet(). So revert everything back to use splnet() for now. Discussed with mpi@
2013-10-19When a multicast tunnel destination is configured, we have to detect addressReyk Floeter
and link state changes on the interface that is sending out the tunnel traffic. Attach a link state and address hook in this case and reset the multicast configuration. This also fixes a problem on VMware that looses the multicast associations when the virtual link state of the NIC is triggered.
2013-10-19When we attach an interface, do not try to reuse the last index toMartin Pieuchot
limit the possible races related to unscheduled task, or anything else, relying on an unique index. I say "limit" here because a race can still occurs if you run out of indexes and jump back to 1. A generation number can be added later to avoid this problem. ok deraadt@, claudio@, krw@, mikeb@, "I can live with it" reyk@
2013-10-19simplify checksum handling. no need to compute the pseudo hdr cksumHenning Brauer
in the v4 case any more, and computing the cksum in the v6 case isn't needed either. ok florian lteo
2013-10-19simplify: no need to muck with the pseudo hdr cksum any moreHenning Brauer
ok lteo florian
2013-10-19pf_cksum doesn't need to compute the pseudo hdr cksum any more.Henning Brauer
ok lteo florian
2013-10-19make in_proto_cksum_out not rely on the pseudo header checksum to beHenning Brauer
already there, just compute it - it's dirt cheap. since that happens very late in ip_output, the rest of the stack doesn't have to care about checksums at all any more, if something needs to be checksummed, just set the flag on the pkthdr mbuf to indicate so. stop pre-computing the pseudo header checksum and incrementally updating it in the tcp and udp stacks. ok lteo florian
2013-10-19Use daddr_t * instead of int * for the partoffp parameter toKenneth R Westerback
readdoslabel(). Ditto all the MD variables whose addresses are passed to readdoslabel() via partoffp. Fix some 512-byte block vs disk sector confusion in hppa and sgi. All the DL_GETxxxxx() defines return disk sector values. All DL_SETxxxx() take disk sector values. These changes should be no-ops until a drive using non-512-byte-sectors is encountered. ok deraadt@
2013-10-19When hooks are called, allow them to disestablish themselves by usingReyk Floeter
the safe version to traverse the TAILQ list. ok deraadt@