summaryrefslogtreecommitdiff
path: root/sys
AgeCommit message (Collapse)Author
2015-01-15Sync with libc version.Todd C. Miller
2015-01-15Define a new wscons mouse type for Synaptics clickpad devices that lackJonathan Gray
physical buttons. This will be used if the acpi pnpid for the mouse matches a list provided by Synaptics found in Linux. Combined with the xenocara changes this will remove the need for an xorg config file for the x240/t440/t540 generation of thinkpads. ok matthieu@ shadchin@ kettenis@
2015-01-14Don't forget to register event counter for VME interrupts.Miod Vallat
2015-01-14This does not need <sys/param.h>. If we change some other stuff around,Theo de Raadt
it might not need <sys/types.h> either. Even further changes could eliminate it. Anyone up for the exercise?
2015-01-14When a read or write operation fails on a sector found on the bad block table,Miod Vallat
be sure to adjust the IOPB data pointer before redirecting the I/O for this particular sector to the replacement location. Otherwise, the data pointer still points to the first sector of the I/O, which may not necessarily be the one which failed. (This is yet another 19 years old bug, making your filesystems self-destruct even faster than intended)
2015-01-14This does not need <sys/param.h>. <sys/types.h> is enough.Theo de Raadt
discussed with ratchov and sthen
2015-01-14When the outcome of the watchdog processing is a reset, do not bother checkingMiod Vallat
further pending requests, since they will be forcefully failed by the reset routine.
2015-01-14Make the special buffer used for the few sector I/O at attach time a per-softcMiod Vallat
member, rather than a global. No functional change.
2015-01-14Make x[dy]c_e2str return a const char *.Miod Vallat
Remove obsolete comments in x[dy]dump().
2015-01-14Remove pass-through ioctl for SMD disks (DIOSXDCMD). Nothing uses this, becauseMiod Vallat
noone wrote an equivalent of SunOS format(8) and noone ever will.
2015-01-14It is sufficient to protect in6_ifattach() with splsoftnet().Alexander Bluhm
OK mpi@
2015-01-13In IBSS mode, stop calling the driver's newassoc() each time a probeStefan Sperling
response is received from a node. Only call it once when the node is initially discovered, as used to be the case before r1.4 of this file. Asking the driver to set up its per-node private state once is enough. Also remove an outdated comment. ok sthen deraadt jsg
2015-01-13Initialize d_type to DTYPE_SMD in the default label to avoid disklabel(8)Miod Vallat
asking for the device type upon labeling a freshly formatted disk.
2015-01-13Many architectures call initmsgbuf() really really early, before uvm isMark Kettenis
initialized. Calling malloc(9) at that point is not a good idea. So initialize consbuf later. Fixes dmesg -s on sparc64 (and probably a few other architectures). ok miod@, deraadt@
2015-01-13Always allow abort tasks to be scheduled, even if the device is beeingMartin Pieuchot
detached, in order to prevent a deadlock situation. This situation can occur if the thread detaching a device is sleeping, waiting for all submitted transfers to finish, and the device's pipes have not yet been aborted. This can happen when a USB Ethernet device is being detached while a userland program is doing an ioctl(2). Abort tasks need to be able to run in such case since timed out transfers rely on them to be properly completed. ok deraadt@
2015-01-13Only notify userland about resolved ARP entries if the Ethernet addressMartin Pieuchot
changed or if we asked for it. Should reduce the RTM_RESOLVE storm seeing by claudio@ With inputs from and ok mikeb@
2015-01-13Restore sending RTM_ADD and RTM_DELETE messages to userland for everyMartin Pieuchot
route created/deleted with rt_ifa_add(9)/rt_ifa_del(9), not only for RTF_LOCAL routes. Regression introduced in r1.172 when restoring the original behavior of RTM_NEWADDR/RTM_RTM_DELADDR reported by Florian Riehm. Joint work with Florian Riehm, with input from and ok bluhm@.
2015-01-13Add dmesg -s support, to view the output of rc(8) system startup messages.Marco Pfatschbacher
Help and feedback by Theo and Miod. OK deraadt@, manpage-ok jmc@
2015-01-13pass the vnd xfer pointer to the tasks callback as part of theDavid Gwynne
vndbuf allocation. luke-warm support and ok krw@
2015-01-13Enable snooping on Bay Trail HD Audio.Jonathan Gray
Fixes audio problems on an Asus J1800I-C reported by Jan Stary.
2015-01-13Add missing Utilite case in imx_platform_init_cons()Jonathan Gray
spotted by Patrick Wildt
2015-01-13for the install: target, use cmp as a rough attempt for avoiding repeatedTheo de Raadt
make install from Simon Nicolussi ok jsing tedu
2015-01-12include NFSCLIENT. ok deraadtTed Unangst
2015-01-12lager -> larger (no beer involved)Miod Vallat
2015-01-12Fix two 19 years old (since day one) bug in bad144 sector reassignment logic:Miod Vallat
- when entering bad144 mode, correctly compute the actual C/H/S values for the logical block number. - when leaving bad144 mode and resuming normal I/O operation, when computing back the C/H/S values for the next logical block number, compute the sector number correctly.
2015-01-12revert the namecache embiggening since it seems to cause hangs at reboot.Ted Unangst
reported and revert tested by krw
2015-01-12Fix axen(4) build with AXEN_DEBUG defined. From Fabien Raetz.Stefan Sperling
2015-01-12exphy and ciphy are not needed with this list of network devicesTheo de Raadt
thanks jsg
2015-01-12Due to recent savings with instbin, we can take i386 to one installTheo de Raadt
floppy. A few drivers are missing, but the world has moved on (the drivers included are always a work in progress) Speeds up make release substantially, of course.
2015-01-12Enable lid suspends by default in the kernel, and remove the question fromTheo de Raadt
the installer. We used a full release cycle to learn that suspend/resume is reliable enough for this default. Personal policy can disable this using machdep.lidsuspend=0 in /etc/sysctl.conf ok more people begging, and less people whining
2015-01-12Kill the global list of IPv4 addresses.Martin Pieuchot
ok claudio@, mikeb@, bluhm@
2015-01-12regenJonathan Gray
2015-01-12add some E5 v3 PCIE and Bay Trail idsJonathan Gray
2015-01-12When setting up advanced TX descriptor use m_getptr to locate the IPMike Belopuhov
or IPv6 header instead of assuming contiguousness of the target buffer across Ethernet and IP/IPv6 headers. Tested by Kapetanakis Giannis <bilias at edu ! physics ! uoc ! gr>, thanks! Problem analysis and initial diff by dlg@.
2015-01-12pretty up some malloc() callsTheo de Raadt
2015-01-12hibernate_suspend() should not pmap_kremove by itself; hibernate_free()Theo de Raadt
must do that. otherwise, pmap_kremove is called twice. i386 in particular does not tolerate that, found by sebastia ok mlarkin kettenis
2015-01-12Some fixes and tidying up of the receive filter handling bits.Brad Smith
2015-01-12stash the softc in the memory allocated for setting up a task forDavid Gwynne
creating sensors.
2015-01-11Remove orphaned defines.Miod Vallat
2015-01-11Tolerate checksum errors in ACPI tables (but complain about them). ApparentlyMark Kettenis
there are machines out there with broken BIOSen with such checksum errors in thier RSDT tables. Windows runs fine on these machines, so it probably does not check. Linux ignores checksum errors as well (and prints a warning). ok deraadt@, krw@
2015-01-11LOCKDEBUG is dead; perform the funeral ritesPhilip Guenther
pointed out by Helg (xx404 (at) msn.com) ok deraadt@ miod@
2015-01-11switch prototype warnings to implicit-declaration warnings.Ted Unangst
This should catch all the same bad cases, but be a little less aggravating in circumstances where a prototype isn't necessary ok deraadt
2015-01-11When using sun4 PROM I/O routines, make sure we never attempt to transfer moreMiod Vallat
than the maximum DMA transfer size the PROM reports. Crank version to 2.9.
2015-01-11There's no simple way so check for DMA buffer overrun with isochronousMartin Pieuchot
transfers, so skip the check for such xfers for the moment. Issue reported by Ingo Feinerer and fix confirmed by Jan Stary.
2015-01-11Use the softc-specific function pointers for bcopy() and bzero() in iestart(),Miod Vallat
instead of, well, bcopy and bzero. This lets ie@vme transmit packets instead of panicing due to memset() trying to use 32-bit stores on a device address.
2015-01-11Make sure to initialize nbpg to a sensible value in bootxx, when running onMiod Vallat
a sun4 system - the prom i/o routines depend on it.
2015-01-11Unbreak sun4Miod Vallat
2015-01-11global "list" is not the nicest variable nameTheo de Raadt
seen my mlarkin, ok miod
2015-01-11armv6 introduced opcodes for reversing words in registers. we canDavid Gwynne
use these on armv7 as a backend for byteswapping things that endian.h provide. i dunno if its faster, but it makes smaller code. saves 30k on GENERIC-OMAP. ok jsing@ bmercer@ jsg@
2015-01-11use mallocarray(), then set the size afterwards. Prefer if people learnTheo de Raadt
and use this idiom everywhere, it is always safest.