summaryrefslogtreecommitdiff
AgeCommit message (Collapse)Author
2016-01-11Enable sdhc* at acpi?.Mark Kettenis
2016-01-11Make sdhc(4) attach to hardware IDs "80860F14" and "PNP0FFF".Mark Kettenis
2016-01-11Add a "mux -1" locator to wsdisplay(4) instances representing secondaryMark Kettenis
displays. This makes sure the keyboard mux gets picked up by the primary (console) display and that USB keyboards get paired with the console even if they are not marked as the console keyboard. This is what most people expect to happen. If you really want to associate your USB keyboard with a secondary display, you can detach it from the mux using wsconscfg -f /dev/ttyCcfg -k -d and attach it to another display using wsconscfg -f /dev/ttyDcfg -k
2016-01-11This adds the host_error output and the http code (when available) to theSebastian Benoit
host-check log. ok claudio@
2016-01-11ajacoutot@ reported seeingtb
newsyslog: preposterous process number in pid file: /var/run/syslog.pid in his log since syslogd ran as pid 2. Nowadays only init runs with a reserved low pid, so decrease MIN_PID from 4 to 2, as suggested by espie@. ok kettenis@
2016-01-11Nuke now unused files.Kenneth R Westerback
ok deraadt@ jasper@
2016-01-11Remove '-v' and related version handling. Use strncasecmp() insteadKenneth R Westerback
of handrolled local istrncmp(). No need to compile util.c anymore. ok deraadt@ jasper@
2016-01-11- remove some unused data structures/fieldsJasper Lievisse Adriaanse
- unifdef notdef ok krw@
2016-01-11Fix perl CVE-2015-8607 - XS File::Spec::canonpath loses taintAndrew Fresh
https://rt.perl.org/Ticket/Display.html?id=126862
2016-01-11Use uiomove() instead of uiomovei(); from Martin NatanoStefan Kempf
ok kettenis@
2016-01-11xs_cmd should always return errno(2) codesMike Belopuhov
2016-01-11Do not fail when receiving an empty reply (or directory node) inReyk Floeter
xs_intr() but put an empty message in the queue. This prevents xs_reply() from being stuck in an endless loop because it expectes a message in the queue to break out of it. Depends on mikeb@'s previous commit because it would otherwise panic on trying to cleanup the empty message. OK mikeb@
2016-01-11Handle zero lenght messages in the xs_parse by returning an empty stringMike Belopuhov
Problem was reported and analyzed by reyk@
2016-01-11sneaky whitespace snuck in againTheo de Raadt
2016-01-11Make sendmsg() and recvmsg() functions take only struct ipmi_cmd *.Masao Uebayashi
Handle interface specific command length more nicely. No functional changes.
2016-01-11Allocate command data buffer on softc and use it from both ipmi_sendcmd()Masao Uebayashi
and ipmi_recvcmd(). No functional changes.
2016-01-11plug a mem leakJasper Lievisse Adriaanse
ok krw@
2016-01-11When caching the mtime of the spool directory and system crontab files,Todd C. Miller
stash a struct timespec, not just a time_t. Fixes a bug where cron could skip re-reading the spool after two consecutive changes.
2016-01-11Only include sdhc_acpi.c if shdc* at acpi? is included in the kernel config.Mark Kettenis
2016-01-11Refactor buildmsg() functions to take struct ipmi_cmd * instead of 6Masao Uebayashi
arguments. No functional changes.
2016-01-11Introduce struct ipmi_cmd and have ipmi_cmd() function. IPMI commandMasao Uebayashi
sequence is always a pair of send and receive; call both from ipmi_cmd(). By making ipmi_cmd() take only one argument struct ipmi_cmd *, this also helps to prepare to call ipmi_cmd() as a task. No functional changes intended.
2016-01-11Remove useless sc_poll flag because it is always 1. Remove unused globalMasao Uebayashi
ipmi_poll too.
2016-01-11Read values from disabled sensors if possible. From jmatthew@.Masao Uebayashi
2016-01-11remove filter api man page, this needs reworkJoerg Jung
ok gilles
2014-11-17Import perl-5.20.1Andrew Fresh
2016-01-11typo fix; from julian hsiaoJason McIntyre
2016-01-11more whitespace was lurkingJasper Lievisse Adriaanse
2016-01-11trailing whitespaceJasper Lievisse Adriaanse
2016-01-11add rcs idsJasper Lievisse Adriaanse
2016-01-11:( David BowieStuart Henderson
2016-01-11Add glue to make sdhc(4) attach to acpi(4). Needed to support the SD hostMark Kettenis
controllers integrated on Intel's Bay Trail SoCs.
2016-01-11Improve CIS parsing to recognize CISTPL_NULL codes instead of bailing out onMark Kettenis
them. Add symbolic constant for CISTPL_END. ok jsg@
2016-01-11Add (limited) support for controllers that implement version 3.0 of theMark Kettenis
SD host controller standard. Support the larger base clock and larger clock divisors. ok jsg@
2016-01-11do further work on the em transmit path to simplify the code.David Gwynne
noone could understand how em_txeof worked, so i rewrote it. this also gets rid of the sc_tx_desc_free var that needed atomic ops. space to use in em_start and space to free in em_txeof is now calculated from the producer and consumer. testers have reported better responsiveness with this. somehow. if em issues persist after this, im rolling back to pre-mpsafe changes.
2016-01-10Use the normal method for determining a disk size. i.e. use theKenneth R Westerback
device's default disklabel. Don't spew i/o's at the disk to find the largest address that works, displaying many a 'read failed' message along the way. Problem noted by Brian Conway on bugs@ and jasper@. ok jasper@
2016-01-10match up code and comments, add missing $OpenBSD$; ok jsing@ a while agoChristian Weisgerber
2016-01-10tests for double backspace after double-width charactersIngo Schwarze
2016-01-10Partial revert: put back the file fmt.c.Ingo Schwarze
It's no longer used by ps(1), but w(1) reaches around to it. Cluestick applied by deraadt@.
2016-01-10Page fault handling tweaks for vmm:Stefan Kempf
- compute fault reason for uvm_fault() (e.g. page not present, protection violation) instead of passing a protection code - a page does not need to be zero'd after faulting it in. uvm_fault() does that for fresh anon pages already, and we also do not want a page that is swapped back in have its contents wiped. ok mlarkin@
2016-01-10replace test command with [[ ]]Robert Peichaer
OK krw@
2016-01-10simplify patternRobert Peichaer
feedback halex@ OK krw@
2016-01-10Introduce acpi_intr_establish(9), an API to establish interrupt handlers forMark Kettenis
"platform" devices that attach to acpi(4). ok mlarkin@, deraadt@
2016-01-10Add thinkpad tablet dock/undock ACPI events.Stefan Sperling
ok deraadt kettenis
2016-01-10#ifdef QUEST then a few functions won't work, because of that includemestre
<stdlib.h> if we are on a QUEST OK tb@
2016-01-10Make the test file 7-bit clean and improve diagnostics with hexdump(1),Ingo Schwarze
both in the same way as it was done for ul(1). No functional change.
2016-01-10Print a message to console when ipmi(4) watchdog is either enabled orMasao Uebayashi
disabled. Replace a magic number while here.
2016-01-10When stopping wdog (via wdog_shutdown() e.g. before entering shutdown),Masao Uebayashi
clear DONTSTOP bits. Without this, BMC records, at least on some NEC servers, watchdog timer expiration event, which only confuses admins. OK kettenis@
2016-01-10Seems the voltage bit defenitions in sdmmcreg.h for voltages below 2VMark Kettenis
are not quite right. At least I can't find them in any of the MMC and SD card documentation I can find on the interwebs. Instead there is a single "low voltage bit" that indicates support for the 1.65-1.95V or 1.70-1.95V range depending on the document you're reading. Go with the 1.65-1.95V range as that is what Linux does. Necessary (but not sufficient) to make the eMMC on the ASUS X205TA work. ok jsg@ (who did the armv7 bits)
2016-01-10Remove needless casts to (char *) NULL. Some were kept, namely for execl(3)mestre
last arguments since "The list of arguments must be terminated by a null null pointer" of type char * Suggested by and OK tb@
2016-01-10UTF-8 support:Ingo Schwarze
In a UTF-8 locale, columnate correctly and replace valid, but non- printable characters with the Unicode replacement character U+FFFD. No change in the C/POSIX locale, and no change for invalid bytes. Grand total, the code becomes shorter by almost 30 lines. Feedback from czarkoff@, OK millert@.