openbsd
28 years agoMore files to smash while making clean.
etheisen [Fri, 2 Feb 1996 07:23:19 +0000 (07:23 +0000)]
More files to smash while making clean.

28 years agoAdded /usr/include to include path. Quiets down redefinition warnings
etheisen [Fri, 2 Feb 1996 07:10:59 +0000 (07:10 +0000)]
Added /usr/include to include path.  Quiets down redefinition warnings
caused by conflicts between gcc 2.7.2 headers and system headers.

28 years agoUndo LDSTATIC change. Possibly needed.
etheisen [Fri, 2 Feb 1996 06:43:48 +0000 (06:43 +0000)]
Undo LDSTATIC change. Possibly needed.

28 years agoAdded default info path to match our directory structure.
etheisen [Fri, 2 Feb 1996 06:34:09 +0000 (06:34 +0000)]
Added default info path to match our directory structure.
Pass CFLAGS into 'configure' generated Makefile.
Setup infodir for both build and install.
Removed static linking.  Not required for texinfo.
Added CLEANFILES section to smash files cleandir missed.

28 years ago"make -f Makefile.bsd-wrapper config" should *really* config, and
niklas [Fri, 2 Feb 1996 01:11:38 +0000 (01:11 +0000)]
"make -f Makefile.bsd-wrapper config" should *really* config, and
never use cached values.  Initially we only want gas, even though
we're not even there yet.

28 years ago"make -f Makefile.bsd-wrapper config" should *really* config, and
niklas [Fri, 2 Feb 1996 00:49:14 +0000 (00:49 +0000)]
"make -f Makefile.bsd-wrapper config" should *really* config, and
never use cached values.

28 years ago"make -f Makefile.bsd-wrapper config" should *really* config, and
niklas [Fri, 2 Feb 1996 00:22:56 +0000 (00:22 +0000)]
"make -f Makefile.bsd-wrapper config" should *really* config, and
never use cached values.

28 years ago"make -f Makefile.bsd-wrapper config" should *really* config, and
niklas [Fri, 2 Feb 1996 00:11:23 +0000 (00:11 +0000)]
"make -f Makefile.bsd-wrapper config" should *really* config, and
never use cached values.  The new cvs-version made me notice this.

28 years ago$(KRB4) -> \$KRB4 so our /bin/sh won't spit out an error message while
niklas [Thu, 1 Feb 1996 23:57:12 +0000 (23:57 +0000)]
$(KRB4) -> \$KRB4 so our /bin/sh won't spit out an error message while
configuring.

28 years agoGet rid of some useless intermediate vars and add a register keyword
briggs [Thu, 1 Feb 1996 05:11:39 +0000 (05:11 +0000)]
Get rid of some useless intermediate vars and add a register keyword
in delay().  There still seems to be a problem with this routine in that
when we actually touch the VIA1 T2 timer, it seems to hose the ADB
subsystem.

28 years agoClean up and comment a bit.
briggs [Thu, 1 Feb 1996 05:05:19 +0000 (05:05 +0000)]
Clean up and comment a bit.

28 years agofrom netbsd: fix typo (Ignatios Souvatzis)
niklas [Wed, 31 Jan 1996 22:58:57 +0000 (22:58 +0000)]
from netbsd: fix typo (Ignatios Souvatzis)

28 years agofrom netbsd: fix loading of 0 to intended value of 256, plus style police
niklas [Wed, 31 Jan 1996 22:54:50 +0000 (22:54 +0000)]
from netbsd: fix loading of 0 to intended value of 256, plus style police

28 years agoFix reference to obsolete file
niklas [Wed, 31 Jan 1996 22:49:04 +0000 (22:49 +0000)]
Fix reference to obsolete file

28 years agofrom netbsd: add UNION/UMAPFS <hubert.feyrer@rz.uni-regensburg.de>
niklas [Wed, 31 Jan 1996 22:42:36 +0000 (22:42 +0000)]
from netbsd: add UNION/UMAPFS <hubert.feyrer@rz.uni-regensburg.de>

28 years agofrom netbsd: aftsc uses afsc.c (S.P.Zeidler & Ignatios Souvatzis)
niklas [Wed, 31 Jan 1996 22:34:06 +0000 (22:34 +0000)]
from netbsd: aftsc uses afsc.c (S.P.Zeidler & Ignatios Souvatzis)

