summaryrefslogtreecommitdiff
AgeCommit message (Collapse)Author
2010-07-27replace acpitz_getreading goo with proper aml_evalinteger.Marco Peereboom
From jordan.
2010-07-27the queue entry and state variables in the xsh and ioh structs are partDavid Gwynne
of a separate struct which the ioh struct includes for no good reason anymore. just put the vars directly in the ioh. this removes this useless abstraction. ok krw@ matthew@
2010-07-27Properly handle the size field in pflog link headerCan Erkin Acar
when generating the filter. This will allow the pflog header to be extended without adding a new link type. No change to generated code for other link types. ok henning@
2010-07-27Fix #ifdef DDB/#ifdef SMALL_KERNEL uses so all four combinationsKenneth R Westerback
(DDB/SMALL_KERNEL, DDB/!SMALL_KERNEL, !DDB/!SMALL_KERNEL, !DDB/SMALL_KERNEL) can compile. A DDB bsd.rd is thus possible again. Correction to my original diff from miod@ "If it compiles, commit" deraadt@
2010-07-27Add additional Notify handler for dock devices, according to ACPI specJordan Hargrave
ok marco
2010-07-27Align FFS filesystem start and end sectors so the start is on aKenneth R Westerback
bsize boundary and the end fills up the last bsize chunk. Don't change the start sector if it is the first sector of the OpenBSD portion of the disk. Don't attempt to align on SUN_CYLCHECK architectures. They are attempting a different alignment. This is an attempt to ensure that FFS i/o's are aligned for optimal performance on newer disks that lie about their sector size.
2010-07-27acpiasus for amd64 too, Henri KemppainenTheo de Raadt
2010-07-27Nuke 'sectoffset'. A stub variable no longer used except to supplyKenneth R Westerback
the value 0 to one function call. Use 0 there, eliminate the variable and the pointless verbose verbiage that always displayed the same value. ok deraadt@ matthew@
2010-07-27ca_activate function brings eeepc 1000HE back after resume.Theo de Raadt
tested by krw
2010-07-26better progress_messageMarc Espie
2010-07-26typo in messageMarc Espie
2010-07-26recording/full-duplex supportJacob Meuser
ok kettenis
2010-07-26ca_activate function brings eeepc701 network back after resume.Theo de Raadt
tested by oga
2010-07-26Microsoft LifeCam needs the framesize quirk as well.Michael Knudsen
ok mglocker
2010-07-26syncMichael Knudsen
2010-07-26Add Microsoft LifeCam.Michael Knudsen
2010-07-26fix SYNOPSIS (yes, there are still some issues here);Jason McIntyre
2010-07-26- fix a spacing issue in SYNOPSISJason McIntyre
- occurence -> occurrence
2010-07-26various small fixes; kristaps has committed this upstream alreadyJason McIntyre
ok schwarze
2010-07-26simplify the mixer(4) code and interface. document the interface.Jacob Meuser
ok kettenis
2010-07-26Turn on -Wsystem-headers by default, so that glitches in our headersPhilip Guenthe
aren't silently ignored but rather get warned about and fixed. Purely stylistic warnings like -Wredundant-decls are your own problem however. testing help from landry@, header fixes from kettenis@ ok deraadt@
2010-07-26Remove unused structure membersJordan Hargrave
2010-07-26syncTheo de Raadt
2010-07-26Make sure we stop DMA before suspend instead of doing it as the first thingMark Kettenis
we do upon resume and failing to cope with the fact that the state has changed under our feet. Fixes watchdog timeout issues in at least one case. ok deraadt@, tested by thib@
2010-07-26Some machines include VID devices for hardware that doesn't exist. AvoidMark Kettenis
attaching those devices by checking whether the PCI bus on which they are supposed to sit exists. Fixes issues with brightness controls on my Dell laptop. ok marco@, pirofti@
2010-07-26remove merge error which was commitedTheo de Raadt
2010-07-26- replace SP with sp calls. this was defined within cvs.1, but unsupportedJason McIntyre
by mandoc; diff from kristaps - while here, fix a bad width specifier
2010-07-26sync description of acpisony w/ man page;Jason McIntyre
2010-07-26last item of SEE ALSO should not have a comma;Jason McIntyre
2010-07-26Xr acpisony, and make the name betterTheo de Raadt
2010-07-26fix the Cecil Beaton quote; from Rob Farmer, freebsd pr #148916Jason McIntyre
2010-07-26Add support for Sony ACPI hotkeys via a new driver: acpisony(4).Paul Irofti
Currently it only works for the suspend button and tries to do right for the brightness events, but I haven't found a Sony laptop that like to do right so far. In the future I want to make the brightness keys work on all Sony's and also add support for the zoom hotkeys and whatever other funky keys I can find on those things. Okay deraadt@.
2010-07-26even if you write signal handlers to not do anything stupid when you'reMarc Espie
not on a terminal, they STILL interrupt long system calls and cause sysread to fail, so disable them when they're not needed. problem found by mlarkin@ this is just a band-aid, I guess I really need to "reset" non-needed signals globally whenever I fork... sigh.
2010-07-26- use warnx instead of warn when skipping large lines, as errno isMiod Vallat
nonsensical in that case (and usually zero). - when altering the groups file, preserve a single "+" line instead of complaining it is incorrect and removing it. ok fgsch@ millert@ ray@
2010-07-26Fix a sigbus due to unaligned memory access, found when compacting onMartin Hedenfal
sparc64. reads ok to gilles@
2010-07-26typo (canacar@)Marc Espie
2010-07-26Fix some spacing / comment.Marcus Glocker
2010-07-26Always force GNU inline semantics here as well.Mark Kettenis
2010-07-26Make one more Sonix chipset cam work with 640x480 by a) adding it to theMarcus Glocker
UVIDEO_FLAG_FIX_MAX_VIDEO_FRAME_SIZE quirk list and b) cranking the manually calculated frame size by pixels * 4 bytes (discussed with jakemsr@).
2010-07-26Correct the links between threads, processes, pgrps, and sessions,Philip Guenthe
so that the process-level stuff is to/from struct process and not struct proc. This fixes a bunch of problem cases in rthreads. Based on earlier work by blambert and myself, but mostly written at c2k10. Tested by many: deraadt, sthen, krw, ray, and in snapshots
2010-07-25Add missing braces so a loop will function as intended.Jonathan Gray
ok dlg@
2010-07-25basic regress tests (based on test-19.c) for _Bool and _Complex supportPhilip Guenthe
2010-07-25In pmsi_setintellimode(), make sure we send commands withMiod Vallat
pckbc_enqueue_cmd() if interrupts are enabled at this point.
2010-07-25in the clock drivers, seperate the soft-state and hard-state which wasTheo de Raadt
all jumbled up in the same functions. the rtc (mc chip) and clock (i8243) startup was also mixed up. they the soft state and hardware state can be started in the right order, and it is easy to restart just the neccessary parts upon resume. tested in numerous cases: (apic, pic) * (GENERIC.MP, GENERIC) * (mp, non-mp) * (i386, amd64) ok kettenis
2010-07-25^U scrolls backwards, not forwards; from marrob at lavabit comJason McIntyre
2010-07-25Sync to bsd.lv; in particular, pull in lots of bug fixes.Ingo Schwarze
new features: * support the .in macro in man(7) * support minimal PDF output * support .Sm in mdoc(7) HTML output * support .Vb and .nf in man(7) HTML output * complete the mdoc(7) manual bug fixes: * do not let mdoc(7) .Pp produce a newline before/after .Sh; reported by jmc@ * avoid double blank lines related to man(7) .sp and .br * let man(7) .nf and .fi flush the line; reported by jsg@ and naddy@ * let "\ " produce a non-breaking space; reported by deraadt@ * discard \m colour escape sequences; reported by J.C. Roberts * map undefined 1-character-escapes to the literal character itself maintenance: * express mdoc(7) arguments in terms of an enum for additional type-safety * simplify mandoc_special() and a2roffdeco() * use strcspn in term_word() in place of a manual loop * minor optimisations in the -Tps and -Thtml formatting frontends
2010-07-25Missing SCSI_DATA_IN flag in dvd_read_copyright() causedKenneth R Westerback
confusion. Fixes at least my usb DVD reader and The Blue Tick.
2010-07-25Restore previous behaviour of always bzero()'ing the buf passed toKenneth R Westerback
scsi_inquire_vpd(). scsi_inquire_vpd() oddness noted by jsg@ after report of macppc problems by kili@.
2010-07-25When using GCC, we always want GNU inline semantics. Fixes issues withMark Kettenis
-Wsystem-headers and -std=c99, where GCC 4.2 would warn that it couldn't give us C99 inline semantics. ok guenther@, dcoppa@, millert@, deraadt@
2010-07-25syncMarcus Glocker