Commit Graph

172395 Commits

Author SHA1 Message Date
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
pooka 7602ecfa8f * make sure we come out of mainloop in the main context. otherwise in
certain cases the server would jump to hyperspace when unmounted
* sprinkle some debug prints
2008-08-11 15:59:01 +00:00
pooka 716a1797f9 We can actually simply use execvp() instead of /bin/sh for
exec-and-pathsearch-with-environ.
Thanks to bad for pointing this out & apb + blymn for some discussion.
2008-08-11 13:32:55 +00:00
christos 4c20e2ab03 try to handle different byte orders. 2008-08-11 10:58:02 +00:00
christos b6f6f7a746 teach this about wedges. 2008-08-11 10:56:54 +00:00
skrll 1bd9dc93c6 Fix copy{in,out}str on hppa by
1) not attempting to copy anything if size is initially 0.
	2) returning ENAMETOOLONG if we ran out of space.
2008-08-11 10:36:41 +00:00
apb f0633cf45e * Suggest a "-j" value between 1+NCPU and 2*NCPU for the fastest builds.
* Remove some duplicated content that appeared in both the section about
  make's -j flag and the section about build.sh's -j flag.
2008-08-11 08:22:39 +00:00
simonb d3111754f6 Add polling support to ld_twe_flush().
Fixes the "cpu_switcho: switching above IPL_SCHED" panic for ld@twe
disks on shutdown in kern/38655.
2008-08-11 06:46:10 +00:00
simonb 82bb1c2ff8 Add a flags argument to the ld(4) flush handlers, and call these with a
"poll" flag when called from ld_shutdown().

This is the infrastructure part of kern/38655 - in itself it doesn't
fix the panic referenced in that PR.

XXX: At least ld_twa.c and perhaps ld_iop.c and ld_icp.c need to
check for this new poll flag and do something useful.
2008-08-11 06:43:37 +00:00
christos ecd6bc7086 typo in comment and white-space fixes mostly from Stathis Kamperis 2008-08-11 05:54:21 +00:00
yamt 1907407b97 constify 2008-08-11 02:51:01 +00:00
yamt a5cd2e50c6 make pcg_dummy const to catch bugs earlier. 2008-08-11 02:48:42 +00:00
yamt 53d1c25e34 add some KASSERTs. 2008-08-11 02:46:40 +00:00
yamt ae231875d3 fix a comment. 2008-08-11 02:45:27 +00:00
yamt eee9e229a0 lf_setlock: g/c dead code. 2008-08-11 02:44:28 +00:00
yamt 6198e821cb sleepq_block: fix a bug to lose biglocks in the case of recursive calls.
this fixes pf rb-tree corruption on my box.
2008-08-11 02:36:25 +00:00
joerg 06bd97aab2 accept_filter cat pages. 2008-08-11 01:14:19 +00:00
wiz 6ae5b86a80 Drop trailing whitespace. Use .Dq. 2008-08-10 23:25:50 +00:00
gdt 69bdd817cc Add error checking to use of fputs in creating output file in
temprorary directory.  Previously, fputs was used without checking the
return value, leading to silent truncation when the temporary
filesystem was full (such as can easily happen when migrating to
tmpfs).
2008-08-10 22:36:23 +00:00
cube dda0645b09 Clarify a bit .SUFFIXES and .IMPSRC. Should fix PR#37822. 2008-08-10 19:47:29 +00:00
tsutsui 47f44b6ca7 Don't forget to unload TX dmamap on failure (in !MEC_TXSTAT_SUCCESS case). 2008-08-10 18:56:16 +00:00
tsutsui 9a7246342e In mec_intr() call mec_init() on errors for workaround. 2008-08-10 18:49:47 +00:00
tsutsui 8eb2877b11 - no need to set the TXCMD_TXINT bit against the last enqueued TX packet
because TX_EMPTY interrupt is enough to serve it on TX completion
- start TX right after each TX packet has been prepared

A quick ttcp(1) test shows ~5% improvements.
2008-08-10 18:43:55 +00:00
cube ac5c3a5a8a Accept filters are cool, but it's not a reason to select them twice. 2008-08-10 18:43:52 +00:00
tsutsui a856761fb4 Use while(cond){} instead of for(;;){if(!cond)break;}. 2008-08-10 16:21:28 +00:00
tsutsui df91c0f20b The last txdesc is now preserved, so also set IFF_OACTIVE properly. 2008-08-10 16:18:43 +00:00
tsutsui 0ba4793950 Specify PAGE_SIZE boundary for TX dmamaps.
mec(4) hardware may have the restriction.
2008-08-10 16:12:57 +00:00
tls fca9d633b9 Add accept filters to GENERIC kernels where they exist. 2008-08-10 15:31:20 +00:00
tls b1d270319d Manual pages for accept_filters(9), from FreeBSD. Also, document syntax we
added in NetBSD for specifying accept filters in inetd.conf.
2008-08-10 14:55:13 +00:00
fair 6b07d6f6b6 Note that the le(4) driver drives the Antares SBus 10Base-T Ethernet 2008-08-10 14:43:53 +00:00