summaryrefslogtreecommitdiff
AgeCommit message (Collapse)Author
2010-07-28Add a dummy kqueue filter similar to seltrue and use it for anythingNicholas Marriott
using seltrue for poll. Based on code from NetBSD. Also remove a stray duplicate lpt entry from loongson, from deraadt. ok tedu deraadt
2010-07-28Suspending drivers need to do as little as possible in here, so when theTheo de Raadt
transition is to INIT, try to not generate management frames if we can avoid it. ok damien
2010-07-28Make legacy xxpower() functions call xxstop() on suspend, and simplify theirTheo de Raadt
resume paths. For new-style suspend/resume, add a ca_activate function where it is missing, and use a workq to resume because these drivers like to sleep. ok damien
2010-07-28Support -U and -C to specify the context length for "cvs diff".Nicholas Marriott
This doesn't alter cvs rdiff, where -U and -C are not support by GNU cvs. ok sthen zinovik
2010-07-28the default pciide chip needs no additional register restores; tested by jcs ↵Theo de Raadt
on one model
2010-07-28Fix fallout from the utf-8 commit (segfaults in disklabel on install media).Stefan Sperling
Sorry about that. ok sthen deraadt
2010-07-28more #ifdef needed for the case of not pegging on a non-MP kernelTheo de Raadt
2010-07-28remove stub code for rw locks we will never need; ok kettenis marcoTheo de Raadt
2010-07-28It's pretty pointless to peg ourselves to the primary CPU if that's theMark Kettenis
only one we have. ok krw@, deraadt@
2010-07-28suspend save/restore for SIS3112; tested by mlarkinTheo de Raadt
2010-07-28Change back to the pre rev 1.11 behaviour of not treating unexpectedJonathan Gray
id payloads as errors. Lets interop with strongSwan which sends both IDi and IDr work again.
2010-07-28more explicit messageMarc Espie
2010-07-28let fatal work, fix typoMarc Espie
2010-07-28Make all gasio failures look and behave the same.Marco Peereboom
2010-07-28pass state to Ustar objects, use it to display those pesky error andMarc Espie
fatal messages. zap $opt_x from pkg_mklocated, do things like other commands do.
2010-07-28Revert parts of previous change leading to assertion failure forMartin Hedenfal
certain modify operations. Also fix logic error when replacing an attribute with the empty set.
2010-07-28Make BUFs autoextend by default. This was already done in OpenCVSRay Lai
a while ago. OK zinovik nicm
2010-07-28Sync hcreate(3) with NetBSD, adding some caveats.Ray Lai
OK jmc
2010-07-28Delay a little longer on suspend before giving up. Fixes machines thatMike Larkin
sometimes don't suspend because the sleep transition takes too long (symptoms like failing to sleep but the backlight stays on). ok deraadt@
2010-07-28pfsync_bulk_fail was mucking around with pfsync_softc and sending packetsDavid Gwynne
without holding splsoftnet. this adds the necessary protection. reported by patrick coleman
2010-07-28No need to bzero() malloc'd memory if we used M_ZERO.Kenneth R Westerback
ok matthew@
2010-07-27remove an ancient XXXTheo de Raadt
2010-07-27remove XXX; EC can now be attached early when needed; ok jordanTheo de Raadt
2010-07-27more brackets feels goodTheo de Raadt
2010-07-27XXX annotate a block in acpi_enter_sleep_state() that is pretty worryingTheo de Raadt
2010-07-27do not match a 2nd EC if something horrible happens; ok marcoTheo de Raadt
2010-07-27ca_activate handler for suspend/resume. untested -- if someone testsTheo de Raadt
this let me know.
2010-07-27Spaces vs tabMarco Peereboom
2010-07-27Remove a stray space. No binary change.Marco Peereboom
2010-07-27horrific indentation that nearly made me pukeTheo de Raadt
2010-07-27spacing; ok deraadt@Todd T. Fries
2010-07-27Revert 1.34 certain systems need the parent ec pointer initialized earlier.Marco Peereboom
This fixes acpi interrupts on the latitude e6500. Tested on e6500 and x61. debugged with, and ok jordan
2010-07-27spacingTheo de Raadt
2010-07-27add bce_activate(), suspends and resumes on my laptopTodd T. Fries
ok deraadt@
2010-07-27Make sure we stop DMA before we suspend. Remove unused argument to re_stop()Mark Kettenis
to avoid the dilemma what meaningless value to pass. ok deraadt@
2010-07-27Fix compilation on gcc2 platforms, where _Bool and _Complex aren'tPhilip Guenthe
built into the compiler and instead have to be gotten from stdbool.h and complex.h Problem noted by miod@, fix by deraadt@
2010-07-27Make sure we stop DMA before we suspend.Mark Kettenis
ok deraadt@
2010-07-27syncTheo de Raadt
2010-07-27ca_activate function for suspend/resumeTheo de Raadt
tested by mlarkin
2010-07-27Replace the single-byte placeholders for the multi-byte/wide-characterStefan Sperling
conversion interfaces of libc (mbrtowc(3) and friends) with new implementations that internally call an API based on NetBSD's citrus. This allows us to support locales with multi-byte character encodings. Provide two implementations of the citrus-based API: one based on the old single-byte placeholders for use with our existing single-byte character locales (C, ISO8859-*, KOI8, CP1251, etc.), and one that provides support for UTF-8 encoded characters (code based on FreeBSD's implementation). Install the en_US.UTF-8 ctype locale support file, and allow the UTF-8 ctype locale to be enabled via setlocale(3) (export LC_CTYPE='en_US.UTF-8'). A lot of programs, especially from ports, will now start using UTF-8 if the UTF-8 locale is enabled. Use at your own risk, and please report any breakage. Note that ncurses-based programs cannot display UTF-8 right now, this is being worked on. To prevent install media growth, add vfprintf(3) and mbrtowc(3) to libstubs. The mbrtowc stub was copied unchanged from its old single-byte placeholder. vfprintf.c doesn't need to be copied, just put in .PATH (hint by fgsch@). Testing by myself, naddy, sthen, nicm, espie, armani, Dmitrij D. Czarkoff. ok matthieu espie millert sthen nicm deraadt
2010-07-27delete a #if 0 chunk which was used for early development and will neverTheo de Raadt
be reused ok jordan
2010-07-27Set the sleeping indicator light on machines that support it, in case SMIMike Larkin
doesn't do it for us. Shows the 'moon' LED on older Thinkpads when sleeping. Tested on T43p, W500, T510 by me and on X61s by deraadt@. ok deraadt@
2010-07-27properly escape some "!"; reported by kristapsJason McIntyre
2010-07-27print these betterMarc Espie
2010-07-27Add ldapd to rc and rc.conf. Enable it at boot with ldapd_flags=.Martin Hedenfal
ok deraadt@ gilles@
2010-07-27Repost ATI Radeon HD4500 on HP Pavilion dv7-3160us using the emulator,Mike Larkin
in the same style we have done for all other ATI Radeon devices found so far. Fixes video on said machine on resume.
2010-07-27fix some spacing issues; noted by kristapsJason McIntyre
2010-07-27annoying spaces getting in the wayTheo de Raadt
2010-07-27Early initialization of acpiec if ECDT table existsJordan Hargrave
Fixes hang when booting thinkpads while docked ok deraadt
2010-07-27Add scsi_cmd_rw_decode() for decoding any SCSI READ or WRITE command,Matthew Dempsky
and update atascsi(4) to make use of it. (Other HBAs will be updated post-release.) Should allow for use of SATA drives with >2^32 LBAs. ok deraadt@, dlg@, krw@