rgrimes
914dc32d8f
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
rgrimes
b722f788aa
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
rgrimes
587a02a332
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
rgrimes
76c1049755
Changed MAXSSIZ from MAXDSIZ to 2MB
1993-08-28 09:19:01 +00:00
rgrimes
b783e47251
Revised headers from Julian. Support for generic scsi.
...
Better audio support
1993-08-28 03:10:05 +00:00
rgrimes
bb7686bc5d
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
rgrimes
f4f821656d
Revised drivers from Julian.
1993-08-28 03:07:44 +00:00
rgrimes
0c08aacc04
Added support for scsi/sg.c as cdev major 18.
1993-08-28 03:06:59 +00:00
rgrimes
d389a11306
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
alm
3d93ce434a
prefixed inline functions' parameter names with _ and declared
...
the return type explicitly.
1993-08-27 05:09:38 +00:00
rgrimes
3362e19b02
Kernel support for ppp 1.3 + fixes
1993-08-27 02:10:12 +00:00
rgrimes
f3592fa457
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
alm
19f81735f5
adding fpgetround(3) IEEE floating point environment support
1993-08-25 09:01:44 +00:00
rgrimes
127481a7fb
Fix so that unit number 1 is found again.
1993-08-24 19:41:58 +00:00
rgrimes
fec9785d4c
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
rgrimes
18960feff9
Some more small nits in the printf's fixed.
1993-08-22 10:00:16 +00:00
rgrimes
f7409da95a
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
rgrimes
556032a16c
Moved if_we.c to be back in alphabetic order..
1993-08-21 23:52:36 +00:00
rgrimes
ac97117503
Update to be a clone of GENERICAH, but for syscons driver.
1993-08-21 23:48:06 +00:00
rgrimes
64d85541e3
Added Id: string
1993-08-21 23:47:20 +00:00
rgrimes
4ea7064203
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
rgrimes
e2240ed220
Removed patch kit header, added Id:
1993-08-21 22:24:24 +00:00
rgrimes
fb4bc63bad
Removal of patch kit header, removal of old scsi as device, added Id:
1993-08-21 22:20:50 +00:00
rgrimes
7617a0440c
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
rgrimes
600802b515
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
rgrimes
629ddb0624
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
rgrimes
cf0a4c9f20
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
rgrimes
2970641bb3
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
rgrimes
c34e1cd617
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
rgrimes
13c3434c96
Moved /sys/scsi code files information to independed files file where it
...
should have always been.
1993-08-20 08:53:08 +00:00
alm
86178533d7
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
alm
ca482e23cf
added Bustek 545 support (patch from Christoph Robitschko):
...
*** aha1542.c~ Thu Aug 19 14:25:33 1993
--- aha1542.c Thu Aug 19 14:25:49 1993
***************
*** 954,959 ****
--- 954,960 ----
printf("aha%d:",unit);
#define PRNT(x) printf(x)
#endif __386BSD__
+ DELAY(1000); /* for Bustek 545 */
aha_cmd(unit,0, sizeof(conf), 0 ,&conf, AHA_CONF_GET);
switch(conf.chan)
{
1993-08-19 21:32:59 +00:00
rgrimes
e22df49c23
Fixed poor timeout code in out_fdc. The timeout counter was not being
...
reinitialized between while loops. Added comments about what was going
on in the out_fdc routine.
out_fdc now returns if the direction bit is not set in time instead of
trying to wait for MRQ to get cleared.
1993-08-12 09:21:20 +00:00
rgrimes
773148e7ce
Removed one more reverence to the old Adaptec 1542b as.c driver, one less
...
dependent for autoconf.c.
1993-08-10 10:18:33 +00:00
rgrimes
0b65374368
Finish removal of reminents of as.c Adaptec scsi driver.
1993-08-09 19:02:21 +00:00
rgrimes
f604686b22
Moved _eintr{names,cnt} so that vmstat -i does not report all the debugging
...
stuff of the fast interrupt code.
1993-08-09 18:20:26 +00:00
rgrimes
6533a77e90
Removal of support for old scsi as.c driver, removal off old unneeded
...
kernel config files since AH?TEST are now supported by GENERICISA,
and the others used the old as driver they are no longer valid.
1993-08-09 14:39:37 +00:00
rgrimes
95c4372f76
From guido@gvr.win.tue.nl Sat Aug 7 06:58:04 1993
...
I posted some patches on the 386bsd_patchkit list to prohibit io access.
Because of a noninitialised filed in the tss, this was possible.
It is included below as the patch to machdep.c
However, when you do this *necessary* fix (security), it will be
impossible form within user space to do io.
therefor, I included another fix: when you open /dev/io, you
get the access. Of course you can rewrite it to use another minor
and thus giving access to the iospace when /dev/mem is opened, e.g.
NOTE: The /dev/io entry has not been added to /dev/MAKEDEV yet.
The patch is in NetBSD.
1993-08-09 06:16:42 +00:00
rgrimes
355f5f9e0e
Fixed for DQFLQUIET flag from: Terry Lee <terry@uivlsisd.csl.uiuc.edu>
...
I submitted the part of patch00155 that fixes wd.c not reporting any
bad blocks. Unfortunately, the patch created a new problem that makes new
installations using that kernel impossible. I have included a patch below that
should fix both problems. The fix comes from Tom Ivar Helbekkmo's wd driver
(the Norway wd driver). I've also eliminated the use of the DKFL_QUIET flag
completely, since it is not used anymore.
Fixed wdgetctrl routines for so that it returns a meaniful string for
non IDE disk drives. It also nolonger returns success when a drive is
not really there.
1993-08-08 07:03:21 +00:00
rgrimes
06eedd4f1f
Removed the asking for a root file system when booting from floppy as that
...
is now handled by the new boot blocks immediatly after the kernel is loaded.
1993-08-08 06:24:15 +00:00
rgrimes
8dcdb66b78
Added printf for cases AHB_ASN (async even notification) and AHB_HW_ERR so
...
that we are notified when these events occur. This may lead us to the
cause of certain AHB timeout/lockup problems.
From: Roy Neese of Adaptec
1993-08-08 04:46:37 +00:00
rgrimes
13366311d6
Removed tabs from the front of XXU: messages to make it fit the other
...
messages closer. Added missing new line to the message about to many
scsi cd drives.
1993-08-06 12:11:52 +00:00
rgrimes
bed38c22db
Fixed **probing for scsi devices** message to have a controller and unit
...
message on the begining of it:
aha0: **probing for scsi devices**
1993-08-06 11:59:06 +00:00
nate
f0d11b6bf5
Fix the problem where newvers gets called every time make is run on
...
the kernel.
1993-08-04 23:51:59 +00:00
dg
c4e3d1f069
* Fixed problem where some rev 8013EBT boards want the DCR_LS flag
...
* set in order to work in 16bit mode.
Seems also to improve performance by 15%! (?!) I think there might
be more to this flag than the manual says.
1993-08-02 10:36:05 +00:00
jkh
28587823d0
Whoops - try again. Include safeties.
1993-07-30 10:57:09 +00:00
jkh
23476fb8a1
Now have very necessary include safety checks
1993-07-30 10:51:58 +00:00
jkh
2366a82233
Updated syscons to 0.2b - please test this! It won't be in the ALPHA
...
release, but it's still worth testing.
1993-07-30 02:20:26 +00:00
jkh
9c1c8ff17c
Free'd up major number assigned to codrv.
1993-07-30 00:57:06 +00:00
jkh
a066a8dd00
Removed entries for codrv, nuked sample config file since no longer necessary.
1993-07-30 00:56:31 +00:00