unix-history/.git
30 years agoFixed a prototype of a function to match its actual declaration.
Andreas Schulz [Tue, 30 Nov 1993 14:37:01 +0000 (14:37 +0000)]
Fixed a prototype of a function to match its actual declaration.

30 years agoChanged a prototype to match the actual declaration.
Andreas Schulz [Tue, 30 Nov 1993 14:31:44 +0000 (14:31 +0000)]
Changed a prototype to match the actual declaration.

30 years agoFixed a typo. Changed the "include <stdlib> to include <stdlib.h>.
Andreas Schulz [Tue, 30 Nov 1993 14:28:01 +0000 (14:28 +0000)]
Fixed a typo. Changed the "include <stdlib> to include <stdlib.h>.

30 years agoDeleted a wrong reference to random() and included <stdlib.h> instead.
Andreas Schulz [Tue, 30 Nov 1993 11:27:40 +0000 (11:27 +0000)]
Deleted a wrong reference to random() and included <stdlib.h> instead.

30 years agoDeleted a misplaced reference to time() and inserted an include <time.h>.
Andreas Schulz [Tue, 30 Nov 1993 10:34:39 +0000 (10:34 +0000)]
Deleted a misplaced reference to time() and inserted an include <time.h>.

30 years agoAdd support for ~ in a regexp pattern and fix handling of ~ in
Andrew Moore [Tue, 30 Nov 1993 09:39:38 +0000 (09:39 +0000)]
Add support for  ~ in a regexp pattern and fix handling of ~ in
a replacement.  In both cases, ~ expands to the replacement text of the
last substitution as per POSIX.

30 years agowmesg was too long (>7), fixed
Andrey Chernov [Mon, 29 Nov 1993 19:26:32 +0000 (19:26 +0000)]
wmesg was too long (>7), fixed

30 years agoMake fill_eproc more robust:
Andrey Chernov [Mon, 29 Nov 1993 19:22:18 +0000 (19:22 +0000)]
Make fill_eproc more robust:
always zero last byte of e_wmesg to prevent fault on
long (>7) p_wmesg

30 years agoWeird kern_kinfo bug, fix continued:
Andrey Chernov [Mon, 29 Nov 1993 18:01:12 +0000 (18:01 +0000)]
Weird kern_kinfo bug, fix continued:
p_wmesg left in undefined state after fork, so first
getkerninfo before first tsleep fails.
Fix: zero p_wmesg after copy proc structure.

30 years ago * Revision 2.16 1993/11/29 16:55:56 davidg
David Greenman [Mon, 29 Nov 1993 17:07:33 +0000 (17:07 +0000)]
 * Revision 2.16  1993/11/29  16:55:56  davidg
 * merged in Garrett Wollman's strict prototype changes
 *
 * Revision 2.15  1993/11/29  16:32:58  davidg
 * From Thomas Sandford <t.d.g.sandford@comp.brad.ac.uk>
 * Add support for the 8013W board type

30 years agoRemoving another null pointer reference.
Andreas Schulz [Mon, 29 Nov 1993 15:54:49 +0000 (15:54 +0000)]
Removing another null pointer reference.

30 years agoUse slightly less disgusting double cast to quiet compiler. This will be
David Greenman [Mon, 29 Nov 1993 15:45:44 +0000 (15:45 +0000)]
Use slightly less disgusting double cast to quiet compiler. This will be
removed when type of handle is changed.

30 years agoAdded disgusting kludge to get rid of compiler warning until 'handle'
David Greenman [Mon, 29 Nov 1993 15:30:25 +0000 (15:30 +0000)]
Added disgusting kludge to get rid of compiler warning until 'handle'
type is changed.

30 years agoWeird bug with kern_kinfo now fixed! (applauds)
Andrey Chernov [Mon, 29 Nov 1993 14:50:27 +0000 (14:50 +0000)]
Weird bug with kern_kinfo now fixed!  (applauds)
Missing argument to thread_block() caused this.
Added vm.h for prototype and add string argument to thread_block

