openbsd
27 years agoadded "see also" refs to cdio & chio
kstailey [Fri, 17 Jan 1997 05:45:35 +0000 (05:45 +0000)]
added "see also" refs to cdio & chio

27 years agoncr_print() -> scsiprint()
kstailey [Fri, 17 Jan 1997 05:32:08 +0000 (05:32 +0000)]
ncr_print() -> scsiprint()

27 years agoFixes:
downsj [Fri, 17 Jan 1997 04:49:01 +0000 (04:49 +0000)]
Fixes:

pull in ../../Makefile.inc
install mailq and newaliases in /usr/bin

27 years agoprevent scsiconf.c:110: warning: unused variable `l'
kstailey [Thu, 16 Jan 1997 20:47:32 +0000 (20:47 +0000)]
prevent scsiconf.c:110: warning: unused variable `l'
also, #ifdef 0 -> #ifndef __OpenBSD__

27 years agodo not call resettodr() if RB_TIMEBAD is set due to being in ddb with clock updates...
kstailey [Thu, 16 Jan 1997 20:43:29 +0000 (20:43 +0000)]
do not call resettodr() if RB_TIMEBAD is set due to being in ddb with clock updates suspended

27 years agodo not call resettodr() if RB_TIMEBAD is set due to being in ddb with clock updates...
kstailey [Thu, 16 Jan 1997 19:57:17 +0000 (19:57 +0000)]
do not call resettodr() if RB_TIMEBAD is set due to being in ddb with clock updates suspended

27 years agoahaprint() & btprint() -> scsiprint()
kstailey [Thu, 16 Jan 1997 19:47:47 +0000 (19:47 +0000)]
ahaprint() & btprint() -> scsiprint()

27 years agosiprint() -> scsiprint()
kstailey [Thu, 16 Jan 1997 19:42:49 +0000 (19:42 +0000)]
siprint() -> scsiprint()

27 years agoDon't define MAXBSIZE here. -moj
maja [Thu, 16 Jan 1997 14:26:25 +0000 (14:26 +0000)]
Don't define MAXBSIZE here. -moj

27 years agoAdded scsiprint from NetBSD, needed by new driver for VAX. -moj
maja [Thu, 16 Jan 1997 14:23:32 +0000 (14:23 +0000)]
Added scsiprint from NetBSD, needed by new driver for VAX. -moj

27 years agoSync to NetBSD 970110
niklas [Thu, 16 Jan 1997 09:23:08 +0000 (09:23 +0000)]
Sync to NetBSD 970110

27 years agoUse RB_TIMEBAD in boot() to know not to update the battery backed up clock
kstailey [Thu, 16 Jan 1997 08:08:39 +0000 (08:08 +0000)]
Use RB_TIMEBAD in boot() to know not to update the battery backed up clock
via resettodr().  Make Sun3-only command "machine reboot" only print
a warning that the command is obsolete and that you should use the "boot"
command instead.

27 years agouse RB_TIMEBAD to indicate that the time is wrong and should not be copied
kstailey [Thu, 16 Jan 1997 08:03:56 +0000 (08:03 +0000)]
use RB_TIMEBAD to indicate that the time is wrong and should not be copied
to the battery backed up clock via resettodr() in boot().

27 years agodisambiguate somewhat
kstailey [Thu, 16 Jan 1997 07:27:22 +0000 (07:27 +0000)]
disambiguate somewhat

27 years agoCorrect logic such that newfs w/o -t on a device w/o a label
millert [Thu, 16 Jan 1997 05:48:02 +0000 (05:48 +0000)]
Correct logic such that newfs w/o -t on a device w/o a label
defaults to ffs like people expect.

27 years agogetopt(3) fix that I missed in the previous sweep.
millert [Thu, 16 Jan 1997 05:27:46 +0000 (05:27 +0000)]
getopt(3) fix that I missed in the previous sweep.

27 years agoMan pages for libedit, from NetBSD.
millert [Thu, 16 Jan 1997 05:20:28 +0000 (05:20 +0000)]
Man pages for libedit, from NetBSD.