28 years agofrom netbsd: make sure master enable is set (Ezra Story)
niklas [Wed, 31 Jan 1996 22:29:22 +0000 (22:29 +0000)]
from netbsd: make sure master enable is set (Ezra Story)

28 years agofrom netbsd: Unify mode support across gfx boards. (Ignatios Souvatzis)
niklas [Wed, 31 Jan 1996 22:27:16 +0000 (22:27 +0000)]
from netbsd: Unify mode support across gfx boards. (Ignatios Souvatzis)

28 years agofrom netbsd: make sure master enable is set.
niklas [Wed, 31 Jan 1996 22:10:21 +0000 (22:10 +0000)]
from netbsd: make sure master enable is set.
Call disk_busy() a bit earlier in case an exceptional condition causes
fddone() (and thus disk_unbusy()) to be called directly from fdstart().
Pointed out by Ezra Story <ezy@panix.com>.

28 years agofrom netbsd: fix bounds check (Klaus Klein)
niklas [Wed, 31 Jan 1996 22:03:48 +0000 (22:03 +0000)]
from netbsd: fix bounds check (Klaus Klein)

28 years agofrom netbsd: remove MAXPARTITIONS
niklas [Wed, 31 Jan 1996 21:11:26 +0000 (21:11 +0000)]
from netbsd: remove MAXPARTITIONS

28 years agofrom netbsd: add swedish keyboard support by Stefan Pedersen
niklas [Wed, 31 Jan 1996 21:06:31 +0000 (21:06 +0000)]
from netbsd: add swedish keyboard support by Stefan Pedersen

28 years agoCOMMAND ABORTED sense key is 0xb, not 0xa. Also clean up diagnostic message.
briggs [Wed, 31 Jan 1996 15:04:03 +0000 (15:04 +0000)]
COMMAND ABORTED sense key is 0xb, not 0xa.  Also clean up diagnostic message.

28 years agofrom netbsd; check for "A4000 bonus" too
deraadt [Wed, 31 Jan 1996 08:35:32 +0000 (08:35 +0000)]
from netbsd; check for "A4000 bonus" too

28 years agofrom ragge; add uvtopte() macro, to get user pte address easily
deraadt [Wed, 31 Jan 1996 08:33:37 +0000 (08:33 +0000)]
from ragge; add uvtopte() macro, to get user pte address easily

28 years agofrom ragge; put sp in trapframe
deraadt [Wed, 31 Jan 1996 08:32:22 +0000 (08:32 +0000)]
from ragge; put sp in trapframe

28 years agofrom ragge; remove PSL_ALLCC
deraadt [Wed, 31 Jan 1996 08:31:36 +0000 (08:31 +0000)]
from ragge; remove PSL_ALLCC

28 years agouse YP, install nicely
deraadt [Wed, 31 Jan 1996 08:05:02 +0000 (08:05 +0000)]
use YP, install nicely

28 years agoput zs chip register layout here.
deraadt [Wed, 31 Jan 1996 07:27:02 +0000 (07:27 +0000)]
put zs chip register layout here.

