Commit Graph

70555 Commits

Author SHA1 Message Date
tv
9366f12ec0 Move "rgb.db" from xbase to xserver. In its Berkeley DB compiled form, it
is used only by the X server, and should be grouped there.  Later we may
also add unconditional install of the source-form "rgb.txt", usable by all
programs, into xbase.

This allows the xbase set to be shared between the mipsel platforms, and all
m68k platforms except atari (which has additional XF86 add-ons).
2000-10-05 02:27:01 +00:00
cgd
b1b364243d always have to declare cpu_arch and the related constants (since setting
it isn't conditionalized).  (d'oh!)
2000-10-05 02:13:14 +00:00
itojun
05a03575d1 avoid conflicting manpage filenames (like err.3) 2000-10-05 01:55:49 +00:00
augustss
7ce859b8d0 Allow 16-bit only speakers to work. 2000-10-05 01:35:07 +00:00
cgd
7fefa594f7 add two blank lines 2000-10-05 01:17:20 +00:00
cgd
36123017cb nuke mips3_clearBEV(). There's really no point in coding a
special-purpose assembly routine for things like this.
2000-10-05 01:06:06 +00:00
cgd
3f1d3c3066 tweak cpu_arch. Eliminate all direct checks of it (making them
use the macro CPUISMIPS3 -- which is badly misnamed), and set it
from #defines named CPU_ARCH_N (where N is 1..5, 32, 64).
2000-10-05 00:52:59 +00:00
tv
a22da181d6 Merge compiled XKB keymaps to the xserver set (they aren't usable without
the X servers anyway).  This lets several m68k platforms (all but atari)
share the xbase set.
2000-10-05 00:41:20 +00:00
mrg
4f75145ec1 s/vm/uvm/ in a bunch of error messages. 2000-10-05 00:37:50 +00:00
tv
8b5d5857ce Obliterate "man/md_share". The difference is negligible relative to the
size of the man set, and with all architectures' man pages in "man", we
can now share both "man" and "misc" on all platforms (CD-ROM space saver).
2000-10-05 00:11:43 +00:00
jdolecek
2fa1ccfa6e bootpath_build(): implement slighly more clever algorith to find boot
flags in the bootpath: only treat the rest as boot flags if the '-'
follows whitespace (space or tab)

This should fix the "boot disk4 netbsd-20001004-RFHS8036" lossage
Hubert Feyer pointed out in private e-mail.

Tested by: jdolecek (userland version)
Reviewed by: eeh
2000-10-04 23:05:08 +00:00
cgd
e9e1084ea3 rename mips_read_causereg -> mips_cp0_cause_read. nuke prototype
for mips_read_statusreg (which was apparently never implemented).
Provide prototypes and implementations for mips_cp0_cause_write,
mips_cp0_status_read, and mips_cp0_status_write.  (Writing can, of
course, be quite dangerous.)
2000-10-04 22:44:01 +00:00
itojun
bb4b4d9e39 ifp->if_ioctl may be NULL, so check it for SIOCSIFPHY*. 2000-10-04 22:37:41 +00:00
itojun
0c84fad435 more rnd(4). 2000-10-04 22:26:49 +00:00
eeh
6638fc7c06 Fix interrupt lossage problem and some cosmetic changes. 2000-10-04 22:18:25 +00:00
cgd
8b8afc8d07 the generic MIPS code doesn't even play at doing anything useful
with a MIPS4 option at this point -- all the code except for one single
spot is conditionalized with MIPS3.  So, don't even pretend about
MIPS4 for now, until it all gets cleaned up.
2000-10-04 21:41:47 +00:00
cgd
13eb329ef1 provide indicators of a few more things that might go in opt_cputype.h 2000-10-04 21:31:06 +00:00
thorpej
3ba709aec7 Make sure we're super-user for SIOCSIFPHYADDR, SIOCDIFPHYADDR,
and SIOCSIFPHYADDR_IN6.
2000-10-04 21:12:40 +00:00
is
b0ee22422c Regenerate from INSTALL. 2000-10-04 20:44:53 +00:00
is
6458912fb4 regenerate: INSTALL changes as implemented in GENERIC and Makefile. 2000-10-04 20:40:06 +00:00
is
986619df97 Reimplement the INSTALL changes in GENERIC and Makefile. 2000-10-04 20:38:11 +00:00
is
1c9bb33fcb resync, mostly for the rnd addition. 2000-10-04 20:13:42 +00:00
mjl
b46ec3b29b getopt(3) returns -1 not EOF. 2000-10-04 20:09:04 +00:00
mjl
7063d4bc33 Un-__P and ANSIfy. 2000-10-04 20:02:26 +00:00
mjl
a1ac373d57 Remove unused includes. 2000-10-04 20:00:47 +00:00
mjl
8f69642d30 getopt(3) returns -1 not EOF.
Add usage().
Un-__P and ANSIfy.
2000-10-04 19:50:52 +00:00
mjl
5200bd03ee Constify tables. Re-fixes PR/6151, whose changes went lost since. 2000-10-04 19:33:16 +00:00
sommerfeld
abff7e84fd If FORMAT_AUDIT is set, and WFORMAT is set and > 1, turn on
-Wnetbsd-format-audit for extra-stringent format checking.
WFORMAT belongs in individual makefiles and/or Makefile.inc files.
FORMAT_AUDIT should go in mk.conf if you're doing format-string auditing.
(set WFORMAT=1 in individual makefiles if a program is
not security critical and is doing bizarre things with
format strings which would be even uglier if rewritten)
FORMAT_AUDIT may go away in time (i.e., default to on)
2000-10-04 19:27:45 +00:00
mjl
9ff98d4d50 Un-__P and ANSIfy. 2000-10-04 19:24:59 +00:00
sommerfeld
ad8aa5a492 Enhanced format string checking.
If -Wformat is enabled, try harder to chase down compile-time constant
format strings.. capable of catching things like:
	const char foo[]="%s %d";
	printf(foo, 1, "2");