27 years agoMerge in NetBSD libedit changes and new man pages. Also fix some
millert [Thu, 16 Jan 1997 05:18:27 +0000 (05:18 +0000)]
Merge in NetBSD libedit changes and new man pages.  Also fix some
strncpy() usage in their code.  NetBSD change log was:
    * add a man page for the editline routines
    * add a man page describing editrc
    * fix bugs in el_parse():
      * didn't execute command when program name matched (test reversed)
      * was checking against empty string instead of program name
      * after checks, command to run also pointed to empty string
    * document ^char and \ escape sequences
    * when parsing ^char control chars, check the correct char when determining
      validity (previously, ^char was a NOP interpreted as the literal string
      because of this bug)
    * Implement CC_REDISPLAY, which (unlike CC_REFRESH) redraws the entire input
    * line (a la ^R). This is useful if the binding outputs information and
    * mucks up the input line. To be used in ``list-choices'' bindings (refer
    * to the ^D binding in csh when filec is set)

27 years agoSpeak in English and note that editline(3) now exists.
millert [Thu, 16 Jan 1997 04:57:04 +0000 (04:57 +0000)]
Speak in English and note that editline(3) now exists.

27 years agomachdep.c
kstailey [Thu, 16 Jan 1997 04:22:49 +0000 (04:22 +0000)]
machdep.c

27 years agoadded RB_TIMEBAD bootflag
kstailey [Thu, 16 Jan 1997 04:19:41 +0000 (04:19 +0000)]
added RB_TIMEBAD bootflag

27 years agoUpdate from NetBSD: adds chlen command and makes -Wall happy.
millert [Thu, 16 Jan 1997 04:04:18 +0000 (04:04 +0000)]
Update from NetBSD: adds chlen command and makes -Wall happy.

27 years agoall modified code can now compile with -Werror -Wall -Wstrict-prototypes
kstailey [Thu, 16 Jan 1997 04:03:40 +0000 (04:03 +0000)]
all modified code can now compile with -Werror -Wall -Wstrict-prototypes
CAVEAT: turning off -O2 produces warnings about "defined but not used"
        functions from libkern.h

removed internal copy of gets() replaced with call to getsn()

fixed #ifdef ... #endif mismatch in swapgeneric.c

fixed printf() in if_ie.c that was missing an argument

fixed si.c so that it compiles

added tags to all edited files

27 years agoFrom NetBSD: Warn about potentially unsafe uid/gid overrides.
millert [Thu, 16 Jan 1997 03:58:23 +0000 (03:58 +0000)]
From NetBSD: Warn about potentially unsafe uid/gid overrides.

27 years agoSupport VM_PSSTRINGS. Man, this has been sitting in my tree for a while...
millert [Thu, 16 Jan 1997 03:57:31 +0000 (03:57 +0000)]
Support VM_PSSTRINGS.  Man, this has been sitting in my tree for a while...

27 years agogetopt(3) returns an int, not char.
millert [Thu, 16 Jan 1997 00:35:52 +0000 (00:35 +0000)]
getopt(3) returns an int, not char.

27 years agogetopt(3) returns -1 when out of args, not EOF, whee!
millert [Wed, 15 Jan 1997 23:40:20 +0000 (23:40 +0000)]
getopt(3) returns -1 when out of args, not EOF, whee!

27 years agosync with NetBSD 970112 -moj
maja [Wed, 15 Jan 1997 23:24:12 +0000 (23:24 +0000)]
sync with NetBSD 970112 -moj

27 years agoadd prototype of reboot2() via machdep.h
kstailey [Wed, 15 Jan 1997 23:00:00 +0000 (23:00 +0000)]
add prototype of reboot2() via machdep.h

27 years agomoved init of ret in randomioctl() to better location
kstailey [Wed, 15 Jan 1997 22:33:53 +0000 (22:33 +0000)]
moved init of ret in randomioctl() to better location

27 years agoFrom NetBSD: make testdb() fail if database version string has length zero.
millert [Wed, 15 Jan 1997 22:08:15 +0000 (22:08 +0000)]
From NetBSD: make testdb() fail if database version string has length zero.
Also, KNF, b* -> mem*, getopt tests against -1, not EOF, and index -> strchr.
Added OpenBSD tags.