28 years agoz8530 reorganization from gwr (which i think isn't nearly as machine
deraadt [Wed, 31 Jan 1996 07:01:06 +0000 (07:01 +0000)]
z8530 reorganization from gwr (which i think isn't nearly as machine
independent or correct as he thinks it is)

28 years agofrom netbsd;
deraadt [Wed, 31 Jan 1996 06:58:55 +0000 (06:58 +0000)]
from netbsd;
Use the function pointers sc_pio_in, sc_pio_out to call the PIO functions
for transfers in data phase so those functions may be MD implementations
that do "pseudo-DMA" if desired.  Also correct some comments.

28 years agosync with netbsd
deraadt [Wed, 31 Jan 1996 06:38:10 +0000 (06:38 +0000)]
sync with netbsd

28 years agofrom netbsd; cleanup
deraadt [Wed, 31 Jan 1996 06:36:14 +0000 (06:36 +0000)]
from netbsd; cleanup

28 years agofrom ragge;
deraadt [Wed, 31 Jan 1996 05:26:46 +0000 (05:26 +0000)]
from ragge;
Make use of the new disk struct when attaching disks.
Don't rely on UBA's; we do not always want them.

28 years agofrom ragge; print cpu model
deraadt [Wed, 31 Jan 1996 05:22:18 +0000 (05:22 +0000)]
from ragge; print cpu model

28 years agofrom ragge; add bfd, tun, vnd
deraadt [Wed, 31 Jan 1996 05:21:25 +0000 (05:21 +0000)]
from ragge; add bfd, tun, vnd

28 years agofrom ragge;
deraadt [Wed, 31 Jan 1996 05:21:03 +0000 (05:21 +0000)]
from ragge;
Handle DDB traps different when we get a panic.
It's more interesting to know the CPU state when panic was called
than in the Debugger() function.

28 years agofrom ragge;
deraadt [Wed, 31 Jan 1996 05:16:57 +0000 (05:16 +0000)]
from ragge;
fix bug causing kernel symbol not to be loaded;
save all registers on panic()

28 years agofrom ragge;
deraadt [Wed, 31 Jan 1996 05:15:02 +0000 (05:15 +0000)]
from ragge;
save usp when trapping from userspace
change register save structs according to this
handle old init register passing convention

28 years agofrom ragge; handle debugger traps from kernel
deraadt [Wed, 31 Jan 1996 05:12:46 +0000 (05:12 +0000)]
from ragge; handle debugger traps from kernel

28 years agofrom ragge; make ^] not be sent on return from ddb
deraadt [Wed, 31 Jan 1996 05:11:04 +0000 (05:11 +0000)]
from ragge; make ^] not be sent on return from ddb

28 years agofrom ragge; rip i386 code
deraadt [Wed, 31 Jan 1996 05:10:38 +0000 (05:10 +0000)]
from ragge; rip i386 code

28 years agofrom ragge; use struct pte * as needed
deraadt [Wed, 31 Jan 1996 05:09:05 +0000 (05:09 +0000)]
from ragge; use struct pte * as needed

28 years agofrom ragge;
deraadt [Wed, 31 Jan 1996 05:05:21 +0000 (05:05 +0000)]
from ragge;
DDB disassembly is fixed and now works good. Code written and
contributed to Ludd by Bertram Barth.

28 years agosync with netbsd
deraadt [Wed, 31 Jan 1996 05:03:20 +0000 (05:03 +0000)]
sync with netbsd

28 years agodo not worry about mapdev retval
deraadt [Wed, 31 Jan 1996 04:54:43 +0000 (04:54 +0000)]
do not worry about mapdev retval

28 years agoAdd extern declarations of new globals used by kernel PLL clock
tholo [Tue, 30 Jan 1996 07:27:58 +0000 (07:27 +0000)]
Add extern declarations of new globals used by kernel PLL clock

28 years ago#include <errno.h>; sys_nerr and sys_errlist moved.
tholo [Tue, 30 Jan 1996 06:00:35 +0000 (06:00 +0000)]
#include <errno.h>; sys_nerr and sys_errlist moved.

28 years agoUse "distclean" for cleaning, not "realclean"
tholo [Tue, 30 Jan 1996 03:22:47 +0000 (03:22 +0000)]
Use "distclean" for cleaning, not "realclean"

28 years agoIntegrate local changes
tholo [Tue, 30 Jan 1996 01:09:32 +0000 (01:09 +0000)]
Integrate local changes

28 years agoMissed files from 1.7.1 import
tholo [Tue, 30 Jan 1996 00:41:10 +0000 (00:41 +0000)]
Missed files from 1.7.1 import

28 years agoUpgrade to 1.7.1 snapshot
tholo [Tue, 30 Jan 1996 00:16:59 +0000 (00:16 +0000)]
Upgrade to 1.7.1 snapshot

28 years agoAdd kernel PLL for system clock
tholo [Mon, 29 Jan 1996 23:05:03 +0000 (23:05 +0000)]
Add kernel PLL for system clock
Add ntp_adjtime() and ntp_gettime() system calls
Mostly stolen from FreeBSD

28 years agoif CVSREADONLYFS, access to the history file is irrelevant
deraadt [Mon, 29 Jan 1996 22:57:02 +0000 (22:57 +0000)]
if CVSREADONLYFS, access to the history file is irrelevant

28 years agofrom leo
deraadt [Mon, 29 Jan 1996 21:45:43 +0000 (21:45 +0000)]
from leo
Special handling for 2 and 4 byte sized transfers. The makes accessing
device registers work in a sane way. (gwr)

