Commit Graph

58864 Commits

Author SHA1 Message Date
is 2e3d1cc048 The Ricoh chip has a seperate leapyear counter.
We must write this when we write the year register, keeping them in sync.
XXX the chosen algorithm only works for 1901 <= year <= 2099.
2000-01-03 21:52:14 +00:00
is d14968078a Write part of the y2k fix.
This is not strictly necessary, as
- at least for the Ricoh chip in the A3000 and A4000, as those chips' Y10
  registers happily continue to count up from 0xA if manually incremented
  past 0x9.
- the Amiga ROMs and "setclock" commands seem to interpret 0xA 0x? like
  200?, etc.

However,
- the Amiga setclock writes the modulo 10 value into the chips
- the chip docs of both chips, including the Y2K information of their
  manufacturers, only refer to the range 0-9
- the chips increment from 9 to 0

So we better conform to this, to avoid unpleasant surprises.
2000-01-03 20:30:51 +00:00
uch f56a7d0967 clean up boot message. 2000-01-03 18:29:03 +00:00
uch c6376f2e26 Change tx_poll_establish implementation and interface. 2000-01-03 18:24:03 +00:00
itojun 9ffbadc055 clarify text for RES_USE_INET6. this is almost always unnecessary. 2000-01-03 11:56:05 +00:00
takemura 74ea35cd39 Now you can specify Windows raw device no to load the kernel in the style:
n:/netbsd (n=1..9)
2000-01-03 05:59:40 +00:00
msaitoh 518cfb0bde userret() if the user process will be killed.
Now the NetBSD/sh3 works very stable!
2000-01-03 02:55:25 +00:00
msaitoh b0b4797dfb don't clobber r4 and r5 2000-01-03 02:40:04 +00:00
msaitoh 40732a4308 nlist for COFF 2000-01-03 02:13:32 +00:00
itojun f69863cf45 sync with reality. cnw(4) and awi(4) are not in INSTALL kernel. 2000-01-02 18:44:07 +00:00
itojun bf9e30f3c1 sync text with reality. unified-ipv6 effort (KAME+INRIA+NRL)
resulted into single tree (KAME).
2000-01-02 18:39:03 +00:00
is 5614cd4fce *sigh*
Y2000-patch for A2000, A3000 and A4000 battery backed clock modules,
mostly by Adam Ciarcinski.
2000-01-02 18:29:22 +00:00
itojun 07c2fe1cd9 add net.inet6.icmp6.nodeinfo sysctl.
this allows you to disable/enable ICMPv6 node information query/reply
processing (which tells remote end the gethostname(3) setting, interface
addresses on the node, and some other things - documented in
draft-ietf-ipngwg-icmp-name-lookup* or something alike).

to test it, try ping6 -w ::1 with nodeinfo=0 and nodeinfo=1.
(sync with kame change)
2000-01-02 16:31:17 +00:00
itojun 6aa45a8fe1 use mtree -U, not mtree -u.
re-enable error code check (remove "-" magic from makefile).

From: Hubert Feyrer <feyrer@rfhs8012.fh-regensburg.de>
Message-ID: <Pine.GSO.4.05.10001020308490.20750-100000@rfhs8036>
2000-01-02 13:59:34 +00:00
msaitoh af97804fa9 add exec_coff.h 2000-01-02 13:43:00 +00:00
msaitoh b75406e24f remove exec_coff.h 2000-01-02 13:40:55 +00:00
msaitoh da3eeac505 EXEC_COFF cleanup 2000-01-02 13:39:49 +00:00
itojun 062c67829f typo fix 2000-01-02 13:34:25 +00:00
itojun f5507e1557 avoid use of bitfield in packet format definition. it is non-portable
(packing constraint is unknown).
avoid use of u_int8_t bitfield.  it is illegal.
2000-01-02 13:15:53 +00:00
msaitoh 47956fff3f skip gdb if ${MACHINE_ARCH} == "sh3" 2000-01-02 11:20:51 +00:00
msaitoh 6bba0f3f4a pass arg 4 of the qsort() correctly. 2000-01-02 11:01:02 +00:00
msaitoh fef1139c8c BFD for SH ELF 2000-01-02 10:53:52 +00:00
msaitoh d732fa1812 etc files for mmeye 2000-01-02 10:04:26 +00:00
msaitoh 4d15e8e01a list file for etc/ 2000-01-02 09:52:15 +00:00
msaitoh b552de8bdc list files for sh3 2000-01-02 09:48:32 +00:00
itojun 758c15425b wording changes. document rtsol(8) behavior earlier in the document.
(sync with kame repo)
2000-01-02 06:30:15 +00:00
sommerfeld 9aeb6a25d2 minor KNF tweaks 2000-01-02 02:08:07 +00:00
sommerfeld b38548c58d On a cold suspend to disk, the Sony VAIO Z505 BIOS appears to not
preserve enough of the state of the PCIC to keep it interrupting on
card insertion/removal..