27 years agoWell, actually this seemed to be a bug in generic code, that
rahnds [Wed, 15 Jan 1997 15:22:13 +0000 (15:22 +0000)]
Well, actually this seemed to be a bug in generic code, that
was being exercised. running with a 8k fs blk size and 4 k page
size was a problem. Now running with fs blk size == page size works
much better. The fix checked in a week or to back probably would fix
this too.

27 years agoadded prototypes, made some functions static, removed unused variables
kstailey [Wed, 15 Jan 1997 07:09:29 +0000 (07:09 +0000)]
added prototypes, made some functions static, removed unused variables
now compiles with -Werror -Wall -Wstrict-prototypes

27 years agoadd IPXIP option commented out, explanation.
mickey [Wed, 15 Jan 1997 07:06:12 +0000 (07:06 +0000)]
add IPXIP option commented out, explanation.

27 years agoextra braces to prevent warning about missing braces
kstailey [Wed, 15 Jan 1997 07:00:19 +0000 (07:00 +0000)]
extra braces to prevent warning about missing braces

27 years agosc_link.adapter_buswidth, set to 16 if wide scsi. if 0 it gets converted
deraadt [Wed, 15 Jan 1997 05:50:27 +0000 (05:50 +0000)]
sc_link.adapter_buswidth, set to 16 if wide scsi. if 0 it gets converted
to 8 internally so that drivers do not need to init it for regular scsi :-)

27 years agomore missing prototypes and other warnings fixed
kstailey [Wed, 15 Jan 1997 05:35:46 +0000 (05:35 +0000)]
more missing prototypes and other warnings fixed

27 years agoMinor formatting tweak from NetBSD (perry) + OpenBSD tags.
millert [Wed, 15 Jan 1997 05:27:55 +0000 (05:27 +0000)]
Minor formatting tweak from NetBSD (perry) + OpenBSD tags.

27 years agoDon't need this, /sys/compat/m68k4k works better.
downsj [Wed, 15 Jan 1997 04:54:45 +0000 (04:54 +0000)]
Don't need this, /sys/compat/m68k4k works better.

OpenBSD/hp300 is now 8k!

27 years agoprevent -Wall warning:
kstailey [Wed, 15 Jan 1997 03:52:27 +0000 (03:52 +0000)]
prevent -Wall warning:
nfs_vfsops.c:456: warning: `adjsock' might be used uninitialized in this function

27 years agoprevent warning:
kstailey [Wed, 15 Jan 1997 03:27:14 +0000 (03:27 +0000)]
prevent warning:
in_pcb.c:182: warning: `old' might be used uninitialized in this function

27 years agoprevent warning:
kstailey [Wed, 15 Jan 1997 03:19:24 +0000 (03:19 +0000)]
prevent warning:
ppp_tty.c:790: warning: `s' might be used uninitialized in this function

27 years agofixed warning:
kstailey [Wed, 15 Jan 1997 03:06:28 +0000 (03:06 +0000)]
fixed warning:
kernfs_vnops.c:305: warning: long unsigned int format, u_int arg (arg 3)

27 years ago8k
downsj [Wed, 15 Jan 1997 02:55:29 +0000 (02:55 +0000)]
8k

27 years agoprevent this warning:
kstailey [Wed, 15 Jan 1997 02:03:53 +0000 (02:03 +0000)]
prevent this warning:
rnd.c:823: warning: `ret' might be used uninitialized in this function
when compiling with -Wall

27 years agoadded prototypes
kstailey [Wed, 15 Jan 1997 00:41:55 +0000 (00:41 +0000)]
added prototypes

27 years agoAdd DESTDIR support for crt{begin,end}.o (powerpc only so far)
niklas [Wed, 15 Jan 1997 00:36:56 +0000 (00:36 +0000)]
Add DESTDIR support for crt{begin,end}.o (powerpc only so far)

27 years agoClarification. From NetBSD.
millert [Wed, 15 Jan 1997 00:01:22 +0000 (00:01 +0000)]
Clarification.  From NetBSD.