28 years agofrom netbsd; move register layout stuff
deraadt [Mon, 29 Jan 1996 21:40:30 +0000 (21:40 +0000)]
from netbsd; move register layout stuff

28 years agofrom leo:
deraadt [Mon, 29 Jan 1996 21:35:50 +0000 (21:35 +0000)]
from leo:
- Remove FPU defines, the FPU-type is no longer determined by the loader.
- Add some forgotten CPU-types (Waldi Ravens).

28 years agoMake it work for multi-homed servers by default; remove need for krb.equiv
tholo [Mon, 29 Jan 1996 19:18:40 +0000 (19:18 +0000)]
Make it work for multi-homed servers by default; remove need for krb.equiv

28 years agofrom netbsd:
deraadt [Mon, 29 Jan 1996 07:09:05 +0000 (07:09 +0000)]
from netbsd:
Don't rely on the protection bits of segments anymore to decide whether
it's text or data; use the entry point instead (this solves some trouble
with ELF executables with strange permissions)
Incorporate some fixes from r_friedl@informatik.uni-kl.de sent to
netbsd-bugs a while ago

28 years agofrom netbsd;
deraadt [Mon, 29 Jan 1996 07:05:52 +0000 (07:05 +0000)]
from netbsd;
Instead of using '#ifdef atari' to handle the differences of Gemdosfs and
Msdosfs, use a flag that can be set by mount_msdos. This is definitely
more flexible.
Fix error in previous change: don't use the local FS mount data before
it's actually allocated. Pass mount arguments to msdosfs_mountfs instead,
and use them (as in iso_mountfs for example).

28 years agofrom netbsd:
deraadt [Mon, 29 Jan 1996 07:03:11 +0000 (07:03 +0000)]
from netbsd:
fix off-by-one error in tickfix code.  (should increment when count >=
interval, because count goes from 0->(interval-1) to count interval
ticks.)

28 years agofrom netbsd
deraadt [Mon, 29 Jan 1996 06:49:46 +0000 (06:49 +0000)]
from netbsd

28 years agofrom netbsd; modified by jon buller
deraadt [Mon, 29 Jan 1996 06:31:33 +0000 (06:31 +0000)]
from netbsd; modified by jon buller

28 years agoFix for delay(usec) for small usec. From Scott Reynolds <scottr@edsi.org>.
briggs [Mon, 29 Jan 1996 04:11:00 +0000 (04:11 +0000)]
Fix for delay(usec) for small usec.  From Scott Reynolds <scottr@edsi.org>.

28 years agoincluded paths.h
dm [Mon, 29 Jan 1996 03:06:06 +0000 (03:06 +0000)]
included paths.h

28 years agosync with netbsd
deraadt [Mon, 29 Jan 1996 02:10:53 +0000 (02:10 +0000)]
sync with netbsd

28 years agonew common tz code
deraadt [Mon, 29 Jan 1996 02:08:12 +0000 (02:08 +0000)]
new common tz code

28 years agofrom netbsd; add S_IFWHT
deraadt [Mon, 29 Jan 1996 02:05:40 +0000 (02:05 +0000)]
from netbsd; add S_IFWHT

28 years agoneed errno.h because err declerations have moved
deraadt [Mon, 29 Jan 1996 02:04:11 +0000 (02:04 +0000)]
need errno.h because err declerations have moved

28 years agorealloc(ptr, 0) does not free; from seebs@taniemarie.solon.com;
deraadt [Mon, 29 Jan 1996 02:00:21 +0000 (02:00 +0000)]
realloc(ptr, 0) does not free; from seebs@taniemarie.solon.com;
netbsd pr#1806

28 years agotypo; fix from norijuki soda; netbsd pr#1954
deraadt [Mon, 29 Jan 1996 01:56:44 +0000 (01:56 +0000)]
typo; fix from norijuki soda; netbsd pr#1954

28 years agofrom netbsd; warnx called incorrectly
deraadt [Mon, 29 Jan 1996 01:54:22 +0000 (01:54 +0000)]
from netbsd; warnx called incorrectly

28 years agoSendmail 8.7.3 from NetBSD
dm [Mon, 29 Jan 1996 01:40:03 +0000 (01:40 +0000)]
Sendmail 8.7.3 from NetBSD

