168864 Commits

Author SHA1 Message Date
thorpej
6144958d8f ARP and IGMP stats are now available by sysctl. 2008-04-15 16:06:28 +00:00
oster
8fb49f6fa8 A forced recon read should not default to indicating that the reads
for that disk have stopped, since this will bump us out of the normal
reconstruction loop prematurely.

Fixes the (mostly cosmetic) bug where the reconstruction
status values stop updating, and from raidctl it appears that
reconstruction has totally stalled (which it actually hasn't -- the
reconstruction does complete properly, but not in the normal way).
2008-04-15 16:05:43 +00:00
thorpej
83dd106948 Make IGMP stats per-cpu. 2008-04-15 16:02:03 +00:00
thorpej
881a947288 Make ARP stats per-cpu. 2008-04-15 15:17:54 +00:00
cegger
b849cd90e5 device_t / softc split. From Hans Rosenfeld 2008-04-15 15:02:28 +00:00
plunky
486e4624e5 some changes to serial bluetooth host controller interfaces
btuartd(8) should be named btattach(8) for consistency
with other parts of NetBSD

make btattach(8) a single-use tool for less complexity

device specicific initialisation (from btuart(4)) is carried
out prior to activating the line discipline (in btattach(8)),
which simplifies the API somewhat and means that the user
tool and the kernel do not need to be kept in sync.

btuart(4) driver is much reduced; naming is made consistent
and all tsleep() and delay() are removed to userland
2008-04-15 11:17:47 +00:00
njoly
3ce80f6407 Remove unneeded amd64 ifdef/endif. 2008-04-15 11:08:05 +00:00
apb
af04b66a89 Remove an extraneous "%" from the end of a line. 2008-04-15 09:53:58 +00:00
apb
0a0e65b2a1 In the nooutput function, use {...} to ensure that shell messages
like "cmd: not found" are also redirected.