Add a power hook to notice if the CSC_INTR device register is zeroed
on resume, and if so, reset it to a sane value.
2000-01-01 21:57:45 +00:00
kristerw c1d02ec5a3 Made N_TXTADDR do the righ thing with shared libs. 2000-01-01 20:52:57 +00:00
ad 6d88cc0622 - Make sense out of comment on dpt_wait().
- Trivial streamlining of logic in dpt_poll().
2000-01-01 19:56:59 +00:00
itojun 14719f6549 document PF_INET6 items (net.inet6.*). 2000-01-01 18:00:56 +00:00
jsm e2dbfa95c5 Declare variables as extern in headers rather than using linker commons. 2000-01-01 10:15:17 +00:00
mycroft 40d251bc94 Update for y2k. 2000-01-01 05:00:03 +00:00
shin 28087acb02 Change COPTS to "-Os -mmemcpy" for size reduction.
Suggested by Simon Burge.
2000-01-01 04:46:22 +00:00
shin 54fac7be8f add MSDOSFS
delete redundant kernel 'config' lines.
add new option '-b={wd0,sd0,nfs}' to change boot device.
2000-01-01 02:22:35 +00:00
shin 7626f63930 compile kernel with
-mips2 -G 32
for size reduction. Suggested by Castor Fu.
2000-01-01 02:15:38 +00:00
eeh 5fc5fe98a8 Add COMPAT_NETBSD32 support. 1999-12-31 22:27:59 +00:00
eeh a7474fcab6 netbsd32_close() would work better if it called sys_close() rather than
sys_write().
netbsd32_getfsstat() cannot just copyin()/copyout(), convert the structures,
and call sys_getffstat().  sys_getffstat() wants to do its own
copyin()/copyout().  So we need to implent the whole of sys_getffstat()
in netbsd32_getfsstat().
1999-12-31 22:26:21 +00:00
agc 2f3f04acfd Enhancements from Hubert Feyrer:
+ copy all files and directories in <skeldir> to new user's home
directory, not just if they begin with a '.'
+ use pax to copy files from <skeldir>, as this will allow <skeldir>
to contain directory trees as well as regular files
+ use -h arg to chown(1) in case any symlinks have been created in the
new user's home directory
+ getpwnam(3) does not set errno, so use errx(3) and warnx(3)
+ use nologin(8) in preference to false(1) when deleting users but
preserving information
+ in usage messages, specify [-r lowuid..highuid] rather than a simple
[-r range]
1999-12-31 21:58:14 +00:00
itojun 1d4f533c98 avoid use of kvm, mostly for boot floppy's convenience.
(sync with latest kame)
1999-12-31 19:40:19 +00:00
itojun ba694ff21c i'm not sure why, but without ignoring mtree error (error code 2)
i can't build floppy at all.  hope this is not my pilot error.
1999-12-31 18:34:04 +00:00
itojun 1d729cc2a3 avoid libipsec.a by using x_ping instead of ping. 1999-12-31 18:33:25 +00:00
uch b4e898bafb Fix MCS3 address. 1999-12-31 16:07:29 +00:00
tron e9a72ad0a3 Accept all kind of whitespaces when searching for the end of a nroff
macro.
1999-12-31 14:50:16 +00:00
tron 3434166ef3 Correct and improve nroff macro stripping. Partially fixes PR bin/9083
by Geoff C. Wing.
1999-12-31 14:28:03 +00:00
tron 3f173f204a Increase default size of magic entries array to 4096 because NetBSD's
magic(5) has more than 2048 entries already.
1999-12-31 13:09:20 +00:00
tron 6f563995b5 Do reallaction of magic entries array carefully to avoid possible memory
leak. Patch based on PR bin/9081 by Jun-ichiro itojun Hagino.
1999-12-31 13:07:59 +00:00
tron a3045c188e Add missing memory check in port table handling. Patch based on
PR bin/9080 by Jun-ichiro itojun Hagino
1999-12-31 12:58:12 +00:00
tron 18c5f3d5f1 Abort if memory for execv(2) argument array cannot be allocated instead
of passing an array with incomplete contents to login(1).
Fix provided by Jun-ichiro itojun Hagino in PR bin/9082.
1999-12-31 12:42:35 +00:00
ad 50fcd347dd Comment px0 entry a little more accurately. 1999-12-31 12:21:06 +00:00