If the new option -Wnetbsd-format-audit (no, I don't like the name,
either) is enabled, complain about non-constant format strings we
can't verify.  In particular, for *v*printf-like functions (i.e.,
non-variadic functions which are passed a va_list), insist that the
format string come from a parameter declared as a format string
argument, so that functions which should be declared as printflike are
caught at compile time.
2000-10-04 19:21:28 +00:00
mjl
277079480a Correct typo in comment.
Use errx instead of printf/exit.
Sort headers alphabetically.
2000-10-04 19:14:53 +00:00
mjl
7627a9213f Un-__P and ANSIfy. 2000-10-04 18:52:50 +00:00
tsutsui
cc135eb39f Add MI mk48txx. 2000-10-04 18:44:24 +00:00
mjl
e88c38cfda No \n in syslog messages.
_exit(-1) -> _exit(1).
2000-10-04 18:24:03 +00:00
itojun
779fc41d88 enable rnd(4) 2000-10-04 18:14:35 +00:00
sommerfeld
934ef16427 Format size mismatch 2000-10-04 18:12:01 +00:00
itojun
194446c648 plug possible printf string format issue. seen on openbsd mailing list 2000-10-04 17:58:44 +00:00
sommerfeld
12c2f5bd9a Add format checking 2000-10-04 17:12:01 +00:00
tsutsui
d11ef545cd Enable sanity checks in mk48txx_gettime().
(Many news68k have dead NVRAM.)
2000-10-04 17:00:45 +00:00
tsutsui
39787038e9 Switch to MI mk48txx driver.
XXX All config files should be updated since now clock address does not
XXX contain clock register offset in NVRAM.
2000-10-04 16:35:43 +00:00
tsutsui
3f1232147d Initial bus_space(9) support for news68k. From hp300. 2000-10-04 16:26:43 +00:00
sommerfeld
8aefd97377 Format string audit cleanup (increase format checking) 2000-10-04 16:24:49 +00:00
sommerfeld
acf589519a format string audit (silence warnings, save space) 2000-10-04 16:21:39 +00:00
sommerfeld
f9d3ae0fbb format-string audit cleanups 2000-10-04 16:11:27 +00:00
hubertf
037fd8a74e Make even more silent, only spit out stuff if -v is given.
Found during a post-install of a fresh machine:
1. setenv PKG_PATH ftp://smaug.fh-regensburg.de/pub/NetBSD/arch/i386ELF/All
2. pkg_add tcsh ssh XF86Config
3. Run XF86Config
4. pkg_add kde
5. Be done.

We should do this from /etc/rc.local on first boot... :-)
2000-10-04 16:01:50 +00:00
sommerfeld
4c38fc5aac Varargsify dprintf to allow for format string checking 2000-10-04 14:56:24 +00:00
sommerfeld
76a009b2be Avoid compile-time variable format string (format audit) 2000-10-04 14:52:27 +00:00
sommerfeld
ae42ec1652 Avoid run-time construction of format string we can build at compile time 2000-10-04 14:46:23 +00:00
uch
478ab76ca3 experimental power management support for TX3912/TX3922 based model. 2000-10-04 13:53:54 +00:00
jdolecek
a93350bb37 document output format, so that users would know exact meaning
of printed statistics
2000-10-04 11:40:51 +00:00