Commit Graph

172365 Commits

Author SHA1 Message Date
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
dogcow 3d76e13568 as dyoung points out, %zu for size_t - not %zd. 2008-08-09 13:52:05 +00:00
rtr f6a4f9e77d * override libinstall with moduleinstall from src/x11
* define NOSHLIB_VERSION (not yet in bsd.lib.mk)
  - together these allow us to install foo_drv.so to XMODULEDIR
2008-08-09 11:18:05 +00:00
rtr 5778b47a61 * grab SRCS.fb from libfb.a
* install libfb.so
2008-08-09 11:16:02 +00:00
rtr 509b7dee9f * don't install libfb.a
* remove old module kruft
* expose SRCS.fb for dixmod/libfbmod.so
2008-08-09 11:14:52 +00:00
pooka 5f1dda08e4 add manpage for rump_syspuffs 2008-08-09 11:07:26 +00:00
rtr cd86a737b6 clean up the build of libdbe.a and libdbe.so 2008-08-09 09:08:25 +00:00
rtr 92db0aeceb LDFLAGS+= -rdynamic 2008-08-09 09:07:40 +00:00
rtr 784dab8864 * define XMODULEDIR for the dbe module
* set LIBDIR=${XMODULEDIR} for dixmods
2008-08-09 07:22:21 +00:00
rtr 0a2b3822d4 make this build more like the xorg build and cleanup DPADD while i'm here 2008-08-09 06:50:17 +00:00