Commit Graph

172437 Commits

Author SHA1 Message Date
hannken
8c66a4c56f Fail requests from pagedaemon that need to copy-on-write. 2008-08-15 10:31:24 +00:00
rtr
53b3cad8e5 remove special case NOPIC for mips 2008-08-15 10:31:12 +00:00
rtr
715ff2b0d0 traverse into server 2008-08-15 10:27:20 +00:00
simonb
3c2780094d Wrap long line. 2008-08-15 03:14:54 +00:00
matt
6ba7748097 Don't call null handlers 2008-08-15 03:14:20 +00:00
matt
78ab21fced Change subr_autoconf.c to use kmem_{*alloc,free}.
in pmf_deregister, don't constantly realloc.  just shift everything closer
to the front.  and then if empty, free.  When adding, add space for 4 more
entries.
Instead of n * sizeof(type) use C99 sizeof(type [n]).
2008-08-15 03:08:26 +00:00
matt
726d1181a8 Use __arraycount when appropriate 2008-08-15 01:31:02 +00:00
jmcneill
22870f3a1f PR#38860: azalia record does not work on Realtek ALC662-GR
o Don't add unconnected pins to generated mixer list, should help
    make auto-generated mixer lists slightly easier to work with.
  o Move COP_AWTYPE_AUDIO_MIXER type knobs to mix.* rather than polluting
    the inputs.* namespace and giving a few more characters for the
    auto-generated names.
  o Introduce an alternate to generic_mixer_init, generic_mixer_autoinit.
    generic_mixer_autoinit uses COP_AWTYPE_PIN_COMPLEX "default
    configuration" capability flags to determine proper pin widget control
    and eapd configuration, as well as creating virtual outputs.master,
    inputs.dac, and record.volume mixer controls that mirror the default
    dac and adc controls.
  o Introduce generic_mixer_init_widget which uses COP_AWTYPE_PIN_COMPLEX
    "default configuration" device type, gross location, and geometric
    locations to guess friendlier mixer control names.
  o On ALC662-GR, the primary ADC NID is 0x09, not 0x08, so correct the
    convgroupset in alc662_init_dacgroup.

Audio capture now works on ALC662-GR (as found in the ASUS EeePC 701).
Note that only ALC662-GR uses generic_mixer_autoinit and
generic_mixer_init_widget; other codecs will need to be tested and
converted to address PR#38578: azalia_codec.o is too large.
2008-08-14 23:43:27 +00:00
matt
e79910d9d4 Only deallocate dv_private if we had allocated it. 2008-08-14 21:51:08 +00:00
wiz
b9a5e63c26 Bump date for previous.
Sort ERRORS, and merge two entries for the same errno value.
2008-08-14 18:00:08 +00:00
matt
8165c33c80 Implement following constants and add support their to the UFS family of file
systems:
	_PC_2_SYMLINKS
	_PC_SYMLINK_MAX

From andy dot shevchenko at gmail dot com.
2008-08-14 16:19:25 +00:00
pooka
10b4d05961 Fix rump_vfs_sync() credarg also. 2008-08-14 15:24:18 +00:00
pooka
190154b4de Fix arg to RUMP_VOP_READDIR, NULL no longer works there. 2008-08-14 15:22:41 +00:00
matt
e8400bf14f Now that we track pages used by any of the kernel memory allocators,
keep a count of them and export it as a sysctl node machdep.kmpages
2008-08-14 14:54:32 +00:00
is
9fe720ba73 Fixed typo in message text noticed by Ilya Dogolazky. No functional change. 2008-08-14 09:08:42 +00:00
tsutsui
3cb8bc3644 Make sure to free an allocated mbuf on failure path. 2008-08-14 03:48:43 +00:00
tsutsui
7f6ad4b2a4 Set MEC_TXCMD_TXINT every MEC_NTXDESC_INTR packets
if more than half txdescs have been queued because
TX_EMPTY interrupts will rarely happen if TX queue is so stacked.
2008-08-14 03:43:50 +00:00
yamt
ff5b821d0d revert some parts of the following commit.
(given that it reverted other developers' changes saying
"misc/cosmetic changes", i assume that it was unintentional.)
this makes a watchdog on my box (8086:24d0) work again.
    ----------------------------
    revision 1.1
    date: 2007/08/26 16:49:47;  author: xtraeme;  state: Exp;
    branches:  1.1.2;
    Some changes for the ichlpcib driver:

    - Moved to x86/pci, so that EM64T systems running NetBSD/amd64 can use it.
    - Added support for the TCO on ICH6 or newer chipsets, adapted from
      FreeBSD.
    - Added timecounter support for the power management timer, adapted from
      OpenBSD.
    - Plus some misc/cosmetic changes.

    Thanks to yukonbob on irc@freenode for testing the TCO part on ICH4-M.
    Tested by me with ICH7 too.
