openbsd
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

28 years agomain makefile
chuck [Sat, 20 Jan 1996 00:36:24 +0000 (00:36 +0000)]
main makefile

28 years agofixes: install Makefile.yp, Makefile.main
chuck [Sat, 20 Jan 1996 00:35:27 +0000 (00:35 +0000)]
fixes: install Makefile.yp, Makefile.main

28 years agovarious changes (from me):
chuck [Sat, 20 Jan 1996 00:33:34 +0000 (00:33 +0000)]
various changes (from me):
 - don't store null in the database
 - use MAXPATHLEN
 - avoid sprintf() buffer overflows
 - minor cleanups

28 years agoTotal re-write of yplog by Chuck Cranor
chuck [Sat, 20 Jan 1996 00:30:35 +0000 (00:30 +0000)]
Total re-write of yplog by Chuck Cranor
(made it more printf like)

28 years agofix: adjust private keys to exclude the null in their size
chuck [Sat, 20 Jan 1996 00:29:39 +0000 (00:29 +0000)]
fix: adjust private keys to exclude the null in their size
        (we don't store nulls in the db [any more])

28 years agocleanup: use snprintf() to prevent buffer overflow
chuck [Sat, 20 Jan 1996 00:28:57 +0000 (00:28 +0000)]
cleanup: use snprintf() to prevent buffer overflow

28 years agoupdate from netbsd
deraadt [Thu, 18 Jan 1996 01:44:38 +0000 (01:44 +0000)]
update from netbsd

28 years agoLast of the glue and devices for for PCMCIA support from Stefan Grefen
hvozda [Tue, 16 Jan 1996 20:12:58 +0000 (20:12 +0000)]
Last of the glue and devices for for PCMCIA support from Stefan Grefen
<grefen@convex.com> with modifications by John Kohl <jtk@kolvir.blrc.ma.us>

28 years agoadd the freebsd joystick driver; converted by matthieu@abel.laas.fr;
deraadt [Tue, 16 Jan 1996 08:24:49 +0000 (08:24 +0000)]
add the freebsd joystick driver; converted by matthieu@abel.laas.fr;
netbsd pr#1916

28 years agothe yppasswd command is not needed. the user should always let the
deraadt [Tue, 16 Jan 1996 07:22:13 +0000 (07:22 +0000)]
the yppasswd command is not needed. the user should always let the
passwd command figure out where their password is located. if they
really need to change a specific one, they can use the flags - bet
noone ever needs to use that.

28 years agofrom netbsd:
deraadt [Tue, 16 Jan 1996 01:25:38 +0000 (01:25 +0000)]
from netbsd:
Relax checking of minor version number in `findhint()'. Also use the
directories from the hints (v.2) file for directory traversing.
This should take care of PR#1146.

28 years agoupdate from netbsd
deraadt [Tue, 16 Jan 1996 01:22:20 +0000 (01:22 +0000)]
update from netbsd

28 years agofrom netbsd:
deraadt [Tue, 16 Jan 1996 01:20:31 +0000 (01:20 +0000)]
from netbsd:
Honor cache request and add the SCSI tape device configuration page.
Fixes PRs 807, 1201, and 1705. From John Kohl <jtk@kolvir.blrc.ma.us>.

28 years agofrom netbsd; add doshutdownhooks()
deraadt [Tue, 16 Jan 1996 01:01:06 +0000 (01:01 +0000)]
from netbsd; add doshutdownhooks()

28 years agoadd ahe support
deraadt [Tue, 16 Jan 1996 01:00:44 +0000 (01:00 +0000)]
add ahe support

28 years agosync with netbsd
deraadt [Tue, 16 Jan 1996 00:59:40 +0000 (00:59 +0000)]
sync with netbsd

28 years agofrom netbsd:
deraadt [Tue, 16 Jan 1996 00:59:04 +0000 (00:59 +0000)]
from netbsd:
Use ${BINOWN} and ${BINGRP} per Arne H. Juul <arnej@ikke.idt.unit.no>
in PR #705.  Also, clean up some stuff left over from HP-BSD.

28 years agofrom netbsd:
deraadt [Tue, 16 Jan 1996 00:58:18 +0000 (00:58 +0000)]
from netbsd:
The changes frpm Paul Goyette with respect to the driver trace require
DBG_PID to be defined to an interger value....make it so.

28 years agofrom netbsd:
deraadt [Tue, 16 Jan 1996 00:57:48 +0000 (00:57 +0000)]
from netbsd:
Correct the instructions regarding the password database in
~ftp/etc, from Rob Windsor <windsor@ksu.ksu.edu> in PR #544.

28 years agofrom netbsd; Use err() & warn()
deraadt [Tue, 16 Jan 1996 00:57:11 +0000 (00:57 +0000)]
from netbsd; Use err() & warn()

28 years agoDon't feed ${DEBUG} to the assembler, it doesn't take those args
niklas [Mon, 15 Jan 1996 22:15:13 +0000 (22:15 +0000)]
Don't feed ${DEBUG} to the assembler, it doesn't take those args
anyway.

28 years agoWhoops! Need this file to make config happy...
hvozda [Mon, 15 Jan 1996 21:44:56 +0000 (21:44 +0000)]
Whoops!  Need this file to make config happy...

28 years agoFix typo so two -L options can be fed to rcsdiff.
niklas [Mon, 15 Jan 1996 21:40:37 +0000 (21:40 +0000)]
Fix typo so two -L options can be fed to rcsdiff.

28 years agoremove dup vm86 defn
deraadt [Mon, 15 Jan 1996 21:39:06 +0000 (21:39 +0000)]
remove dup vm86 defn

28 years agoadd aic7xxx driver
deraadt [Mon, 15 Jan 1996 21:34:08 +0000 (21:34 +0000)]
add aic7xxx driver

28 years agofrom netbsd; Add capability to read archives (from Thomas Eberhardt; PR#497)
deraadt [Mon, 15 Jan 1996 20:12:13 +0000 (20:12 +0000)]
from netbsd; Add capability to read archives (from Thomas Eberhardt; PR#497)

28 years agofrom netbsd; More descriptive message for printer status. Addresses PR #509
deraadt [Mon, 15 Jan 1996 20:11:33 +0000 (20:11 +0000)]
from netbsd; More descriptive message for printer status. Addresses PR #509

28 years agofrom betbsd:
deraadt [Mon, 15 Jan 1996 20:09:18 +0000 (20:09 +0000)]
from betbsd:
Allow override of nroff program, requested by Masanobu Saitoh
<msaitoh@spa.is.uec.ac.jp> in PR #1741.

28 years agofrom netbsd:
deraadt [Mon, 15 Jan 1996 20:06:59 +0000 (20:06 +0000)]
from netbsd:
Document the EACCES errno value as returned by sendmsg(2), per
Ted Mellon <mellon@fugue.com>, PR #1093.

28 years agoRemove vnode_if.[ch] during a "make clean", per PR#536 from
deraadt [Mon, 15 Jan 1996 20:04:48 +0000 (20:04 +0000)]
Remove vnode_if.[ch] during a "make clean", per PR#536 from
Dan Carosone <danielce@ee.mu.oz.au>.

28 years agoUpdates from Kelly Campbell <camk@ksu.ksu.edu> for some ROM addresses.
briggs [Mon, 15 Jan 1996 12:30:11 +0000 (12:30 +0000)]
Updates from Kelly Campbell <camk@ksu.ksu.edu> for some ROM addresses.

28 years agodefine pcmciabus for PCMCIA support
hvozda [Mon, 15 Jan 1996 01:55:05 +0000 (01:55 +0000)]
define pcmciabus for PCMCIA support

28 years agoconfig glue for PCMCIA support
hvozda [Mon, 15 Jan 1996 01:52:09 +0000 (01:52 +0000)]
config glue for PCMCIA support

28 years agofrom netbsd:
deraadt [Mon, 15 Jan 1996 01:41:24 +0000 (01:41 +0000)]
from netbsd:
Use WTDBPRINT() instead of DEBUG() for driver debugging printf()s..
Fixes PR #1927, from Erik Bertelsen <erik@arhpc214.uni-c.dk>

28 years agoupdate from netbsd
deraadt [Mon, 15 Jan 1996 01:41:02 +0000 (01:41 +0000)]
update from netbsd

28 years agofrom netbsd:
deraadt [Mon, 15 Jan 1996 01:39:42 +0000 (01:39 +0000)]
from netbsd:
Add the "ahe" driver, autoconfiguration support for the aic7xxx-based
Adaptec 2[78]4x SCSI controllers, from Michael Graff <explorer@flame.org>.
Fixes PR #1594 from Noriyuki Soda <soda@sra.co.jp> in a different way.

28 years agofrom netbsd:
deraadt [Mon, 15 Jan 1996 01:13:45 +0000 (01:13 +0000)]
from netbsd:
Cross-reference fsinfo(8) and mk-amd-map(8), as per PR #1057.
From David Brownlee <abs@mono.city.ac.uk>.

28 years agofrom netbsd:
deraadt [Mon, 15 Jan 1996 01:12:11 +0000 (01:12 +0000)]
from netbsd:
Handle multichar comment and quote delimiters (up to 5 characters, per the
manual page). Takes care of PR#485.

28 years agofrom netbsd:
deraadt [Mon, 15 Jan 1996 01:11:16 +0000 (01:11 +0000)]
from netbsd:
Document the -follow option, per David Brownlee <abs@mono.city.ac.uk>
in PR #1113.

28 years agofrom netbsd:
deraadt [Mon, 15 Jan 1996 01:10:17 +0000 (01:10 +0000)]
from netbsd:
Don't read the network address as an alias when there isn't whitespace
after the network address.  Closes PR 1940.

28 years agoatari specific libsa shrinkage is nasty
deraadt [Mon, 15 Jan 1996 01:07:49 +0000 (01:07 +0000)]
atari specific libsa shrinkage is nasty

28 years agoproto memcpy
deraadt [Mon, 15 Jan 1996 01:07:15 +0000 (01:07 +0000)]
proto memcpy

28 years agofrom netbsd: The read_inode() function now returns the result of the
deraadt [Mon, 15 Jan 1996 01:06:44 +0000 (01:06 +0000)]
from netbsd: The read_inode() function now returns the result of the
strategy function instead of success in all cases

28 years agofrom netbsd:
deraadt [Mon, 15 Jan 1996 00:58:16 +0000 (00:58 +0000)]
from netbsd:
Balance calls to disk_busy() and disk_unbusy() properly to avoid
dk_busy < 0 panics.  Count seeks.

28 years agofrom netbsd; Make a small attempt to deal better with VM86 mode in GDB
deraadt [Mon, 15 Jan 1996 00:56:27 +0000 (00:56 +0000)]
from netbsd; Make a small attempt to deal better with VM86 mode in GDB

28 years agosync with netbsd
deraadt [Mon, 15 Jan 1996 00:16:32 +0000 (00:16 +0000)]
sync with netbsd

28 years agoRegister defs for Intel 82365 PCMCIA controller
hvozda [Mon, 15 Jan 1996 00:08:50 +0000 (00:08 +0000)]
Register defs for Intel 82365 PCMCIA controller

28 years agoISA <-> PCMCIA glue for PCMCIA support.
hvozda [Mon, 15 Jan 1996 00:05:03 +0000 (00:05 +0000)]
ISA <-> PCMCIA glue for PCMCIA support.

28 years agoNew devices for PCMCIA support
hvozda [Sun, 14 Jan 1996 23:10:30 +0000 (23:10 +0000)]
New devices for PCMCIA support

28 years agoFrom NetBSD: (required for last change to scsi_base.c in case we get
briggs [Sun, 14 Jan 1996 21:44:26 +0000 (21:44 +0000)]
From NetBSD: (required for last change to scsi_base.c in case we get
      "command aborted" status)
Handle cases like the following:
        - controller calls scsi_done() with error XS_TIMEOUT
        - scsi_done() calls sddone()
        - sddone() calls disk_unbusy()
        - scsi_done() calls controller to retry command (missing the
          call to disk_busy())
        - controller calls scsi_done()
        - scsi_done() calls sddone()
        - sddone() calls disk_busy(), which panics because of the imbalance.
Bug noticed by Leo Weppleman, who also suggested this fix; pass an additional
boolean argument ("complete") to the device's "done" routine, with a
value of `0' passed from the previous call to "done", and add an additional
call to "done" when the xfer resources are freed.

28 years agoRetry a command when we get a command aborted message for it.
briggs [Sun, 14 Jan 1996 21:34:43 +0000 (21:34 +0000)]
Retry a command when we get a command aborted message for it.
This might be a transient error.  Do complain about it, though.

28 years agoPreliminary cut at SONIC driver. Quadra only at this point.
briggs [Sun, 14 Jan 1996 21:29:28 +0000 (21:29 +0000)]
Preliminary cut at SONIC driver.  Quadra only at this point.
Still apparently not getting interrupts for some reason, so this is more
or less just a checkpoint.

28 years agoUse dma_cachectl instead of cachectl when writing into the kernel text
niklas [Sun, 14 Jan 1996 21:20:10 +0000 (21:20 +0000)]
Use dma_cachectl instead of cachectl when writing into the kernel text
segment.  Ordinary cachectl is for userlevel virtual addresses.

28 years agofrom netbsd: more of PR 1931. Fix code that's not compiled unless DEBUG.
briggs [Sun, 14 Jan 1996 21:15:21 +0000 (21:15 +0000)]
from netbsd: more of PR 1931.  Fix code that's not compiled unless DEBUG.

28 years agofrom netbsd -- remove some more dead code (PR #1931)
briggs [Sun, 14 Jan 1996 21:11:46 +0000 (21:11 +0000)]
from netbsd -- remove some more dead code (PR #1931)

28 years agofrom netbsd--remove bogus code.
briggs [Sun, 14 Jan 1996 21:06:29 +0000 (21:06 +0000)]
from netbsd--remove bogus code.

28 years agofrom netbsd: Fixes from PR #1931.
briggs [Sun, 14 Jan 1996 20:58:54 +0000 (20:58 +0000)]
from netbsd: Fixes from PR #1931.

28 years agofrom netbsd:
briggs [Sun, 14 Jan 1996 20:57:35 +0000 (20:57 +0000)]
from netbsd:
Patch to at least recognise FOCUS EtherLAN.  From Erik Bertelson
<erik@sockdev.uni-c.dk>

28 years agosync w/ netbsd: splzs -> spl4 from splhigh. Remove bogus DEBUG.
briggs [Sun, 14 Jan 1996 20:51:08 +0000 (20:51 +0000)]
sync w/ netbsd: splzs -> spl4 from splhigh.  Remove bogus DEBUG.

28 years agoAdd hooks for custom audio players. This is the original untouched
niklas [Sun, 14 Jan 1996 16:05:23 +0000 (16:05 +0000)]
Add hooks for custom audio players.  This is the original untouched
kernel diffs from Tim Newsham <newsham@hookomo.aloha.net> found in his
well-known audio LKM kit.

28 years agonetbsd -> bsd
niklas [Sun, 14 Jan 1996 12:21:33 +0000 (12:21 +0000)]
netbsd -> bsd

28 years agoRedid formatting with mandoc macros. Added an "ERRORS" section.
niklas [Sun, 14 Jan 1996 01:27:17 +0000 (01:27 +0000)]
Redid formatting with mandoc macros.  Added an "ERRORS" section.

28 years agoThe sun mmu is very broken, and we all can thank crashme for
davem [Sun, 14 Jan 1996 00:39:18 +0000 (00:39 +0000)]
The sun mmu is very broken, and we all can thank crashme for
helping me find this bug.  On execution of an atomic load/store instruction
the chip will only say that a read fault is happening, we then load up a
readonly translation to the accessed page, and we get the fault again still
showing a read-fault.  We end up faulting in a loop forever and the process
appears to be completely stuck.  The algorithm to fix this problem goes like
this.  If we get a non-text fault, and the fault type is VM_PROT_READ, and
the SER_PROT bit is set in the syncronous fault error register, we take
a peek at the instruction at pc.  If this instruction is indeed an ldstub
or a swap variant we or in VM_PROT_WRITE to the fault type.

28 years agoFix typo
niklas [Sun, 14 Jan 1996 00:17:18 +0000 (00:17 +0000)]
Fix typo

28 years agoDon't issue a linked command to check for a device's support of them.
briggs [Sat, 13 Jan 1996 16:14:22 +0000 (16:14 +0000)]
Don't issue a linked command to check for a device's support of them.
Instead, check the inquiry_flag.  Also allow enabling and disabling
linked command issuance on target-by-target basis.

28 years agosync with sparc:
chuck [Sat, 13 Jan 1996 03:52:44 +0000 (03:52 +0000)]
sync with sparc:
 - move disk_attach() to before reading the disk label as per Jason.
otherwise we are reading into an unallocated buffer (oops!)

28 years ago - call mapiodev() with sizeof(struct xdc/xyc) rather than ra_len (which is
chuck [Sat, 13 Jan 1996 03:45:01 +0000 (03:45 +0000)]
 - call mapiodev() with sizeof(struct xdc/xyc) rather than ra_len (which is
zero since xdcmatch/xycmatch no longer sets it).   [if you call
mapiodev() with a zero size it will reuse the KVA it returns, swiping
the device out from under you!]
 - make xdc/xyc->iopbase point in the kernels DVMA space rather than at the
normal malloc'd KVA.   this isn't compatable with sun4m [doesn't
have a kernel DVMA space] and will need to be changed later (XXX).
 - move disk_attach() to before reading the disk label as per Jason.
otherwise we are reading into an unallocated buffer (oops!)

28 years agohave mapdev() panic if size == 0 to be safe (catches config errors)
chuck [Sat, 13 Jan 1996 03:12:12 +0000 (03:12 +0000)]
have mapdev() panic if size == 0 to be safe (catches config errors)

28 years agowe no longer need to add in the offset to the mapped VA to get the correct
chuck [Fri, 12 Jan 1996 23:09:08 +0000 (23:09 +0000)]
we no longer need to add in the offset to the mapped VA to get the correct
device address (bus_tmp, bus_map, and mapiodev now do this for us).

also, we handle all our mappings, so don't have obio.c do any for us
(i.e. don't set ra->ra_len in xycmatch).

nuke uneeded variable in match function.

28 years agodmamatch never added in the offset for the dma registers to the VA,
chuck [Fri, 12 Jan 1996 22:02:15 +0000 (22:02 +0000)]
dmamatch never added in the offset for the dma registers to the VA,
and thus probed the wrong address on the 4/300 (but it worked because
it was probing the esp0 registers!).

now that bus_tmp() adds the offset in for us [as of obio 1.15] i
discoved that a byte access to the dma registers is not allowed.
so, i've change probeget to use a word access.

28 years agoimproved handling of mapping of devices who's registers do not reside on
chuck [Fri, 12 Jan 1996 21:43:09 +0000 (21:43 +0000)]
improved handling of mapping of devices who's registers do not reside on
page boundaries:
 - change bus_tmp() to include the offset from the start of page in the
returned KVA [rather than forcing each driver to add it back in
individually]
 - changed bus_map() to include the offset from the start of page in the
the returned value if a mapping is found in the PROM's KVA area
 - clarified a few comments

28 years agochange mapdev() so that it includes the offset from the start of the
chuck [Fri, 12 Jan 1996 21:21:54 +0000 (21:21 +0000)]
change mapdev() so that it includes the offset from the start of the
page in the virtual address it returns.

28 years agoremove DEBUG
deraadt [Fri, 12 Jan 1996 21:15:05 +0000 (21:15 +0000)]
remove DEBUG

28 years agofrom netbsd:
deraadt [Fri, 12 Jan 1996 21:13:41 +0000 (21:13 +0000)]
from netbsd:
Kludge around a case where a flaky HP-IB disk might be slow to respond
to the identification request in rdmatch().  Similar in spirit to a
patch from Jason Downs (written eons ago), but limited to the broken
device we're trying to reach.  My patch tested (and fixed :-) by
Herb Peyerl.

28 years agofrom netbsd; Fix declaration of hilqfree(), from <hag@wizardz.com>,
deraadt [Fri, 12 Jan 1996 21:12:59 +0000 (21:12 +0000)]
from netbsd; Fix declaration of hilqfree(), from <hag@wizardz.com>,
PR #1918.

28 years agoCorrect some typo's, add some virtual consoles and the tun devices
deraadt [Fri, 12 Jan 1996 21:11:52 +0000 (21:11 +0000)]
Correct some typo's, add some virtual consoles and the tun devices

28 years agofrom netbsd; Correct test for ECHONL (from der Mouse; PR#1922).
deraadt [Fri, 12 Jan 1996 21:11:12 +0000 (21:11 +0000)]
from netbsd; Correct test for ECHONL (from der Mouse; PR#1922).

28 years agoCompleted incomplete edit and corrected history
niklas [Fri, 12 Jan 1996 21:08:46 +0000 (21:08 +0000)]
Completed incomplete edit and corrected history

28 years agono luns on Tandberg 3600 w/ fake Archive Viper emulation roms; from
deraadt [Fri, 12 Jan 1996 21:02:45 +0000 (21:02 +0000)]
no luns on Tandberg 3600 w/ fake Archive Viper emulation roms; from
raeburn@raeburn.org; netbsd pr#1934

28 years agofrom netbsd;
deraadt [Fri, 12 Jan 1996 20:19:48 +0000 (20:19 +0000)]
from netbsd;
New generic disk framework.  Highlights:
New metrics handling.  Metrics are now kept in the new `struct disk'.
Busy time is now stored as a timeval, and transfer count in bytes.
Storage for disklabels is now dynamically allocated, so that the size
of the disk structure is not machine-dependent.
Several new functions for attaching and detaching disks, and handling
metrics calculation.
Old-style instrumentation is still supported in drivers that did it
before.  However, old-style instrumentation is being deprecated, and
will go away once the userland utilities are updated for the new
framework.
For usage and architectural details, see the forthcoming disk(9)
manual page.

28 years agoupdate to new cdio.h
deraadt [Fri, 12 Jan 1996 20:14:22 +0000 (20:14 +0000)]
update to new cdio.h

28 years agofrom netbsd; Document hint file v.2
deraadt [Fri, 12 Jan 1996 20:00:43 +0000 (20:00 +0000)]
from netbsd; Document hint file v.2

28 years agofrom netbsd; Note search mechanism
deraadt [Fri, 12 Jan 1996 19:59:53 +0000 (19:59 +0000)]
from netbsd; Note search mechanism

28 years agofrom netbsd:
deraadt [Fri, 12 Jan 1996 19:57:26 +0000 (19:57 +0000)]
from netbsd:
Make dlopen() search for libraries if given a name of the form
`lib<name>.so[.xx[.yy]]' (per Erik M. Theisen; PR#1763; patch from PR
used in simplified form).
Deal with v.2 hint files (hint srch dirs not yet used).

28 years agofrom netbsd:
deraadt [Fri, 12 Jan 1996 19:56:20 +0000 (19:56 +0000)]
from netbsd:
Create v.2 hint files.
Note: don't bother to understand v.1 files..

28 years agoRemove CCB from hash list when it gets unmapped, not the first time looked up.
hannken [Fri, 12 Jan 1996 17:52:48 +0000 (17:52 +0000)]
Remove CCB from hash list when it gets unmapped, not the first time looked up.

28 years agoclean better
deraadt [Fri, 12 Jan 1996 16:55:47 +0000 (16:55 +0000)]
clean better

28 years agoSIGBUS is an alignment fault. SIGSEGV is an access violation
deraadt [Fri, 12 Jan 1996 16:45:00 +0000 (16:45 +0000)]
SIGBUS is an alignment fault. SIGSEGV is an access violation

28 years agoproto rfork()
deraadt [Fri, 12 Jan 1996 14:45:42 +0000 (14:45 +0000)]
proto rfork()

28 years agofrom netbsd
deraadt [Fri, 12 Jan 1996 03:13:42 +0000 (03:13 +0000)]
from netbsd

28 years agodisable ddb, enable vnd
deraadt [Fri, 12 Jan 1996 02:08:49 +0000 (02:08 +0000)]
disable ddb, enable vnd

28 years agoRemove obsolete GCC
niklas [Thu, 11 Jan 1996 22:27:45 +0000 (22:27 +0000)]
Remove obsolete GCC