30 years ago Fixed some bugs I introduced when integrating Mike Hibler's
David Greenman [Mon, 29 Nov 1993 14:30:24 +0000 (14:30 +0000)]
   Fixed some bugs I introduced when integrating Mike Hibler's
device_pager. The biggest problem was that no reference was being
held on the vnode associated with the device special file, and as
a result, the vp that was the handle was reused - leaving no way
to get to the major/minor anymore. Rather than gaining a reference,
I decided to go back to the previous way of doing things (i.e.
using the major/minor as the handle); this makes more sense anyway,
but is kinda kludgy. Additionally, I removed one of the #ifdef
DIAGNOSTIC conditionals so that the code that checks for a valid
device mmap routine always does the check. This can be re-ifdef'd
later if necessary, but the check is relatively low overhead and
would catch some potentially disasterous bugs.
   Also found that several fields in the vm_page structure that
is allocated in the getfake routine weren't being initialized.
This was fixed by bzeroing the allocated struct first, and then
properly initializing all of the non-zero elements.

30 years agoThe prototype for strerror is not in stdio.h , but in string.h. Checked
Andreas Schulz [Mon, 29 Nov 1993 10:13:16 +0000 (10:13 +0000)]
The prototype for strerror is not in stdio.h , but in string.h. Checked
that against solaris.

30 years agoDeleted a definition of strerror and included string.h instead.
Andreas Schulz [Mon, 29 Nov 1993 09:56:16 +0000 (09:56 +0000)]
Deleted a definition of strerror and included string.h instead.

30 years agoMoved an external function definition to a more global place, to shut
Andreas Schulz [Mon, 29 Nov 1993 09:31:46 +0000 (09:31 +0000)]
Moved an external function definition to a more global place, to shut
up the compiler.

30 years agoFixed a typo in the manpage of strerror.3 .
Andreas Schulz [Mon, 29 Nov 1993 09:05:49 +0000 (09:05 +0000)]
Fixed a typo in the manpage of strerror.3 .

30 years agoSee, what i do to keep Garett happy :-).
Andreas Schulz [Sun, 28 Nov 1993 23:43:29 +0000 (23:43 +0000)]
See, what i do to keep Garett happy :-).
Deleted the lseek definition and included unistd.h instead.

30 years agoChanged the forward definition of tskip and tdecode to match the
Andreas Schulz [Sun, 28 Nov 1993 23:31:53 +0000 (23:31 +0000)]
Changed the forward definition of tskip and tdecode to match the
actual function.

30 years agoChanged the declaration of a signal handler routine to void.
Andreas Schulz [Sun, 28 Nov 1993 23:12:25 +0000 (23:12 +0000)]
Changed the declaration of a signal handler routine to void.

30 years agocommented out a forward declaration to get rid of a compiler warning.
Andreas Schulz [Sun, 28 Nov 1993 23:00:17 +0000 (23:00 +0000)]
commented out a forward declaration to get rid of a compiler warning.

30 years agoCorrected a forward declaration to get rid of a compiler warning.
Andreas Schulz [Sun, 28 Nov 1993 22:46:26 +0000 (22:46 +0000)]
Corrected a forward declaration to get rid of a compiler warning.

30 years agoMoved a forward definition from a function into a more global place, to
Andreas Schulz [Sun, 28 Nov 1993 22:39:50 +0000 (22:39 +0000)]
Moved a forward definition from a function into a more global place, to
delete a compiler warning.

30 years agoChanged a forward declaration to match the actual function.
Andreas Schulz [Sun, 28 Nov 1993 22:28:29 +0000 (22:28 +0000)]
Changed a forward declaration to match the actual function.

30 years agoDeleted a wrong definition of calloc and included stdlib.h instead.
Andreas Schulz [Sun, 28 Nov 1993 22:21:39 +0000 (22:21 +0000)]
Deleted a wrong definition of calloc and included stdlib.h instead.

30 years agodeleted a register definition from a "buf[20]" declaration.
Andreas Schulz [Sun, 28 Nov 1993 22:07:02 +0000 (22:07 +0000)]
deleted a register definition from a "buf[20]" declaration.