28 years agouse fs_csaddr to find the cg summary area; from mouse@collatz.mccrim.mcgill.edu;...
deraadt [Mon, 29 Jan 1996 01:37:11 +0000 (01:37 +0000)]
use fs_csaddr to find the cg summary area; from mouse@collatz.mccrim.mcgill.edu; netbsd pr#1366

28 years agofrom leo; add -G flag for mounting atari gemdos filesystems
deraadt [Mon, 29 Jan 1996 01:35:01 +0000 (01:35 +0000)]
from leo; add -G flag for mounting atari gemdos filesystems

28 years agouse ed to repair all termcap database entries that locate the
deraadt [Mon, 29 Jan 1996 01:28:45 +0000 (01:28 +0000)]
use ed to repair all termcap database entries that locate the
tabset in the two wrong places.

28 years agofrom netbsd; move sys_nerr/sys_errlist decls to errno.h
deraadt [Mon, 29 Jan 1996 01:05:35 +0000 (01:05 +0000)]
from netbsd; move sys_nerr/sys_errlist decls to errno.h

28 years agoadd -q option for silence; from mouse@collatz.mcrcim.mcgill.edu;
deraadt [Mon, 29 Jan 1996 01:02:13 +0000 (01:02 +0000)]
add -q option for silence; from mouse@collatz.mcrcim.mcgill.edu;
netbsd pr#1204

28 years agoless becomes more, and more is no more. from mrg@eterna.com.au
deraadt [Mon, 29 Jan 1996 00:54:01 +0000 (00:54 +0000)]
less becomes more, and more is no more. from mrg@eterna.com.au

28 years agoDo not build KerberosIV if Kerberos has been disabled in <bsd.own.mk>
tholo [Sun, 28 Jan 1996 19:42:34 +0000 (19:42 +0000)]
Do not build KerberosIV if Kerberos has been disabled in <bsd.own.mk>

28 years agoBetter config symantics (elimitates 'options PCMCIA_*'; thanks Theo).
hvozda [Fri, 26 Jan 1996 21:27:30 +0000 (21:27 +0000)]
Better config symantics (elimitates 'options PCMCIA_*'; thanks Theo).
Also a example kernel demonstrating how to configure PCMCIA devices.

28 years agoIP filter 3.0.1
dm [Thu, 25 Jan 1996 05:41:23 +0000 (05:41 +0000)]
IP filter 3.0.1

28 years agoBring some fixes over from NetBSD.
briggs [Thu, 25 Jan 1996 05:28:23 +0000 (05:28 +0000)]
Bring some fixes over from NetBSD.

28 years agoinclude cpu.h.
briggs [Thu, 25 Jan 1996 05:27:58 +0000 (05:27 +0000)]
include cpu.h.

28 years agoAdded /usr/local/info for consistency with /usr/share/info
etheisen [Thu, 25 Jan 1996 04:32:11 +0000 (04:32 +0000)]
Added /usr/local/info for consistency with /usr/share/info

28 years agoChange &= to & in this case. gcc 2.7.2 vs. 2.4.5 difference? I hope not.
briggs [Wed, 24 Jan 1996 04:38:43 +0000 (04:38 +0000)]
Change &= to & in this case.  gcc 2.7.2 vs. 2.4.5 difference?  I hope not.

28 years agoUse /var/tmp not /usr/tmp for deadletters
etheisen [Tue, 23 Jan 1996 15:14:40 +0000 (15:14 +0000)]
Use /var/tmp not /usr/tmp for deadletters

28 years agoUse /var/tmp not /usr/tmp for deadletters
etheisen [Tue, 23 Jan 1996 13:54:28 +0000 (13:54 +0000)]
Use /var/tmp not /usr/tmp for deadletters

28 years agoRemoved extra brace.
hannken [Tue, 23 Jan 1996 10:10:31 +0000 (10:10 +0000)]
Removed extra brace.

28 years agoAdded Ns Ox macro for OpenBSD history version tag in groff docs
etheisen [Mon, 22 Jan 1996 05:50:41 +0000 (05:50 +0000)]
Added Ns Ox macro for OpenBSD history version tag in groff docs