27 years agoRemove locc. -moj
maja [Tue, 14 Jan 1997 14:45:42 +0000 (14:45 +0000)]
Remove locc. -moj

27 years agohack: if we're M68K, also allow us to strip M68K4K. Works for me.
downsj [Tue, 14 Jan 1997 10:33:00 +0000 (10:33 +0000)]
hack: if we're M68K, also allow us to strip M68K4K.  Works for me.

27 years agoUse <fcntl.h>, not <sys/file.h>. Approved by Bob Corbett.
tholo [Tue, 14 Jan 1997 04:47:08 +0000 (04:47 +0000)]
Use <fcntl.h>, not <sys/file.h>.  Approved by Bob Corbett.

27 years agoUpdate to tzdata1996n
millert [Tue, 14 Jan 1997 04:36:47 +0000 (04:36 +0000)]
Update to tzdata1996n

27 years agoUpdate to tzcode1996o + our fixes. Fixes problem pointed out
millert [Tue, 14 Jan 1997 03:16:42 +0000 (03:16 +0000)]
Update to tzcode1996o + our fixes.  Fixes problem pointed out
by cross@va.pubnix.com.

27 years agoDebugger() is needed by KGDB not just DDB
kstailey [Tue, 14 Jan 1997 02:25:20 +0000 (02:25 +0000)]
Debugger() is needed by KGDB not just DDB

27 years agoBe extra careful when chdir'ing to subdirs.
millert [Tue, 14 Jan 1997 01:02:42 +0000 (01:02 +0000)]
Be extra careful when chdir'ing to subdirs.

27 years agoRAW_PART
deraadt [Tue, 14 Jan 1997 00:46:42 +0000 (00:46 +0000)]
RAW_PART

27 years agopreliminary support for the Apollo 060 accelerator
niklas [Mon, 13 Jan 1997 23:38:27 +0000 (23:38 +0000)]
preliminary support for the Apollo 060 accelerator
Thanks a lot, Michael van Elst <mlelstv@serpens.swb.de>

27 years agoAdd a commented out option NSIP with explanation
niklas [Mon, 13 Jan 1997 23:32:16 +0000 (23:32 +0000)]
Add a commented out option NSIP with explanation

27 years agoreformatted ala KNF
kstailey [Mon, 13 Jan 1997 21:28:24 +0000 (21:28 +0000)]
reformatted ala KNF

27 years agoegid for open; spotted by oliver@secnet.com
deraadt [Mon, 13 Jan 1997 21:23:35 +0000 (21:23 +0000)]
egid for open; spotted by oliver@secnet.com

27 years agotalk about inetd; kleink@layla.inka.de
deraadt [Mon, 13 Jan 1997 20:54:25 +0000 (20:54 +0000)]
talk about inetd; kleink@layla.inka.de

27 years agocorrect; kleink@layla.inka.de
deraadt [Mon, 13 Jan 1997 20:45:28 +0000 (20:45 +0000)]
correct; kleink@layla.inka.de

27 years agodoc "more" command; jdc@orthanc.ncl.ac.uk
deraadt [Mon, 13 Jan 1997 20:36:23 +0000 (20:36 +0000)]
doc "more" command; jdc@orthanc.ncl.ac.uk

27 years agofix DIO-II mappings, NetBSD PR#3097.
downsj [Mon, 13 Jan 1997 18:03:53 +0000 (18:03 +0000)]
fix DIO-II mappings, NetBSD PR#3097.

27 years agoImportant change to the installation notes.
rahnds [Mon, 13 Jan 1997 17:54:31 +0000 (17:54 +0000)]
Important change to the installation notes.
pax must be used with the "-pe" option to keep
file ownership, group and permissions (eg suid) on the extracted file.

27 years agoSync to 970110 NetBSD
niklas [Mon, 13 Jan 1997 11:51:02 +0000 (11:51 +0000)]
Sync to 970110 NetBSD

27 years agodon't build the stand dir for now
graichen [Mon, 13 Jan 1997 11:43:41 +0000 (11:43 +0000)]
don't build the stand dir for now