30 years agoDeleted the extern wrong definition of inet_ntoa and included
Andreas Schulz [Sun, 28 Nov 1993 15:06:50 +0000 (15:06 +0000)]
Deleted the extern wrong definition of inet_ntoa and included
arpa/inet.h for the definition . Eliminates a compiler warning.

30 years agoFixed the typo of return(news) to return(new).
Andreas Schulz [Sun, 28 Nov 1993 14:37:58 +0000 (14:37 +0000)]
Fixed the typo of return(news) to return(new).

30 years agoMoved the definition from extern lseek from a local function to a more
Andreas Schulz [Sun, 28 Nov 1993 14:27:44 +0000 (14:27 +0000)]
Moved the definition from extern lseek from a local function to a more
global place to get rid of compiler warnings.

30 years agoChanged types.h that the common struct definitions are also available
Andreas Schulz [Sun, 28 Nov 1993 14:23:11 +0000 (14:23 +0000)]
Changed types.h that the common struct definitions are also available
outside of the kernel. They are needed in conf.h. Added an include of
cdefs.h in disklabel.h for the non-kernel case for the definition of __P.

30 years agoChanged the location of an external declaration to get rid of a compiler
Andreas Schulz [Sun, 28 Nov 1993 10:56:06 +0000 (10:56 +0000)]
Changed the location of an external declaration to get rid of a compiler
warning.

30 years agoDirect #undefs removed to allow flexible manipulation
Andrey Chernov [Sun, 28 Nov 1993 10:55:59 +0000 (10:55 +0000)]
Direct #undefs removed to allow flexible manipulation
via config options. Unneded #defines removed.
Improved dependance of "snd.h" and NSND.

30 years agoGet rid of some compilation warnings.
Andreas Schulz [Sun, 28 Nov 1993 10:24:52 +0000 (10:24 +0000)]
Get rid of some compilation warnings.

30 years agoPatch from Gene Stark:
David Greenman [Sun, 28 Nov 1993 09:28:54 +0000 (09:28 +0000)]
Patch from Gene Stark:

Subject: Page fault in PTE area fails in copyout
Index: sys/i386/i386/trap.c FreeBSD-1.0.2

Description:
Reading files of several megabytes into Emacs, or many small
files all at once, would fail with "IO error - bad address".

Repeat-By:
The bug can be exercised by a test program that malloc()'s
a 5MB chunk of memory, and then, without accessing the memory
first, filling it with data from a file using read().
(I read 64k chunks from /dev/wd0d into successive 64k regions
of the 5MB chunk.)  The read() will fail with EFAULT at the first
virtual address boundary that is a multiple of 0x400000.

Fix:
The problem was code in sys/i386/i386/trap.c that tries to
figure out what kind of trap occurred and to handle it appropriately.
It was interpreting any page fault with virtual address
>= vm->vm_maxsaddr as being a user stack segment fault.
In fact, addresses >= USRSTACK are in the user structure/PTE area,
and if they are handled as stack faults, the proper PTE will
not be paged in when it is supposed to be.  This situation comes
up in copyout() and copyoutstr(), if PTE's are accessed for the
first time ever.  The page fault on accessing the nonexistent PTE
is mishandled as a stack fault, and then the fault that occurs on
the subsequent access to the page itself causes copyout to fail
with EFAULT.

30 years agoPatch from Gene Stark:
David Greenman [Sun, 28 Nov 1993 09:16:07 +0000 (09:16 +0000)]
Patch from Gene Stark:
Description:
Running "strip -x 386bsd" (the last step in building a kernel)
over NFS hangs in uninterruptible sleep.

Repeat-By:
Copy an unstripped kernel to an NFS-mounted directory and
run "strip -x" on it.

Fix:
Apply the patch below to /sys/nfs/nfs_bio.c.  The problem is
that vnode_pager_io sets up a uio structure with a null
process pointer, and then nfs_write uses that pointer to
check whether the file size resource limit is exceeded.
If so, nfs_write returns EFBIG, which is ultimately voided
by the call to vm_pager_put in vm_object_page_clean.
The process thus hangs forever waiting for pageout to complete.
The code for nfs_write was evidently cribbed from ufs_write
in ufs_vnops.c.  The check for vp->v_type == VREG is actually
already done earlier in nfs_write, but why not be a little
defensive?  The problem evidently does not exist in isofs
(no writing), or pcfs (done correctly).

