Commit Graph

231669 Commits

Author SHA1 Message Date
jmcneill 2e73d7cf5d awinir(4): Add support for Allwinner A20/A31 IR receiver. 2014-11-18 02:00:27 +00:00
christos 6ced7fd882 welcome to 2014j 2014-11-18 01:58:59 +00:00
jmcneill 7addafef6f padvol.c is no more 2014-11-18 01:56:41 +00:00
jmcneill 763bed3ba0 add software volume controls 2014-11-18 01:53:53 +00:00
jmcneill dd9a139587 Add common audio converters for software volume control. Only supports
slinear16_le and slinear16_be for now.

Convert pad(4) to use the new converters.
2014-11-18 01:53:17 +00:00
jmcneill 770df61b0d add a helper function to get the hw device_t from an audio_softc 2014-11-18 01:50:12 +00:00
christos 91ba1e35a8 PR/49054: Add a quirk for the ES-6600 RAID controller which does not do
INQUIRY3 properly. Unfortunately looking at the length does not solve
the problem since other devices send greater lengths too.
2014-11-17 18:43:48 +00:00
riastradh b1fb140d0e Tweak wording, define `output', remove misplaced scaremongering. 2014-11-17 18:41:29 +00:00
christos db0f8f6af9 Optimize. 2014-11-17 17:11:29 +00:00
christos 9f4a63f3dd fix sets for new erf{c,}l man pages. 2014-11-17 16:55:05 +00:00
christos 5f285f6d25 PR/49399: Henning Petersen: Add man pages for erfl and erfcl 2014-11-17 16:53:23 +00:00
riastradh d8a3efd656 Fix Google Groups link. 2014-11-17 15:28:22 +00:00
wiz 7a50617bac Remove unnecessary Ns before punctuation. Fix a line. 2014-11-17 15:17:41 +00:00
riastradh e8e4197773 Cross-reference rnd(4). 2014-11-17 15:08:37 +00:00
riastradh 28464c9ad0 Markup for BUGS note about arc4random_uniform. 2014-11-17 15:06:59 +00:00
riastradh e8af01c56b Amplify comment about how quickly RC4 was known to be bad. 2014-11-17 15:05:12 +00:00
pooka 3bc1213af0 Release all hypervisor-level resources for rump_etfs paths when the
rump kernel is halted.

Allows a Xen domU to not complain after it was shut down, or something
like that.  Requested by Martin Lucina.
2014-11-17 14:30:31 +00:00
pooka a52077d909 Make ifconfig destroy work if INET6 is present but not attached 2014-11-17 13:58:53 +00:00
joerg 7e52766b55 Needs sys/clock.h. Use a relative include path here to ease src/tools
build.
2014-11-17 10:55:42 +00:00
joerg d98d67102b Make header self-contained. 2014-11-17 10:55:12 +00:00
jmcneill 3a3b267699 clear repeater sel bits before setting -- would cause an issue if we ever switched away from a pixel doubling mode 2014-11-17 10:00:14 +00:00
skrll ec70e3fa7d s/IPL_SCHED/IPL_HIGH/
This allows binuptime to be called from any interrupt handler.
2014-11-17 08:48:59 +00:00
mlelstv 96f40a63cc handle constness better 2014-11-17 07:15:28 +00:00
mlelstv 477be5f2de handle constness 2014-11-17 07:13:42 +00:00
mlelstv 8e3b364b00 Report the argument instead of (null) when opendisk fails. 2014-11-17 07:11:18 +00:00
riastradh eed04e6bf8 Ruminate on security model choices and API design in arc4random(3). 2014-11-17 07:11:00 +00:00
riastradh ac8077340f Note relation of arc4random(3) to rand(3)/random(3). 2014-11-17 06:37:23 +00:00
uebayasi c41ff3d343 Build altq module. 2014-11-17 06:04:01 +00:00
christos 3e16d24bef PR/49207: Kamil Rytarowski: Centralize and rename a bunch of clock constants
and inline functions.
2014-11-17 02:27:26 +00:00
christos 53bfb03cf5 make this compile again. 2014-11-17 02:23:33 +00:00
christos 814298f1c7 add sys/clock.h 2014-11-17 02:16:51 +00:00
christos a95736d447 PR/49207: Kamil Rytarowski: Add sys/clock.h with generic time macros
(derived from clock_subr.h). Keep clock_subr.h with the kernel structures
and functions to reduce diffs, and have clock.h only include standalone
constants and macros.
2014-11-17 02:15:48 +00:00
jmcneill 8aab200cfd report hotplug status for AUDIO_GETDEV fields, only allow playback if a capable display is connected 2014-11-17 01:38:00 +00:00
uebayasi 25e1f6dab9 Define compat modules (but without dependencies yet). 2014-11-17 01:01:57 +00:00
uebayasi 57751c8485 Pre-calc file path len/suffix. Misc. clean up. 2014-11-17 00:53:15 +00:00
jmcneill 9674d0b9f7 Allow for overriding DVI/HDMI detection with a kernel boot arg. Set
hdmi.forcemode=dvi or hdmi.forcemode=hdmi to disable auto-detection.
2014-11-17 00:50:40 +00:00
jmcneill 393b65d3db Add support for DVI displays. Detect HDMI vs DVI mode by looking for a
CEA-861-D extension block in the EDID, and then searching this block for
an HDMI vendor-specific data block (HDMI VSDB).
2014-11-17 00:49:32 +00:00
jmcneill eb56a1b73d add ddc_read_edid_block, which is the same as ddc_read_edid but takes an additional block number argument 2014-11-17 00:46:44 +00:00
jmcneill 3f50a23c18 Parse the extension block count field, and make it available in struct edid_info 2014-11-17 00:46:04 +00:00
plunky 6e4644bb36 since rfcomm_attach_pcb may be called from (soft) interrupt context
(for incoming connections), use kmem_intr_()
2014-11-16 21:34:27 +00:00
wiz 746186406b Grammar. 2014-11-16 20:37:35 +00:00
riastradh 0e26ad0818 Rewrite arc4random(3) with ChaCha20-based PRNG and per-thread state.
Explain the security model in the man page.

No more RC4!

XXX pullup to netbsd-6, netbsd-5
2014-11-16 20:33:04 +00:00
christos 5988775b41 Don't try to extend the offset range on 32 bit machines by treating negative
offsets as positive. It is just confusing.
2014-11-16 20:32:52 +00:00
martin 2e1b1f0f3f Enable puffs 2014-11-16 18:54:52 +00:00
riastradh 565c83be0b Tag the Xen iSCSI modules with `iscsi' in the md.x86 lists. 2014-11-16 18:33:19 +00:00
ozaki-r 433c9fcdef Replace callout_stop with callout_halt
In order to call callout_destroy for a callout safely, we have to ensure
the function of the callout is not running and pending. To do so, we should
use callout_halt, not callout_stop.

Discussed with martin@ and riastradh@.
2014-11-16 16:20:00 +00:00
joerg f23a56fd5e Deal with the potential pressence of long double support. 2014-11-16 16:11:33 +00:00
manu 239cf5506d Remove unused extended attributes kernel options
As Masao Uebayashi pointed to me, UFS_EXTATTR_AUTOSTART, LFS_EXTATTR_AUTOSTART
and UFS_EXTATTR_AUTOCREATE are not used anywhere in the code. Remove them
as they have been obsolete for a long time:
UFS_EXTATTR_AUTOSTART was replaced by mount -o extattr
LFS_EXTATTR_AUTOSTART was created to match obsolete UFS_EXTATTR_AUTOSTART
UFS_EXTATTR_AUTOCREATE was replaced by sysctl vfs.ffs.extattr_autocreate
2014-11-16 16:01:39 +00:00
nakayama c0067af94a Wrap iconv.h also with #ifdef __NetBSD__. 2014-11-16 15:31:12 +00:00
uebayasi 9eb1865390 Fix oops in r1.30. 2014-11-16 15:10:54 +00:00