28 years agoManpages generated with groff now reflect OpenBSD header
etheisen [Mon, 22 Jan 1996 05:24:12 +0000 (05:24 +0000)]
Manpages generated with groff now reflect OpenBSD header

28 years agoCorrected typo when removing CCB's from the hash list.
hannken [Sun, 21 Jan 1996 09:25:34 +0000 (09:25 +0000)]
Corrected typo when removing CCB's from the hash list.

28 years agoypserv_xdr, as generated by rpcgen from yp.x with one major exception.
chuck [Sat, 20 Jan 1996 02:53:22 +0000 (02:53 +0000)]
ypserv_xdr, as generated by rpcgen from yp.x with one major exception.
in xdr_ypresp_key_val() invert the order of loading the key and value
(rpcgen says [1] stat, [2] key, [3] value, but the data on the wire
 comes in as [1] stat, [2] val, [3] key...  you can't fix this in yp.x
 because if you invert the ordr in yp.x not only does it invert the order
 in ypserv_xdr.c, but it also inverts it in the structure in yp.h which
 cancels out the inversion in ypserv_xdr.c.   i guess this means it
 is not possible to have a yp.x that descrives the YP protocol properly?).

***NOTE*** this file is also needed because some of the YP functions in
libc are broken.   For example, compare src/lib/libc/yp/xdryp.c's version
of xdr_domainname() to the one in this file generated by rpcgen.  Note
that xdryp.c calls:
 if (!xdr_string(xdrs, &objp, YPMAXDOMAIN)) { /* xdryp.c */
while ypserv_xdr.c (generated by rpcgen) calls:
 if (!xdr_string(xdrs, objp, YPMAXDOMAIN)) { /* rpcgen */
(note the lack of "&" in the second line).   Clearly libc is wrong and
needs to be fixed (XXX).    (Of course changing libc could break other
YP stuff, which is why I haven't attemped it... :) )    When libc is
fixed, it should be possible to phase out this file, I think.

28 years agomajor revision and clean up by Chuck Cranor (i.e. me):
chuck [Sat, 20 Jan 1996 02:42:19 +0000 (02:42 +0000)]
major revision and clean up by Chuck Cranor (i.e. me):
 - convert to new yplog() function and clean up log message formats
 - remove transp args from all _svc functions since you can get it
from rqstp->rq_xprt, and rpcgen seems to favor this format
 - delete all the calls to svc_sendreply() and svc_freeargs() as
this can be done in one place in ypserv.c (except for the "all"
request which forks off a child process)
 - avoid possible sprintf() buffer overflows by using snprintf()
 - use MAXPATHLEN, rather than a hardcoded 255.
 - eliminate un-needed static variables
 - avoid possible off by one buffer overflow in tid/prog/port and use
snprintf() just to be sure.
 - random code cleanup and simplification

28 years agomajor cleanup by Chuck Cranor
chuck [Sat, 20 Jan 1996 00:47:01 +0000 (00:47 +0000)]
major cleanup by Chuck Cranor
 - use queue.h rather than do by hand
 - fix up logging to use new yplog
 - fix a few off by one errors
 - don't double malloc the DBM structure
 - avoid possible sprintf buffer overflows
 - random code cleanup

28 years agoMajor reworking of ypserv.c by me: this program actually works now!!
chuck [Sat, 20 Jan 1996 00:43:43 +0000 (00:43 +0000)]
Major reworking of ypserv.c by me: this program actually works now!!
highlights:
 - fixed yp first call (uses ypreq_nokey rather than ypreq_key, despite
what yp.x says)
 - cleanup of looging
 - removed SVCXPRT args to "local" since you can get them from svc_req
and this makes it look more like rpcgen's output
 - use new yplog()
 - add call to db init

28 years agonew yp.h, as generated by rpcgen.
chuck [Sat, 20 Jan 1996 00:40:53 +0000 (00:40 +0000)]
new yp.h, as generated by rpcgen.

28 years agominor clean up
chuck [Sat, 20 Jan 1996 00:40:15 +0000 (00:40 +0000)]
minor clean up

28 years agouse new yplog function
chuck [Sat, 20 Jan 1996 00:38:49 +0000 (00:38 +0000)]
use new yplog function

28 years agofixed string formatting, minor cleanup
chuck [Sat, 20 Jan 1996 00:37:58 +0000 (00:37 +0000)]
fixed string formatting, minor cleanup