(Note that the check for VREG is indeed redundant, and I removed it -DG)

30 years agoMove soundcard.h & ultrasound.h to proper location <machine/...>
Andrey Chernov [Sat, 27 Nov 1993 22:16:44 +0000 (22:16 +0000)]
Move soundcard.h & ultrasound.h to proper location <machine/...>
to allow application access it.

30 years agoFrom: hsu@soda.berkeley.edu
Andrey Chernov [Sat, 27 Nov 1993 19:42:31 +0000 (19:42 +0000)]
From: hsu@soda.berkeley.edu

The problem is that fp->_w is not getting set properly, which causes the
stdio buffer to overflow later on.  Setvbuf() defers this setting, among
other things, to __srefill or __swsetup, neither of which gets called in
this case.  Simply setting fp->_w will fix the bus error, but does not
address the questions of whether any of the other operations in __srefill
and __swsetup are needed or how to correctly force invocation of __srefill
or __swetup, depending on whether the first operation is a read or write.

30 years agoDeclare cnopen, cnclose, and other console routines.
Garrett Wollman [Sat, 27 Nov 1993 19:19:19 +0000 (19:19 +0000)]
Declare cnopen, cnclose, and other console routines.

30 years agoDon't set splbio() in vfs_update, and don't set PCATCH on the sleep.
David Greenman [Sat, 27 Nov 1993 17:07:05 +0000 (17:07 +0000)]
Don't set splbio() in vfs_update, and don't set PCATCH on the sleep.
Ignore all signals sent to system (internal) daemons.

30 years agoAdded mkdep to list of things built in bootstrapld.
Paul Richards [Sat, 27 Nov 1993 16:12:55 +0000 (16:12 +0000)]
Added mkdep to list of things built in bootstrapld.

Not really a shlibs thing but here's as good a place as any to put it.
It needs to be made before libg++ becasue the old mkdep fails.

30 years agoFix some pointer casting that Garrett missed.
David Greenman [Sat, 27 Nov 1993 16:04:36 +0000 (16:04 +0000)]
Fix some pointer casting that Garrett missed.

30 years agoDeclared cn{open,close,read,write,ioctl,select} extern.
Paul Richards [Sat, 27 Nov 1993 06:50:45 +0000 (06:50 +0000)]
Declared cn{open,close,read,write,ioctl,select} extern.

30 years agoFix conflicting prototypes and return values.
Paul Richards [Sat, 27 Nov 1993 06:32:41 +0000 (06:32 +0000)]
Fix conflicting prototypes and return values.

30 years agoFix d_write_t -> d_rdwr_t (typing error).
Garrett Wollman [Fri, 26 Nov 1993 22:44:17 +0000 (22:44 +0000)]
Fix d_write_t -> d_rdwr_t (typing error).

30 years agoUse #include "kernel.h" to get hz variable, rather than declaring it
Garrett Wollman [Fri, 26 Nov 1993 19:08:26 +0000 (19:08 +0000)]
Use #include "kernel.h" to get hz variable, rather than declaring it
extern.

30 years agoRemove 'update' completely; it's an internal daemon in our kernel.
David Greenman [Thu, 25 Nov 1993 13:35:54 +0000 (13:35 +0000)]
Remove 'update' completely; it's an internal daemon in our kernel.

30 years agoDon't start update daemon; it's now internel to the kernel.
David Greenman [Thu, 25 Nov 1993 13:23:46 +0000 (13:23 +0000)]
Don't start update daemon; it's now internel to the kernel.

30 years agomade update an internel daemon (code from John Dyson)
David Greenman [Thu, 25 Nov 1993 13:16:09 +0000 (13:16 +0000)]
made update an internel daemon (code from John Dyson)
fixed broken biodone (specifically, the handling of B_CALL) while I was
at it. Note that the handling of B_CALL in the swap pager is broken; this
is only half of the fix.

