Commit Graph

172424 Commits

Author SHA1 Message Date
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
vanhu
163d7169c0 From Krzysztof Piotr Oledzki: Remove ph1handler if we received an invalid first exchange from initiator. 2008-08-12 12:45:55 +00:00
vanhu
32468f64a1 Remove ph1handler if we received an invalid first exchange from initiator 2008-08-12 12:45:54 +00:00
martti
b2f85650f0 Not needed in NetBSD 2008-08-12 10:28:51 +00:00
hannken
93d3ff0e45 Deny read/write access to snapshot vnodes. We use fss(4) to read from
snapshots.  With this policy in place:

- Separate the snapshot vnode lock from the snapshot common lock.
  Snapshots no longer need recursive vnode locks.

- Use a mutex (si_snaplock) to serialize creation, deletion, reading and
  writing of snapshots.

- Move ffs_read() for snapshots into ffs_snapshot.c.

Reviewed by: Jason Thorpe <thorpej@netbsd.org>

While here change ffs_copyonwrite() to fail requests from pagedaemon that need
to copy-on-write.
2008-08-12 10:14:37 +00:00
lukem
18a7b6ae04 Tweak rules to disable generation of .c files from .l / .y.
(Goal is to minimize differences with the vendor file)
Fix PR 38152.
2008-08-12 10:09:31 +00:00
pooka
4b5f80486c Make it possible to control starting of threads per env variable
instead of only at compile-time.
2008-08-12 10:04:57 +00:00
simonb
4386857e55 Note that openldap 2.4.11 is out. 2008-08-12 04:24:48 +00:00
skrll
d8054af5f4 Provide assembly _atomic_cas_up() as the compiler cannot be trusted to
generate fully restartable code sequences.
2008-08-11 21:54:51 +00:00
skrll
ad5c6971b7 Define _ASM_LS_CHAR as '!' on hppa. 2008-08-11 21:52:10 +00:00
skrll
a4f4c1ce35 Allow the asm line separator (default ';') to be overridden in the
RAS_*_ASM* macros.
2008-08-11 21:51:14 +00:00
skrll
0b99767bfe Remove unnecessary include. 2008-08-11 21:45:24 +00:00
pooka
84c098fe27 call puffs_exit() 2008-08-11 16:23:58 +00:00
pooka
71043aa4cb clear cached puffs_cc's in puffs_exit() 2008-08-11 16:23:37 +00:00