This should fix a problem reported by Chavdar Ivanov in which
the message "mtree: not found" appears during installation.
2008-04-15 09:52:41 +00:00
thorpej
1121526b25 Make CARP status per-cpu. 2008-04-15 06:03:28 +00:00
thorpej
0e499be12d Make pim6 stats per-cpu. 2008-04-15 05:40:15 +00:00
thorpej
27c227fe6e Explicitly include <sys/percpu.h>. 2008-04-15 05:23:33 +00:00
thorpej
16497cdf28 Make raw6 stats per-cpu. 2008-04-15 05:13:37 +00:00
thorpej
db098952cf Use ANSI function decls throughout. 2008-04-15 04:50:05 +00:00
thorpej
680fd6866d Make ip6 and icmp6 stats per-cpu. 2008-04-15 04:43:53 +00:00
thorpej
c2da059bc6 Make udp6 stats per-cpu. 2008-04-15 04:43:25 +00:00
bjs
79cf86c8af Change the DRM_SPININIT macro to call mutex_init with MUTEX_DEFAULT
and IPL_NONE.  MUTEX_DRIVER is no longer part of the stable API.  Moreover,
IPL_TTY is now IPL_VM, and this code should not be running with such a
high ipl.
2008-04-15 04:08:58 +00:00
thorpej
0dd41b37de Make ip6 and icmp6 stats per-cpu. 2008-04-15 03:57:04 +00:00
dogcow
3c06a7cd5b reinstate SYMTAB_SPACE (but with a large enough size this time.) 2008-04-15 01:04:10 +00:00
dogcow
dd2fb065d2 add missing entries for curses_fileio.[03]. (hi, jdc!) 2008-04-15 00:49:02 +00:00
uwe
ba371d8f54 Convert to CFATTACH_DECL_NEW and misc related facelift. 2008-04-15 00:21:49 +00:00
uwe
94ad439b55 Handle leaf routines that were interrupted.
Clean up/prettify debug printfs and compile them unconditionally,
but only enable them if db_trace_debug is set.
2008-04-15 00:18:27 +00:00
tsutsui
a91b6f6d11 Backout previous for now. We have to rethink dependency for MKPIC and LDSTATIC.
Pointed out by dogcow@.
2008-04-15 00:08:05 +00:00
jdc
a5d694a48c Remove unused BUGS section header. 2008-04-14 21:29:30 +00:00
jdc
9614bd680e Cross reference curses_fileio(3).
Bump date.
2008-04-14 21:26:16 +00:00
cegger
1b5ffa90ad - ansify
- use POSIX integers
2008-04-14 21:20:41 +00:00
jdc
b39bec86b0 Document recent libcurses additions. 2008-04-14 20:45:20 +00:00
jdc
aba5d1bbdf Increment libcurses minor. 2008-04-14 20:42:58 +00:00
jdc
51d1151ffe Document termattrs(), term_attrs(), putwin() and getwin() 2008-04-14 20:41:34 +00:00
jdc
e4b4dc6765 Add new file IO functions.
Define DISABLE_WCHAR, so that we can build without HAVE_WCHAR.
2008-04-14 20:41:17 +00:00
jdc
b93705abe5 Add new file IO functions. 2008-04-14 20:40:53 +00:00
jdc
e501372810 File IO functions header file. 2008-04-14 20:40:37 +00:00
jdc
6dbdc40c87 Increment minor for getwin()/putwin() addition.
Document fileio.h regeneration.
2008-04-14 20:39:58 +00:00
jdc
4c71b79a6f File IO functions getwin() and putwin().
Should fix PR lib/24928.
2008-04-14 20:38:45 +00:00
jdc
d5966065f3 Header (fileio.h) generation script for file IO functions. 2008-04-14 20:35:23 +00:00
jdc
4dd5a997bc Add FILEIO ctrace definition.
Remove unneeded function.
2008-04-14 20:34:36 +00:00
jdc
619b7f0eeb Make this compile when HAVE_WCHAR is not defined. 2008-04-14 20:33:59 +00:00
jdc
5b4df340df Remove unused code.
Only change the scrolling region if the window now has fewer rows.
2008-04-14 20:33:41 +00:00
jdc
dfc45432ab Make __subwin() static. 2008-04-14 20:33:15 +00:00
jdc
e44c226e62 Add extra debugging information. 2008-04-14 20:32:53 +00:00
spz
123ed98aff pretty up if_ex: pmf'ify, device split, and improve printing a bit too.
Reviewed and function-tested on if_ex_cardbus by cube (thanks).
Function-tested on if_ex_pci by myself.
2008-04-14 20:03:13 +00:00
mjf
702dec85cb Remove entry for ttyv0. To quote chris@
"we're wscons on acorn32 now, and we're not going back"
2008-04-14 19:51:06 +00:00
jdc
afd69f437c Make this compile when HAVE_WCHAR is not defined. 2008-04-14 19:46:42 +00:00
ad
db0173b9a6 SSP: block interrupts when enabling, and move the init to just before
starting secondary processors.
2008-04-14 18:07:51 +00:00
nakayama
a9ca1b36dd Remove sparc64_ipi_sync_tick.
Since we can use counter-timer as timecounter instead of %tick on SMP kernel,
it is not necessary to sync all CPUs %tick registers.
2008-04-14 17:54:07 +00:00
nakayama
bf95a282f1 Reduce use of curcpu() in tickintr_establish. 2008-04-14 17:43:02 +00:00
skrll
a4177c5c7a Commit the landisk install stuff I hacked together from hubert's efforts.
Requested by uwe.
2008-04-14 17:24:56 +00:00
oster
25c8cdfd32 Print out the status value if a reconstruction read fails.
Don't print out write promotions during reconstruct unless
we are debugging reconstructs.
2008-04-14 17:24:50 +00:00
nakayama
37d841fbb8 Remove sparc64_ipi_sync_tick.
Since we can use counter-timer as timecounter instead of %tick on SMP kernel,
it is not necessary to sync all CPUs %tick registers.
2008-04-14 16:19:18 +00:00
nakayama
3c342df23b Add workaround for BB_ERRATA_1 on writing to TICK_CMPR register in
next_tick().  If writing to TICK_CMPR fails, we lose hardclock interrupt
on secondary CPUs.

About BB_ERRATA_1 from comment in OpenSolaris:

/*
 * Writes to the TICK_COMPARE register sometimes fail on blackbird modules.
 * The failure occurs only when the following instruction decodes to wr or
 * wrpr.  The workaround is to immediately follow writes to TICK_COMPARE
 * with a read, thus stalling the pipe and keeping following instructions
 * from causing data corruption.  Aligning to a quadword will ensure these
 * two instructions are not split due to i$ misses.
 */
2008-04-14 16:14:20 +00:00