30 years agofix from John Dyson for swap space "leak"
David Greenman [Thu, 25 Nov 1993 12:07:42 +0000 (12:07 +0000)]
fix from John Dyson for swap space "leak"
Description:

The function vm_object_collapse merges the objects shadow
into the object if it is possible.  This can have the positive
effect of eliminating objects that are created by vm_map_copy
at perhaps unoportune times when the source object might be
shadowed and collapse cannot occur.  Once a collapse does not
occur and a pager is created, then that object with a new pager
cannot ever be collapsed again.  Therefore shadows that would
have been created will never be collapsed into the 'parent'
object.  The major thing that keeps vm_object_collapse from
doing its job is if the shadow object has the paging_in_progress
flag set.  Now, what happens is that when vm_map_copy is called
and the system is paging heavily, the vm_object_collapse does not
work well in both vm_map_copy and vm_pageout.  Also vm_map_copy
creates new shadow objects a bit too often, and it has an optimization
to increase the reference count to an existing shadow if a pager
does not exist on the source object.  Additionally, the case of using
the default(swap) pager is ok.

In vm_pageout, a check has been added to defer creating a pager for an
object until all of its shadows have no paging in progress, then the
collapse will work very well.  It is problematical to make collapse
work when paging is occuring, so the solution to defer is signicantly
easier.

The end effect of these changes is to minimize the creation of new
shadow objects and their associated pagers and 'lost' paging space.

30 years agoPatch from Julian Elischer:
David Greenman [Thu, 25 Nov 1993 06:30:58 +0000 (06:30 +0000)]
Patch from Julian Elischer:

Here is the fix for the 'hanging' bug.

This bug happenned whenever two operations were already underway on the
disk and a third (non-IO) command was requested..
in this case the process submitting the NON-IO command was requested to wait,
and a flag set so that on completion of the IO commands, the Non-io command
was given priority over any pending IO commands. (the queue is not
allowed to drain while there are pending "special" ops).

The flag that indicated this was not being reset, so further IO commands
were prohibited from that moment on.

30 years agoMake the LINT kernel compile with -W -Wreturn-type -Wcomment -Werror, and
Garrett Wollman [Thu, 25 Nov 1993 01:39:19 +0000 (01:39 +0000)]
Make the LINT kernel compile with -W -Wreturn-type -Wcomment -Werror, and
add same (sans -Werror) to Makefile for future compilations.

30 years agoAdded -lgcc_pic back again.
Jordan K. Hubbard [Thu, 25 Nov 1993 01:06:42 +0000 (01:06 +0000)]
Added -lgcc_pic back again.

30 years agoChanged the header title from SETPGRP to SETPGID in the manual page
Andreas Schulz [Wed, 24 Nov 1993 18:19:50 +0000 (18:19 +0000)]
Changed the header title from SETPGRP to SETPGID in the manual page
setpgid.2 . ATS

30 years ago/var/run is cleared on boot. Rerun 'ldconfig /usr/X386/lib' after
Paul Richards [Wed, 24 Nov 1993 05:17:14 +0000 (05:17 +0000)]
/var/run is cleared on boot. Rerun 'ldconfig /usr/X386/lib' after
clearing /var/run if /sbin/ldconfig exists.

30 years agoAdded an MLINK command for the setpgrp system call. It is documented
Andreas Schulz [Tue, 23 Nov 1993 23:46:00 +0000 (23:46 +0000)]
Added an MLINK command for the setpgrp system call. It is documented
in the setpgid manual page. Bug report from phk@data.fls.dk
 (Poul-Henning Kamp/P-HK).

30 years agoSubject: Panic - can't mount route (Soren's changes)
Nate Willams [Tue, 23 Nov 1993 21:36:37 +0000 (21:36 +0000)]
Subject: Panic - can't mount route (Soren's changes)
From: Geoff Rehmet  <g89r4222@braae.ru.ac.za>

