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
tls
dba208aabd
Change copyright statement to NetBSD 2-clause with correct attribution.
2008-08-10 14:07:41 +00:00
jmcneill
74a2b69ab9
Isochronous transfers are now supported, update BUGS section.
2008-08-10 13:39:58 +00:00
cegger
692c8bd822
- beggining -> beginning
...
- xenconscn_attach: ansify
- xenconscn_putc: KNF
2008-08-10 13:33:44 +00:00
rtr
f431523df6
SHLIB_MAJOR=0 if defined(XMODULEDIR)
2008-08-10 11:56:06 +00:00
rtr
16734c80a9
set SHLIB_MAJOR=${PACKAGE_MAJOR}
...
just set LIBDIR= don't bother with allowing override
2008-08-10 11:28:42 +00:00
lukem
01ca4a276a
Fix installed symlinks for LIBISMODULE=yes.
...
Further fixes to support for SHLIB_MAJOR set without SHLIB_MINOR.
2008-08-10 11:06:43 +00:00
lukem
e24bdb26eb
When building a .so, don't require the library to have a minor version.
...
Prevents a "stat: Too many levels of symlinks" build error.
2008-08-10 10:42:01 +00:00
rtr
47be36a913
fix my lousy awk
2008-08-10 10:26:10 +00:00
martin
594e1c45dc
Move __BEGIN_DECLS into the same ifdef as the __END_DECLS.
...
Reported by Arne H. Juul in PR lib/39331.
2008-08-10 10:19:19 +00:00
rtr
aef88f4580
no need to MKLINT=no since LIBISMODULE=yes does this for us
2008-08-10 09:38:22 +00:00
rtr
a8e904b030
remove cheesy hack moduleinstall target and use LIBISPRIVATE=yes
2008-08-10 09:29:08 +00:00
lukem
b88ccbbf16
Implement LIBISMODULE:
...
If not "no", install as ${LIB}.so (without the "lib" prefix),
and act as "MKDEBUGLIB=no MKLINT=no MKPICINSTALL=no
MKPROFILE=no MKSTATICLIB=no".
Default: no
2008-08-10 09:25:04 +00:00
cegger
33caeffbb8
Add accept filters per request from port-xen:
...
http://mail-index.netbsd.org/port-xen/2008/08/10/msg004087.html
pseudo-device entries were copied from sys/arch/i386/conf/GENERIC, rev. 1.904
2008-08-10 08:53:29 +00:00
simonb
cb6ddf15e6
Remove adding -g to CFLAGS and LDFLAGS. Ancient debug bogon?
2008-08-10 08:06:23 +00:00
rtr
ad9ac2f860
CPPFLAGS+=-DXFree86LOADER for drivers
2008-08-10 07:39:13 +00:00
christos
b050639f27
delete junk file.
2008-08-10 07:30:53 +00:00
rtr
5f3ad3acc9
* use SRCS.record
...
* build and install librecord.so to modules/extensions
2008-08-10 06:43:29 +00:00
rtr
5e49e25553
* LIBISPRIVATE=yes for librecord.a
...
* expose SRCS.record for use by librecord.so
* fix includes
2008-08-10 06:42:39 +00:00
rtr
15b69ba7a1
install libtype1.so to modules/fonts
2008-08-10 06:30:21 +00:00
rtr
b91f4d517c
* install libfreetype.so to modules/fonts
2008-08-10 06:28:16 +00:00
rtr
7f5e032bbb
* install libdri.so to modules/extensions
...
* libdri.so depends on libdrm
2008-08-10 06:21:36 +00:00