Rodney W. Grimes
f696d2e300
Added #ifndef inline #endif around definition of inline so that we
...
do not end up definig it twice.
1993-08-29 01:59:05 +00:00
Rodney W. Grimes
4ada418a9b
Replaced the return (1)'s with return (IO_KBDSIZE) in the probe code so
...
that the printfs during the probing prints the range instead of just the
start address.
1993-08-28 13:26:30 +00:00
Rodney W. Grimes
a0ad3760a2
Changed trap.c so that a panic will occur if we do not have hardware
...
FP and we try to call the emulator when it is not compiled in.
Removed the #if defined(i486) || defined(i387) that use to call the
panic if we did not have a math emulator.
Removed an extranious include of i386/i386/math_emu.h from math_emulate.c.
1993-08-28 13:25:22 +00:00
Rodney W. Grimes
34f949aed5
Added options MATH_EMULTATE to the kernel config files to pull in the
...
387 math emulator (sys/i386/i386/math_emulate.c). Made that file only
get compiled if options MATH_EMULATE is in the kernel.
1993-08-28 13:21:48 +00:00
Rodney W. Grimes
b9a1ef14c0
New manual pages from NetBSD, revised for FreeBSD slightly
1993-08-28 12:41:23 +00:00
Rodney W. Grimes
8373b81238
Changed MAXSSIZ from MAXDSIZ to 2MB
1993-08-28 09:19:01 +00:00
Rodney W. Grimes
990baf3006
Added targets crypt and non-crypt to make it easier to build the
...
distributions.
Now only populates $DESTDIR/dev if we are building the cdrom distribution,
since this directory is populated by the install tools it was a conflict
to have the dev entries in the full distribution as well.
1993-08-28 03:33:06 +00:00
Rodney W. Grimes
d1de7f30db
Revised headers from Julian. Support for generic scsi.
...
Better audio support
1993-08-28 03:10:05 +00:00
Rodney W. Grimes
a3e4335498
Revised drivers from Julian. Support for generic scsi. Fixed scsi tape (st.c)
...
problems with respect to multiple tar files on one tape. Now uses malloc
of data structures to reduce static kernel size.
1993-08-28 03:08:59 +00:00
Rodney W. Grimes
6526fb8330
Revised drivers from Julian.
1993-08-28 03:07:44 +00:00
Rodney W. Grimes
b5bf8c098a
Added support for scsi/sg.c as cdev major 18.
1993-08-28 03:06:59 +00:00
Rodney W. Grimes
89bc97311a
xxxprobe now returns the correct number of I/O registers used so that
...
the probe output during boot gives the I/O range instead of just the
starting address
1993-08-28 03:02:52 +00:00
Andrew Moore
d20b621b11
Renamed some files that were giving SUP trouble.
1993-08-27 22:15:16 +00:00
Andrew Moore
0bca9fd9dc
Only a single slash (/) is now necessary to repeat a search as per Theo's
...
request. So the command:
/pattern/;/
finds the second line containing "pattern" after the current line.
Caveat: The commands `st' and `sr' are now both legal and have very
different meanings. This is because ed(1) extends POSIX to include the
old Berkeley syntax s[rgp]*.
(So should two slashes still be required in the case of the substitute
command, as SunOS ed does?)
1993-08-27 22:14:24 +00:00
Andrew Moore
6bef4df57c
prefixed inline functions' parameter names with _ and declared
...
the return type explicitly.
1993-08-27 05:09:38 +00:00
Rodney W. Grimes
17825e1736
Kernel support for ppp 1.3 + fixes
1993-08-27 02:10:12 +00:00
Rodney W. Grimes
5c25d42af9
Added usr/share/syscons.{fonts,keymaps} for the new syscons tools.
1993-08-27 00:55:53 +00:00
Rodney W. Grimes
22665bad1f
Added the following line to all the supplied config files to shut up the
...
config program until this thing is fixed correctly.
maxfdescs 2048 #Max file descriptors per process
1993-08-26 17:55:59 +00:00
Rodney W. Grimes
4d3ced8b84
Removed Chris D. added --unlink option since our tar does not understand
...
it.
1993-08-26 15:59:21 +00:00
Rodney W. Grimes
926c5ffbf3
Removed LOCATIME and TZDIR stuff since it is now handled correctly by
...
share/zoneinfo and was just duplicated here.
Fixed the directory owner ships on the inst1 floppy by adding all of the
directories that get created on the floppy to INST1_DIR, since cpio was
not picking up the source dir protections, but instead using the current
process uid, gid, and umask values.
Removed /bin/df from inst1 to make room for mount_pcfs. Also removed
/etc/disktab since it just got overwritten by the install tools.
Removed zcat from INST2_CPIO since it is now installed from the
INST2_FILES files on the floppy. This fixes things so that all
of the gzip tools get linked to the same image.
Much of the .if machine i386 stuff moved to be system independent
since it really was.
Added sd1 support to the inst1 and kc floppies. No room for wd1 support,
oh well.
Fix permissions on top level of floppy, it was not getting set.
1993-08-26 03:36:37 +00:00
Rodney W. Grimes
2b881de69a
Added a real ugle hack so that cat, tar and gzip tools used to do the
...
extract can be over writen. This is done by coping them to /tmp
before the extract begins, running them from /tmp, then removing them
after the extract has completed.
Removed all section about setting up sendmail.cf, since this was for the
old sendmail stuff and should not be required by the new sendmail.cf file
that is shipped with the system.
1993-08-26 03:23:20 +00:00
Rodney W. Grimes
95a36318cc
Removed mount -at ufs command, since it is now done by the .profile
...
file left by inst1.install.
Fixed cpio command so that it works with the new cpio that does not
ignore extra options.
Added echo's about building /dev files so the user knows it is doing something.
1993-08-26 03:20:28 +00:00
Rodney W. Grimes
f821ac3089
Added DEFBLOCKING to hold the default blocking factor after the question
...
has been asked once. Disabled the ability to have different blocking
factors on different partitions since this is known to trash the vm system.
Removed many extranious echo's of the users answers. This was probably put
in for debugging and never removed. It was quite confusing to my test users.
Added autoscan of disk for bad blocks for bad144 type disks using the new
bad144 -s option.
Renabled the asking for verbose installation. Why was this disabled??
Added creation of etc/disktab.install on the hard disk that is a copy
of the disktab used to create the disk with.
Added a mount -at ufs to the .profile so that all the diskpartitions get
mounted on first boot from hard disk, this is so commands that may have been
loaded into a seperate usr partition can be found.
1993-08-26 03:16:51 +00:00
Jordan K. Hubbard
6d946b2e52
The release version of my package install suite. Please see man pages
...
for info.
1993-08-26 01:19:55 +00:00
Andrew Moore
24a82630a2
adding fpgetround(3) IEEE floating point environment support
1993-08-25 09:01:44 +00:00
Rodney W. Grimes
ad49b43628
Changed prompt from "> " to "kc > " so that it does not look like the
...
halt prompt. Changed the prompt for destination of the kernel copy to
be "copy kernel to > " so that it is clear what it wants..
1993-08-24 19:55:16 +00:00
Rodney W. Grimes
905ee1678d
Fix so that unit number 1 is found again.
1993-08-24 19:41:58 +00:00
Steven Wallace
35a3da3475
Changed -r /fastboot to -e /fastboot. File just needs to exist for fastboot.
...
Otherwise, doesn't work for non-root owner of /fastboot.
1993-08-24 06:15:36 +00:00
Rodney W. Grimes
237fbcc806
Corrected off by 2 error in DELAY macro (it was delaying for 2 * value).
...
From Bruce Evans.
1993-08-24 01:24:43 +00:00
Rodney W. Grimes
f8851ba62f
Changed install -o root -g bin to -o ${BINOWN} -g ${BINGRP} on the header
...
install commands to be consistent with other header files.
1993-08-23 05:26:19 +00:00
Rodney W. Grimes
9f07bdff86
Added kc-kernel target that builds both GENERICAH and GENERICBT kernels.
...
Added kc-floppy that does the common part of building the kc floppies.
Added kc-bt-floppy to build GENERICBT kernel floppy.
Fixed kc-ah-floppy to use kc-floppy.
1993-08-22 10:20:05 +00:00
Rodney W. Grimes
f254020327
Some more small nits in the printf's fixed.
1993-08-22 10:00:16 +00:00
Rodney W. Grimes
2365e64f8b
New kernel config file for checking out the kernel sources. It does pulls
...
in every thing that is known to work, and a lot of things that don't!
1993-08-22 02:59:49 +00:00
Rodney W. Grimes
de3755e751
Moved if_we.c to be back in alphabetic order..
1993-08-21 23:52:36 +00:00
Rodney W. Grimes
452743e9f7
Update to be a clone of GENERICAH, but for syscons driver.
1993-08-21 23:48:06 +00:00
Rodney W. Grimes
a62a649d23
Added Id: string
1993-08-21 23:47:20 +00:00
Rodney W. Grimes
67126047f2
Updated GENERICAH to be more current, new kernel GENERICBT for bt/uha
...
systems cloned from new GENERICAH.
1993-08-21 23:46:42 +00:00
Rodney W. Grimes
c3e722894a
Removed patch kit header, added Id:
1993-08-21 22:24:24 +00:00
Rodney W. Grimes
6068842d3a
Removal of patch kit header, removal of old scsi as device, added Id:
1993-08-21 22:20:50 +00:00
Rodney W. Grimes
296cbdb15b
Fixed printf's so that they announce them selfs correctly (ie aha%d: before
...
every error message and every probe message).
1993-08-21 20:01:59 +00:00
Andrew Moore
c0bed0d8ae
more cleanup (e.g., root and swap partitions are mandatory, not root and /usr)
...
no functional change
1993-08-20 21:47:42 +00:00
Andrew Moore
aeb14f134e
added big loop to allow redoing the configuration
1993-08-20 18:07:39 +00:00
Rodney W. Grimes
3c742f974a
Added from: line to reference the pccons.c derivation of this code, otherwise
...
the BSD copyright would be very bad to have on this file.
1993-08-20 17:19:29 +00:00
Andrew Moore
104464e053
added default answers
...
changed units from sectors to cylinders
1993-08-20 17:17:04 +00:00
Rodney W. Grimes
12a53a9e4d
Enabled call to sddump so that if you have options SCSIDUMP in your kernel
...
you'll get to the dump code. If you don't trust this on your disk also
add option NOT_TRUSTED, that disables the dump code, but prints out what
it WOULD do it it was going to scrible on your disk.
1993-08-20 12:51:53 +00:00
Rodney W. Grimes
e5cf9f6134
Update scsi code to the latest from Julian. This code is now identical
...
to the last copy from Julian. After this commit I will be commiting the
local fixes and makeing diffs to send back to Julian so he can update his
code.
----
From julian@jules.DIALix.oz.au Thu Aug 5 09:25:23 1993
To: hd@world.std.com , julian@jules.DIALix.oz.au
Cc: nate@bsd.coe.montana.edu
Subject: Re: new scsi
----
From julian@jules.DIALix.oz.au Sat Aug 7 04:13:17 1993
To: hd@world.std.com (HD Associates)
Cc: nate@bsd.coe.montana.edu
Subject: Re: timeout diffs
Here are the diffs to take the scsi stuff to my latest tree from what
Nate and you received..
the changes remove all the local timeout stuff and use (un)timeout(),
----
From julian@jules.DIALix.oz.au Sat Aug 7 04:13:45 1993
To: hd@world.std.com (HD Associates)
Cc: nate@bsd.coe.montana.edu , briggs@csugrad.cs.vt.edu
here is a fix for a silly bug in the scsiconf I just sent out
and a similar fix for st.c
1993-08-20 09:23:30 +00:00
Rodney W. Grimes
b6105e6d2a
Update scsi code to the latest from Julian. This code is now identical
...
to the last copy from Julian. After this commit I will be commiting the
local fixes and makeing diffs to send back to Julian so he can update his
code.
----
>From julian@jules.DIALix.oz.au Thu Aug 5 09:25:23 1993
To: hd@world.std.com , julian@jules.DIALix.oz.au
Cc: nate@bsd.coe.montana.edu
Subject: Re: new scsi
----
>From julian@jules.DIALix.oz.au Sat Aug 7 04:13:17 1993
To: hd@world.std.com (HD Associates)
Cc: nate@bsd.coe.montana.edu
Subject: Re: timeout diffs
Here are the diffs to take the scsi stuff to my latest tree from what
Nate and you received..
the changes remove all the local timeout stuff and use (un)timeout(),
----
>From julian@jules.DIALix.oz.au Sat Aug 7 04:13:45 1993
To: hd@world.std.com (HD Associates)
Cc: nate@bsd.coe.montana.edu , briggs@csugrad.cs.vt.edu
here is a fix for a silly bug in the scsiconf I just sent out
and a similar fix for st.c
1993-08-20 09:21:40 +00:00
Rodney W. Grimes
3c4067ef4d
Update scsi code to the latest from Julian. This code is now identical
...
to the last copy from Julian. After this commit I will be commiting the
local fixes and makeing diffs to send back to Julian so he can update his
code.
----
From julian@jules.DIALix.oz.au Thu Aug 5 09:25:23 1993
To: hd@world.std.com , julian@jules.DIALix.oz.au
Cc: nate@bsd.coe.montana.edu
Subject: Re: new scsi
----
From julian@jules.DIALix.oz.au Sat Aug 7 04:13:17 1993
To: hd@world.std.com (HD Associates)
Cc: nate@bsd.coe.montana.edu
Subject: Re: timeout diffs
Here are the diffs to take the scsi stuff to my latest tree from what
Nate and you received..
the changes remove all the local timeout stuff and use (un)timeout(),
----
From julian@jules.DIALix.oz.au Sat Aug 7 04:13:45 1993
To: hd@world.std.com (HD Associates)
Cc: nate@bsd.coe.montana.edu , briggs@csugrad.cs.vt.edu
here is a fix for a silly bug in the scsiconf I just sent out
and a similar fix for st.c
1993-08-20 09:14:22 +00:00
Rodney W. Grimes
b648f67ad6
Moved /sys/scsi code files information to independed files file where it
...
should have always been.
1993-08-20 08:53:08 +00:00
Andrew Moore
5bb374bc76
patch 1of2 to prevent kill -1 syslogd from hanging the console
...
blindly applied patch provided by Christoph Robitschko:
*** cons.c.orig Sat Jun 12 07:57:53 1993
--- cons.c Thu Aug 19 22:34:53 1993
***************
*** 56,61 ****
--- 56,62 ----
#include "sys/tty.h"
#include "sys/file.h"
#include "sys/conf.h"
+ #include "sys/vnode.h"
#include "cons.h"
***************
*** 105,118 ****
--- 106,130 ----
(*cp->cn_init)(cp);
}
+ static struct vnode *cnopenvp = NULLVP;
+
+
cnopen(dev, flag, mode, p)
dev_t dev;
int flag, mode;
struct proc *p;
{
+ int error;
+
+
if (cn_tab == NULL)
return (0);
dev = cn_tab->cn_dev;
+ if (cnopenvp == NULLVP)
+ if ((error = getdevvp(dev, &cnopenvp, VCHR))) {
+ printf("cnopen: getdevvp returned %d !\n", error);
+ return(error);
+ }
return ((*cdevsw[major(dev)].d_open)(dev, flag, mode, p));
}
***************
*** 121,130 ****
int flag, mode;
struct proc *p;
{
if (cn_tab == NULL)
return (0);
dev = cn_tab->cn_dev;
! return ((*cdevsw[major(dev)].d_close)(dev, flag, mode, p));
}
cnread(dev, uio, flag)
--- 133,153 ----
int flag, mode;
struct proc *p;
{
+ int error;
+
+
if (cn_tab == NULL)
return (0);
dev = cn_tab->cn_dev;
! if (vcount(cnopenvp) <= 1)
! error = (*cdevsw[major(dev)].d_close)(dev, flag, mode, p);
! else
! error = 0;
! if (error == 0) {
! vrele(cnopenvp);
! cnopenvp = NULLVP;
! return(error);
! }
}
cnread(dev, uio, flag)
1993-08-20 05:46:09 +00:00