Commit Graph

123538 Commits

Author SHA1 Message Date
jsm 716c7169f3 Include <sys/stat.h>. 2004-01-27 20:27:59 +00:00
jsm 8f5e2162b1 Include <sys/types.h>. 2004-01-27 20:27:29 +00:00
jsm d91509309a Include <sys/endian.h>. 2004-01-27 20:26:55 +00:00
jsm 0752e03df7 Include <limits.h> instead of <machine/limits.h>. 2004-01-27 20:26:20 +00:00
jsm 514bad17d7 Include <sys/endian.h>. 2004-01-27 20:25:48 +00:00
jsm b974cbaba0 Include <sys/endian.h> instead of <machine/endian.h>. Include
<stdlib.h>.
2004-01-27 20:25:07 +00:00
jsm a3b9fbcc3a Include <sys/endian.h>. 2004-01-27 20:24:32 +00:00
jsm a5f914a25a Use int for wait status. 2004-01-27 20:23:36 +00:00
he 1607f0c077 When using obj directories, the make proces cd's to the obj directory.
Therefore, we need to cd to ${.CURDIR} before re-invoking ${MAKE} so
that it can find the Makefile.
Also, pass ${MFLAGS} to ${MAKE} so that we pick up the source tree's
makefile fragment, not the host system's fragments, so that this
works properly on older NetBSD host systems, as well in other
cross-compile contexts.
2004-01-27 15:55:42 +00:00
lukem 461afe3410 Remove the compatibility stuff to link from various tapes to *mt*
aliases if the latter don't already exist, as it causes build problems
as reported on port-vax@ by Brian Chase.
2004-01-27 15:45:19 +00:00
lukem b776c8e6bb Retain the euid of the target user whilst reading the
.rhosts file.  This allows it to have a mode of 600
and still function correctly even when used on an NFS
client with uid 0 mapped to another (anonymous) UID.
Patch from Brian Ginsbach <ginsbach@cray.com>,
and fixes [bin/14880] from Darren Reed <darrenr@>.
2004-01-27 11:46:34 +00:00
dan c6ba3edf9d Reduce the default BUFCACHE to 10% for now. Too many users are
tripping over this getting too large, and suffering other performance
problems due to the lack of good backpressure shrinking the bufcache
when other memory is required.  Again, this tunable should be
revisited when the backpressure mechanism has been improved.

sysctl vm.bufcache can be used to manually tune those rare machines
that might need more than this.

See comments in rev 1.106 for more detail.
2004-01-27 11:35:23 +00:00
lukem cce7832fa3 implement params with cd etc && make params 2004-01-27 04:22:25 +00:00
lukem eb5766fce9 Add to RELEASEVARS:
NETBSDSRCDIR OBJMACHINE USR_OBJMACHINE X11SRCDIR

Add 'params' separate to 'etc-release', and use the former as part of
the latter.
2004-01-27 04:19:06 +00:00
lukem af85ccad70 Replace
:M-[IDU]*
with
	:C/-([IDU])[  ]*/-\1/Wg:M-[IDU]*
so that arguments with whitespace after them work correctly.
Resolves [toolchain/18248] from Andrew White at Motorola.

Be consisent in this syntax; previously we'd sometimes we'd just have :M-[ID]*
which would ignore -Ufoo ...