Description:
On bootup, probe of wd drives fails (CP30104), and kernel panics
- cannot mount root
It appears that the device probe just times out.
Increasing the timeout back to its old value fixes the problem.
Repeat-By:
SUP FreBSD-current,  Find a CP30104 .....  (ok ok ok)
Basically - Soren's changes barf my disk.

30 years agoFixed a null ptr reference, found by apg@demos.su (Paul Antonov).
Andreas Schulz [Tue, 23 Nov 1993 20:07:31 +0000 (20:07 +0000)]
Fixed a null ptr reference, found by apg@demos.su (Paul Antonov).

30 years agoFrom: Andrew Valencia <vandys@cisco.com>
Christoph Robitschko [Tue, 23 Nov 1993 18:51:43 +0000 (18:51 +0000)]
From: Andrew Valencia <vandys@cisco.com>
backgammon will core dump if the optimizer is used to compile the game.
Add the following patch to /usr/src/backgammon/backgammon/move.c to fix this.
From: chmr
Another small fix (remove new element from the free list).

30 years agoChanged return(-1) in switch_scr to return(EINVAL), because -1 is
Christoph Robitschko [Tue, 23 Nov 1993 18:20:52 +0000 (18:20 +0000)]
Changed return(-1) in switch_scr to return(EINVAL), because -1 is
ERESTART on return from a system call.

30 years agoSync with NetBSD version.
J.T. Conklin [Tue, 23 Nov 1993 00:34:05 +0000 (00:34 +0000)]
Sync with NetBSD version.

30 years agoPOSIX.2ification, from my work with NetBSD.
J.T. Conklin [Tue, 23 Nov 1993 00:20:04 +0000 (00:20 +0000)]
POSIX.2ification, from my work with NetBSD.

30 years agoPOSIX.2ifciation, from my work with NetBSD.
J.T. Conklin [Tue, 23 Nov 1993 00:17:17 +0000 (00:17 +0000)]
POSIX.2ifciation, from my work with NetBSD.

30 years agoPOSIX.2ification, from my work with NetBSD.
J.T. Conklin [Tue, 23 Nov 1993 00:13:55 +0000 (00:13 +0000)]
POSIX.2ification, from my work with NetBSD.

30 years agoPOSIX.2ification, from my work on NetBSD.
J.T. Conklin [Tue, 23 Nov 1993 00:10:09 +0000 (00:10 +0000)]
POSIX.2ification, from my work on NetBSD.

30 years agoPOSIX.2ifciations, from my work with NetBSD.
J.T. Conklin [Tue, 23 Nov 1993 00:06:21 +0000 (00:06 +0000)]
POSIX.2ifciations, from my work with NetBSD.

30 years agoPOSIX.2ification, from my work with NetBSD.
J.T. Conklin [Tue, 23 Nov 1993 00:02:23 +0000 (00:02 +0000)]
POSIX.2ification, from my work with NetBSD.

30 years agoChange for POSIX.2 compatibility: Accept either of 'Y' or 'y' --- this should
J.T. Conklin [Mon, 22 Nov 1993 23:56:15 +0000 (23:56 +0000)]
Change for POSIX.2 compatibility: Accept either of 'Y' or 'y' --- this should
be a locale specific regular expression, but I'm hardwiring in POSIX locale
behavior until the localization code is complete.

30 years agoPOSIX.2ification, from my work with NetBSD.
J.T. Conklin [Mon, 22 Nov 1993 23:54:24 +0000 (23:54 +0000)]
POSIX.2ification, from my work with NetBSD.

30 years agoPOSIX.2ification.
J.T. Conklin [Mon, 22 Nov 1993 23:53:17 +0000 (23:53 +0000)]
POSIX.2ification.

30 years agoStop gap measure until we can get Bruce's driver debugged.
Nate Willams [Mon, 22 Nov 1993 23:25:46 +0000 (23:25 +0000)]
Stop gap measure until we can get Bruce's driver debugged.
---
From: sos@login.dkuug.dk (S|ren Schmidt)
Subject: IDE-disk hangs - solution/patches NetBSD/FreeBSD
Summary: fixes for lost interrupts with IDE disks
Keywords: hanging-disk, IDE-disk, lost-interrupt