2008-08-14 01:20:30 +00:00
yamt
34272c569e remove always-true conditionals. 2008-08-14 00:47:13 +00:00
christos
05fef633a7 mention stale libfoo_g.a fix. 2008-08-13 16:37:56 +00:00
christos
4b67625a5e fix debugging library build. 2008-08-13 16:36:15 +00:00
martti
8f3ae7f144 s/If/It/ 2008-08-13 10:00:10 +00:00
drochner
fdb6ecdb00 free memory on detach, fixes memory leak, from Andreas Jacobs per
PR kern/39322
2008-08-13 09:43:56 +00:00
wiz
13a39ab5d3 Bump date for previous.
Use more markup. Sort sections.
2008-08-13 07:54:25 +00:00
matt
937968755d Fix a few more corner cases. Always KMPAGE or pages with unmanaged writeable
kernel mappings as modified.  Only ever set DIRTY bit is DMOD is true and
NC is false.  Don't modify unmanaged mappings in pmap_clearbit.
2008-08-13 06:05:54 +00:00
lukem
4f152bac9e Use AF_INET instead of AF_UNSPEC as the default family if !defined(INET6).
Avoids problem reported by Matthias Scheler <tron@NetBSD.org>.
2008-08-13 04:59:13 +00:00
lukem
47d577b299 openldap 2.4.11 2008-08-13 04:48:02 +00:00
lukem
9c4947d494 stuff TODO 2008-08-13 04:46:08 +00:00
lukem
b5d491f229 Regen for openldap 2.4.11.
(Done on a NetBSD 3.1 system, and hand-tweaked.)
2008-08-13 04:44:59 +00:00
lukem
554070741d Add assertion.c to SRCS (introduced in 2.4.9->2.4.11 merge) 2008-08-13 04:44:04 +00:00
lukem
13c922b1de version.c now depends on openldap.mk, so it gets rebuilt in an MKUPDATE=yes
build after openldap has been upgraded
2008-08-13 04:43:26 +00:00
lukem
25b9c7eeb8 Crank version to 2.4.11 2008-08-13 04:42:47 +00:00
lukem
5e376103b4 resolve conflicts between merge from 2.4.9 to 2.4.11 2008-08-13 04:15:48 +00:00
tnozaki
cd0f2012d3 SUSv3 says, if not printable wide-character exists, return -1. 2008-08-12 21:59:27 +00:00
tnozaki
73651b99df add _CTYPE_R(printable) bit for ALL_80_TO_FF_SW1 area.
now wcwidth(wc) looks whether wc is printable or not.
2008-08-12 21:25:31 +00:00
tnozaki
b5174f925f SUSv3 says, wcwidth(wc) returns:
1) wc is nul wide-character, return 0.
  2) wc is printable wide-character, return column width.
  3) else, return -1.
but our implementation, case 3) returns 0. it's wrong!
2008-08-12 20:51:25 +00:00
hans
24128eeff5 add entry for new spx driver for vax 2008-08-12 20:30:36 +00:00
pooka
3fd391abc8 void * -> puffs_cookie_t
no functional change
2008-08-12 19:51:55 +00:00
tsutsui
858999c6f4 Fix a critical botch (inverted test) I put in rev 1.21. 2008-08-12 19:45:22 +00:00
pooka
ff42332733 Replace void * by puffs_cookie_t where appropriate. No functional change. 2008-08-12 19:44:39 +00:00
sborrill
a52c17ad61 Document the new format option 2008-08-12 18:02:39 +00:00
sborrill
c7b0526b9b Increase number of menu options to 20.
Add support for switching menu format between numbers and letters. Will
prefer numbers, but will automatically switch to letters if > 9 options
and timeout > 0 (i.e. need a single key press to choose).
Menu format can be explicitly set in boot.cfg file.
Add support for reading numeric choices of more than 1 digit.
2008-08-12 17:56:05 +00:00
hans
094d45b30f Add new accelerated driver for SPX graphics found in some VAXstations,
remove old broken lcspx driver. This is a bugfixed and refactored
version of the spx driver originally developed by Blaz Antonic in 2005.
OK'ed by mhitch.
2008-08-12 17:54:47 +00:00
macallan
7f91f2bd1b actually implement smart battery support
From Magnus Henoch.
This needs more testing, especially on older PowerBooks which may have more thanone battery.
2008-08-12 17:16:16 +00:00
drochner
a1d4089483 fix an off-by-one in isochronous interval check, and streamline some
frame / microframe calculation, avoiding overestimation of frames needed,
reviewed by Jared D. McNeill
2008-08-12 16:35:06 +00:00
drochner
95effdc79e fix an inconsistency in a check for invalid configuration index vs. value;
noticed by Frank Wille in PR kern/39211, but unrelated to the problem
described (The check can practically never be hit.)
2008-08-12 16:30:42 +00:00
matt
0e6db102ac Fix thinko (brain fart) 2008-08-12 15:16:31 +00:00
pooka
5ed3fcda15 Add -p for presenting the directory listing in the original case. 2008-08-12 15:14:00 +00:00
thorpej
8d9a49fc0e turnstile_block(): When an LWP puts its turnstile onto a sync object's
turnstile chain, assert that its turnstile's free list pointer is NULL.
2008-08-12 14:13:34 +00:00
simonb
89943600ac We don't need to dump WAPBL log files - don't dump files with SF_LOG
flag set, and document this.
2008-08-12 13:28:35 +00:00