27 years agouse the cpu_exec from the arc
graichen [Mon, 13 Jan 1997 11:42:47 +0000 (11:42 +0000)]
use the cpu_exec from the arc

27 years agofirst try of an OpenBSD/pmax GENERIC kernel (config file)
graichen [Mon, 13 Jan 1997 11:36:28 +0000 (11:36 +0000)]
first try of an OpenBSD/pmax GENERIC kernel (config file)

27 years agonow also the pmax builds with the in-tree ld using an ld.script similar
graichen [Mon, 13 Jan 1997 11:35:30 +0000 (11:35 +0000)]
now also the pmax builds with the in-tree ld using an ld.script similar
to the arc

27 years agomy pmax (decstation 5000/200)
graichen [Mon, 13 Jan 1997 11:31:54 +0000 (11:31 +0000)]
my pmax (decstation 5000/200)

27 years agotype change to make it compile on the pmax of now
graichen [Mon, 13 Jan 1997 11:30:32 +0000 (11:30 +0000)]
type change to make it compile on the pmax of now

27 years agoImport compat_m68k4k from NetBSD
niklas [Mon, 13 Jan 1997 11:07:47 +0000 (11:07 +0000)]
Import compat_m68k4k from NetBSD

27 years agosmall changes to get it compiled on the pmax (does'nt affect anything else)
graichen [Mon, 13 Jan 1997 10:53:26 +0000 (10:53 +0000)]
small changes to get it compiled on the pmax (does'nt affect anything else)

27 years ago<pmax/xxx> -> <machine/xxx>
graichen [Mon, 13 Jan 1997 10:31:56 +0000 (10:31 +0000)]
<pmax/xxx> -> <machine/xxx>
<mips/xxx> -> <machine/xxx>
... plus missing files from arc

27 years agoMisc installation notes for installing the powerpc port.
rahnds [Mon, 13 Jan 1997 05:03:26 +0000 (05:03 +0000)]
Misc installation notes for installing the powerpc port.
Probably will change greatly or be moved eventually.

27 years agoleds-extern.h -> ledsvar.h
kstailey [Mon, 13 Jan 1997 02:53:50 +0000 (02:53 +0000)]
leds-extern.h -> ledsvar.h

27 years agoback-panel LED control device derived from code by der Mouse
kstailey [Mon, 13 Jan 1997 00:29:23 +0000 (00:29 +0000)]
back-panel LED control device derived from code by der Mouse

27 years agoFix core dump and use libc err(3) instead of private one (which had
millert [Sun, 12 Jan 1997 23:43:03 +0000 (23:43 +0000)]
Fix core dump and use libc err(3) instead of private one (which had
slightly different semantics).  Also clean up some gcc -Wall'isms.

27 years agoMostly sync to NetBSD-current of 011196. Compiles, links, boots to single
downsj [Sun, 12 Jan 1997 15:12:06 +0000 (15:12 +0000)]
Mostly sync to NetBSD-current of 011196.  Compiles, links, boots to single
user.

KNOWN NOT WORKING:
* DIO-II devices
* Dynamic executables

NOT EVEN TRIED:
* New config support

27 years agoprotect against multiple includes
downsj [Sun, 12 Jan 1997 13:02:07 +0000 (13:02 +0000)]
protect against multiple includes

27 years agoadd sys_pipe.c
downsj [Sun, 12 Jan 1997 12:07:23 +0000 (12:07 +0000)]
add sys_pipe.c

27 years agoBe more Posixly correct; from FreeBSD
tholo [Sun, 12 Jan 1997 09:08:27 +0000 (09:08 +0000)]
Be more Posixly correct; from FreeBSD

27 years agosync and add OpenBSD IDs.
downsj [Sun, 12 Jan 1997 07:43:30 +0000 (07:43 +0000)]
sync and add OpenBSD IDs.

27 years agoRelease version certainly isn't 1.0, not really 2.0 either, but...
rahnds [Sun, 12 Jan 1997 00:43:12 +0000 (00:43 +0000)]
Release version certainly isn't 1.0, not really 2.0 either, but...

27 years agoDo not link against libcrypt, It no longer exists.
rahnds [Sun, 12 Jan 1997 00:31:27 +0000 (00:31 +0000)]
Do not link against libcrypt, It no longer exists.

27 years agoDo not link against libcrypt, It doesn't exists anymore.
rahnds [Sun, 12 Jan 1997 00:27:38 +0000 (00:27 +0000)]
Do not link against libcrypt, It doesn't exists anymore.

27 years agoDescribe boolean capabilites betterand at a better place. It was rather
pefo [Sat, 11 Jan 1997 18:35:53 +0000 (18:35 +0000)]
Describe boolean capabilites betterand at a better place. It was rather
difficult to find before.

27 years agoimplement mincore syscall, just like sunos & ultrix compat do.
mickey [Sat, 11 Jan 1997 17:57:29 +0000 (17:57 +0000)]
implement mincore syscall, just like sunos & ultrix compat do.

27 years agoSupport an ONLY_FOR_ARCHS var, that prohibits doing anything for a certain
niklas [Sat, 11 Jan 1997 11:58:11 +0000 (11:58 +0000)]
Support an ONLY_FOR_ARCHS var, that prohibits doing anything for a certain
port except for certain architectures.  If OBJMACHINE is set set WRKDIR to
work.${MACHINE}.  Fix a shell construct which pdksh interprets differently
than ash as it was written.  Make bsd.own.mk be auto-included in make(1)
invocations below this one.

27 years agoFix PR#2 in a simplistic way. Handle EOF on all getchar()s
niklas [Sat, 11 Jan 1997 10:01:27 +0000 (10:01 +0000)]
Fix PR#2 in a simplistic way.  Handle EOF on all getchar()s

27 years agoWe run OpenBSD
niklas [Sat, 11 Jan 1997 00:12:17 +0000 (00:12 +0000)]
We run OpenBSD

27 years agoUse "locore.S" versions of block io operations.
pefo [Fri, 10 Jan 1997 23:41:25 +0000 (23:41 +0000)]
Use "locore.S" versions of block io operations.
They handle unaligned memory references.

27 years agoCorrect a panic condition hitting on machines with NBPG != ffs blocksize,
niklas [Fri, 10 Jan 1997 23:18:40 +0000 (23:18 +0000)]
Correct a panic condition hitting on machines with NBPG != ffs blocksize,
plus having a large bufpages value compared to nbuf.

27 years agoone-line fix so fdisk knows that partitions marked 0x0B are Win95/FAT32
jkatz [Fri, 10 Jan 1997 19:09:58 +0000 (19:09 +0000)]
one-line fix so fdisk knows that partitions marked 0x0B are Win95/FAT32

27 years agouse opendev(3) + man page correction
kstailey [Fri, 10 Jan 1997 19:04:08 +0000 (19:04 +0000)]
use opendev(3) + man page correction

27 years agoLeading underscores... Actually, they really DID fuck this up on the MIPS
etheisen [Fri, 10 Jan 1997 18:29:48 +0000 (18:29 +0000)]
Leading underscores... Actually, they really DID fuck this up on the MIPS
and PPC platforms... Everyone else has _leading!

27 years agoChange all mips ports to use mips-unknown-openbsd2.0 like gcc does.
imp [Fri, 10 Jan 1997 06:53:35 +0000 (06:53 +0000)]
Change all mips ports to use mips-unknown-openbsd2.0 like gcc does.
This should allow for gdb to at least build on pmax, modulo potential platform
specific include files.    This impacts gas, ld, and other critical system
components.  Don't build this unless you are happy with your backups, as
always for a change of this nature.  It works for me on my machine, however.

27 years agoUNIX3.0 -> 3.0BSD in history section
kstailey [Fri, 10 Jan 1997 05:59:24 +0000 (05:59 +0000)]
UNIX3.0 -> 3.0BSD in history section

27 years agoNow that ELF symbols are working (not leading '_'), dont put them
rahnds [Thu, 9 Jan 1997 21:19:02 +0000 (21:19 +0000)]
Now that ELF symbols are working (not leading '_'), dont put them
in for these symbols either.