Due to "popular" demand I'm posting these patches to NetBSD/FreeBSD
instead of mailing them around the world :-)

As many have found out there is a problem when using IDE disks on
FreeBSD. Following is a patch that fixes the problem with lost intterrupts.
Both fixes is based on a patch posted here some month ago by
Stefan Behrens?? (sorry I've lost the original article). But anyway it
works (for me :-).
Basically it does a timeout on lost interrupts, starting the operation
again and logging and error message on the console.

It additionally makes the allready present while loop timeouts
independent of CPU speed, and adds minor numbers for easy access to
dos partitions.

30 years agoSome of the latest changes from Paul K (taken from NetBSD-current).
Jordan K. Hubbard [Mon, 22 Nov 1993 19:05:31 +0000 (19:05 +0000)]
Some of the latest changes from Paul K (taken from NetBSD-current).

30 years agoUpdated to include the Elite Ultra
David Greenman [Mon, 22 Nov 1993 11:15:16 +0000 (11:15 +0000)]
Updated to include the Elite Ultra

30 years ago * Revision 2.14 1993/11/22 10:55:30 davidg
David Greenman [Mon, 22 Nov 1993 11:08:16 +0000 (11:08 +0000)]
 * Revision 2.14  1993/11/22  10:55:30  davidg
 * change all splnet's to splimp's
 *
 * Revision 2.13  1993/11/22  10:53:52  davidg
 * patch to add support for SMC8216 (Elite-Ultra) boards
 * from Glen H. Lowe
 *
 * Revision 2.12  1993/11/07  18:04:13  davidg
 * fix from Garrett Wollman:
 * add a return(0) at the end of ed_probe so that if the various device
 * specific probes fail that we just don't fall of the end of the function.

30 years agopatches necessary to allow "linear" memory mapping for localbus video
David Greenman [Mon, 22 Nov 1993 09:49:54 +0000 (09:49 +0000)]
patches necessary to allow "linear" memory mapping for localbus video
cards. Included in this is a 4.4 device_pager from Mike Hibler as well as
changes from myself and Julian Elischer.

30 years agopatches from Julian Elischer -
David Greenman [Mon, 22 Nov 1993 09:46:45 +0000 (09:46 +0000)]
patches from Julian Elischer -
Added support for mmapping /dev/mem

30 years agoCorrect range checking against M_LAST.
Jordan K. Hubbard [Mon, 22 Nov 1993 07:44:32 +0000 (07:44 +0000)]
Correct range checking against M_LAST.

30 years agoAllow a NULL pattern in global commands (i.e., g//) to reuse the pattern
Andrew Moore [Mon, 22 Nov 1993 06:38:02 +0000 (06:38 +0000)]
Allow a NULL pattern in global commands (i.e., g//) to reuse the pattern
from a previous search, substitution or global command.

30 years agoUpdated entries for London fron Julian Stacey
Jordan K. Hubbard [Mon, 22 Nov 1993 06:23:36 +0000 (06:23 +0000)]
Updated entries for London fron Julian Stacey

30 years agoMissing part of Julians new scsi code, add new driver uk and revise the
Rod Grimes [Mon, 22 Nov 1993 05:40:49 +0000 (05:40 +0000)]
Missing part of Julians new scsi code, add new driver uk and revise the
entries for st.

30 years agoFix address wrapping bug in munmap and smmap.
David Greenman [Sat, 20 Nov 1993 22:27:44 +0000 (22:27 +0000)]
Fix address wrapping bug in munmap and smmap.

30 years agoThe depend target in pic and eqn require the *.tab.h files created by
Paul Richards [Sat, 20 Nov 1993 05:58:23 +0000 (05:58 +0000)]
The depend target in pic and eqn require the *.tab.h files created by
yacc, so we added a beforedepend rule to create them.  Rich

30 years agoIf we're not logging history information, don't demand write access.
Jordan K. Hubbard [Sat, 20 Nov 1993 00:33:12 +0000 (00:33 +0000)]
If we're not logging history information, don't demand write access.

30 years agoChange to close unhappy (non a.out) file descriptor before returning
Jordan K. Hubbard [Fri, 19 Nov 1993 23:14:40 +0000 (23:14 +0000)]
Change to close unhappy (non a.out) file descriptor before returning
from NetBSD.

30 years agoFixed typo in manpage mountd.8 . Found by Ch. Kukulies.
Andreas Schulz [Fri, 19 Nov 1993 20:17:23 +0000 (20:17 +0000)]
Fixed typo in manpage mountd.8 . Found by Ch. Kukulies.

30 years agoadded 5us delay before checking BUSY flag to conform to ATA spec -
David Greenman [Fri, 19 Nov 1993 06:30:02 +0000 (06:30 +0000)]
added 5us delay before checking BUSY flag to conform to ATA spec -
as suggested by John Dyson (dyson@implode.rain.com)

30 years agoRecent Paul K. changes for compiling X shared (tested on my box).
Jordan K. Hubbard [Thu, 18 Nov 1993 20:52:34 +0000 (20:52 +0000)]
Recent Paul K. changes for compiling X shared (tested on my box).

30 years agoUpdated for new scsi code from Julian.
Rod Grimes [Thu, 18 Nov 1993 05:05:42 +0000 (05:05 +0000)]
Updated for new scsi code from Julian.

30 years agoAdded scsi, new command from Julian.
Rod Grimes [Thu, 18 Nov 1993 05:05:28 +0000 (05:05 +0000)]
Added scsi, new command from Julian.

30 years agoNew version of scsi code from Julian
Rod Grimes [Thu, 18 Nov 1993 05:03:27 +0000 (05:03 +0000)]
New version of scsi code from Julian

30 years agoremove HAVE_SETPGRP, because it doesn't detach terminal
Andrey Chernov [Thu, 18 Nov 1993 01:19:06 +0000 (01:19 +0000)]
remove HAVE_SETPGRP, because it doesn't detach terminal
in POSIX (setsid() is only way to do it)

30 years agoIMAXBELL & PENDIN now cleared to satisfy new sio driver.
Andrey Chernov [Thu, 18 Nov 1993 01:03:18 +0000 (01:03 +0000)]
IMAXBELL & PENDIN now cleared to satisfy new sio driver.
From Ian Taylor.
Fix POSIX CLOCAL behaviour, set controlling terminal after it.
Change VTIME from 0 to 1 to fix timeouts waiting for data

30 years agoFrom Ian Taylor.
Andrey Chernov [Thu, 18 Nov 1993 00:59:17 +0000 (00:59 +0000)]
From Ian Taylor.
Fix POSIX detach behaviour, based on setsid() call.
stpgrp(0,0) not used for POSIX now.

30 years agoUpdated to work with new ICMP and PMTU Discovery.
Garrett Wollman [Thu, 18 Nov 1993 00:12:34 +0000 (00:12 +0000)]
Updated to work with new ICMP and PMTU Discovery.

30 years agoFixed comments.
Garrett Wollman [Thu, 18 Nov 1993 00:12:13 +0000 (00:12 +0000)]
Fixed comments.

30 years agoUpdated to work with changes for new ICMP and PMTU Discovery.
Garrett Wollman [Thu, 18 Nov 1993 00:10:53 +0000 (00:10 +0000)]
Updated to work with changes for new ICMP and PMTU Discovery.

30 years agoAdded (disabled) initial support for Path MTU Discovery.
Garrett Wollman [Thu, 18 Nov 1993 00:08:23 +0000 (00:08 +0000)]
Added (disabled) initial support for Path MTU Discovery.
Updated ICMP implementation to be closer to strict RFC 1122 compliance.

30 years ago-r option incorrectly removed:
Andrey Chernov [Thu, 18 Nov 1993 00:08:03 +0000 (00:08 +0000)]
-r option incorrectly removed:
it is impossible to make gcrt0.o from moncrt0.o and gmon.o without it.

30 years agoAdded (disabled) initial support for Path MTU Discovery.
Garrett Wollman [Thu, 18 Nov 1993 00:06:16 +0000 (00:06 +0000)]
Added (disabled) initial support for Path MTU Discovery.