(This needs :C///W support in make(1) that Simon Gerraty added for me :)
2004-01-27 03:31:48 +00:00
lukem 460eec09d4 There's no need to use :N-c with ${INSTALL_FILE}. 2004-01-27 02:52:19 +00:00
lukem 5541148775 now that -c is the default, use "copy" instead of "move" 2004-01-27 02:49:42 +00:00
lukem 041ddd7062 Fix dependency for .version.
Noted by Geoff Wing in [bin/24244]
2004-01-27 02:17:46 +00:00
lukem 3ae3c90bcf Apply .PHONY appropriately.
Use .EXEC when we always want to create ${.TARGET}, rather than
perform an non-file-based operation (.PHONY is for the latter).
2004-01-27 01:52:06 +00:00
lukem 8dfb23932f Apply the .PHONY attribute where appropriate.
Fixes [toolchain/21453] from rafal@.
2004-01-27 01:45:07 +00:00
lukem f83f942f81 Document more SPECIAL SOURCES (aka ATTRIBUTES).
Improve description of variable modifiers.
In the variable list, be more specific referring to "environment variables"
rather than just relying upon the formatting difference between .Ev and .Va.
2004-01-27 01:38:01 +00:00
lukem 25d2de94fe Document what BROKEN_SPOOLER_FLAGS 'add 16' is for, and add it to the
default broken flags.  groff 1.19 defaulted to this value off, whereas
groff 1.18.1 and earlier defaulted to this being on.  Setting this value
fixes postscript printing to my HP LJ4m.
Note: BROKEN_SPOOLER_FLAGS was previously `7', so we were already enabling
workarounds for other issues...
2004-01-27 01:00:09 +00:00
wiz 5ad6c16fa8 Bump date for previous. 2004-01-26 21:59:42 +00:00
dsl c08c3c342b Pass -MD through to cpp so that it can generate a depend file.
(Actually pass any -M <arg> through, but -MD is most useful.)
2004-01-26 21:51:11 +00:00
dsl 36af2f9f0c Redo code that expands the 'xxx.o' to 'xxx.o xxx.so xxx.po xxx.ln' so that
is doesn't care which of the wanted suffixes are in the input file.
Needed for my autodepend code where you don't know which compilation ran last.
2004-01-26 21:47:04 +00:00
scw 43cdf5ffb6 __splbarrier() is deprecated in favour of the MI __insn_barrier(). 2004-01-26 19:43:25 +00:00
wiz bd46fc1aae Complete typedef of struct audio_info to audio_info_t.
From Jared Yanovich via jmc@openbsd.
2004-01-26 18:17:08 +00:00
rearnsha 4195fc40fe Note ARM9 cache configuration change. 2004-01-26 16:13:58 +00:00
rearnsha 8e61df4a12 Switch the ARM9 to using the Dcache in write-back mode. Avoid an
unknown problem with dcache_inv_range by using a wbinv for now
(similarly for ARM10).

When setting the ARM9 system control register, use the computed
cpuctrlmask value (not 0xffffffff) so that the clocking-mode bits are
not reset to FastBus mode (which isn't very fast).
2004-01-26 15:54:16 +00:00
blymn f678f5ebbb Added note for updating these files. 2004-01-26 14:20:42 +00:00
blymn 2cfce94241 Added note for correct update procedure for pcidevs. 2004-01-26 14:18:13 +00:00
blymn 74aab7025b Regen with correct rcs id. 2004-01-26 14:08:10 +00:00
blymn f99510798e Add amd8151 agp bridge id. 2004-01-26 13:23:26 +00:00
lonewolf 8ecc24789a Remove unused dc_screens from the softc, the driver does not support multiple
screens.
2004-01-26 11:00:47 +00:00
scw b9992109f0 Make it possible to call badaddr_read() from interrupt context, even
if curpcb is NULL, by borrowing lwp0's pcb if necessary (needed to
be able to set pcb_onfault).

Problem reported by Allen Briggs.
2004-01-26 10:45:24 +00:00
hannken d6170777cf Fix xxx_strategy() to use the vnode arg instead of bp->b_vp. 2004-01-26 10:39:29 +00:00
hannken 84b45bc333 Fix mfs_strategy() to use the vp argument.
From YAMAMOTO Takashi <yamt@netbsd.org>.
2004-01-26 10:02:31 +00:00
jsm 1a8a5d7903 Rename yn to yncoms to avoid conflict with GCC 3.4 built-in XSI
function.
2004-01-26 09:59:36 +00:00
jsm d8c5384694 Rename rint to receive_intr to avoid conflict with GCC 3.4 built-in C99
function.
2004-01-26 09:58:35 +00:00
seb fb913be01a Add missing flags from the synopsis.
Fix pasto in -S flag description.

Approved by wiz@.
2004-01-26 09:28:10 +00:00
sekiya 6595b5b178 Slight modifications to newport driver:
* Add resolution and depth variables to softc (for use in X driver, although
  depth detection is currently problematic),
* Store more information about various chip revisions,
* Implement ioctls to help the X driver detect device presence and geometry.
2004-01-26 07:12:33 +00:00
rtr fe5ae52dea + print MACHINE not MACHINE_ARCH for OSNAME
+ add release to OSNAME
2004-01-26 05:14:13 +00:00
itojun c1675e235e avoid panic on monut_mfs. Greg Oster 2004-01-26 04:25:02 +00:00
itojun 22b15c680d do not disclose endianness/sizeof(long) on probe packet. idea from openbsd 2004-01-26 02:21:30 +00:00
atatat 3e0cc7e92c Print device names and mount points, if at all possible, instead of
just printing device numbers.
2004-01-25 21:49:04 +00:00
hannken a9149137c9 bump to 1.6ZI.
VOP_STRATEGY has new argument and vnode_if.? have been regenerated.
2004-01-25 18:11:13 +00:00
hannken 3db4e2acd8 Make VOP_STRATEGY(bp) a real VOP as discussed on tech-kern.
VOP_STRATEGY(bp) is replaced by one of two new functions:

- VOP_STRATEGY(vp, bp)  Call the strategy routine of vp for bp.
- DEV_STRATEGY(bp)      Call the d_strategy routine of bp->b_dev for bp.

DEV_STRATEGY(bp) is used only for block-to-block device situations.
2004-01-25 18:06:48 +00:00
hannken d7f6cbf8bc Make VOP_STRATEGY(bp) a real VOP as discussed on tech-kern. 2004-01-25 18:02:04 +00:00
hannken b1cb363c11 Make VOP_STRATEGY(bp) a real VOP as discussed on tech-kern.
VOP_STRATEGY(bp) is replaced by one of two new functions:

- VOP_STRATEGY(vp, bp)  Call the strategy routine of vp for bp.
- DEV_STRATEGY(bp)      Call the d_strategy routine of bp->b_dev for bp.

DEV_STRATEGY(bp) is used only for block-to-block device situations.
2004-01-25 18:02:03 +00:00
lukem c5a53802fe Use syslog(3) instead of err(3) to log errors.
Based on email conversation with Brian Ginsbach.

Add '%option never-interactive' to nslexer.l, to prevent isatty() from
being called unnecessarily.
Per discussion on current-users@ between Christian Biere and Greg Woods.
2004-01-25 16:38:15 +00:00