Jordan K. Hubbard
73787aa3f2
This should stop the false probes in their slimey little tracks.
1994-03-05 03:54:19 +00:00
Andrey A. Chernov
3b2acd20e0
1) My previous fix does nothing, now Rod's fix rewrited to implement
...
my previous fix too (using wdp_heads controller value) and check
0 heads case too.
Other fixes from Bruce:
2) Fix dk_timeout from 2 to about 4 seconds.
3) wdcontrol not retried on internal error.
4) wdwait return check changed ( "!=0" to "<0" into wdsetctlr,
"<0" to "!=0" into wdgetctlr).
1994-03-04 16:43:07 +00:00
Guido van Rooij
79bdab6c87
Ttys structures are now allocated dynamically via ttymalloc/ttyfree.
...
This inetrface should be used from now on.
pseudo device pty xx still keeps its meaning: a maximum of
xx ptys is allowed.
A ringbuffer is now 2040 bytes long, per Garrett Wollman's request.
The changes are inspired by the way NetBSD did it (thanks for that!),
though I made it slihghtly different, including the interface so
at least 75% of the allocated space is deallocated when the tty is
closed.
Note further that it is easy to modify the ringbuffer length runtime.
This will have to wait untill some later date...
-Guido
1994-03-02 20:28:38 +00:00
Andrey A. Chernov
b0568305d3
360 DD entry speed fixed to 250KBPS
1994-03-02 18:34:41 +00:00
Andrew Moore
56ef028575
floppy tape support shouldn't interfere with floppy disk driver on
...
systems with no floppy tape drive (patch from Jim Babb).
1994-03-02 08:10:42 +00:00
David Greenman
2fd57dbc38
Minor comment change.
1994-03-02 05:50:01 +00:00
Andreas Schulz
3b25168637
Added the missing bzero after the malloc in aha1542.c that seems to
...
produce the mbox not free messages on many systems. Bug reported from
hd@world.std.com .
1994-03-01 16:06:37 +00:00
David Greenman
38ff12a4b9
Fix from Christoph Robitschko: the '790 interrupt table was wrong.
1994-03-01 12:23:33 +00:00
Poul-Henning Kamp
bfbc1f09d4
RTS shouldn't be touched unless CS_RTS_IFLOW is set.
1994-02-26 00:04:03 +00:00
Andrey A. Chernov
3932675839
Better fix for >16 heads problem, right value from
...
controller restored.
1994-02-25 23:17:40 +00:00
Poul-Henning Kamp
e3757377ff
TIOCTIMESTAMP capability. The port in question must be configured with
...
"vector siointrts". Thus only a compare is added for the other ports.
1994-02-24 16:39:48 +00:00
Rodney W. Grimes
5086a82862
Fix off by one error
1994-02-23 11:14:26 +00:00
Rodney W. Grimes
97687d1b3d
More clean up of the drive Id string, trancate trailing spaces.
1994-02-22 22:13:37 +00:00
Rodney W. Grimes
1004b0634c
The model string can be 40 bytes long with no terminating null, so
...
convert all nulls to spaces and then print it with a %40s.
1994-02-22 18:51:27 +00:00
Rodney W. Grimes
e583b89dfa
Cleanup the lptprobe and lpt_port_test routine to be KNF.
1994-02-22 09:05:13 +00:00
Rodney W. Grimes
41553a650d
This is Jordans probe code fixes. Tested on LU002, FX001D. Then I went
...
in and cleaned the spaces vs tabs up, and made the code a little closer
to KNF.
1994-02-22 08:44:31 +00:00
Rodney W. Grimes
1ffa0b1a96
>From: "Andrew A. Chernov" <ache@freefall.cdrom.com>
...
Subject: Bugfix for SB16 with DSP version 4 and above
No description sent, but it appears to fix a major number problem
with certain models of the SB16.
1994-02-21 14:20:45 +00:00
Rodney W. Grimes
84a161c5f1
Clean up dmesg output so that it matches the scsi stuff.
...
Small hack, if heads > 16, output a warning and then set the head
count to 16. This stops the infinite loop on this error and allows
people to later fix the DOS parameter table later with fdisk.
1994-02-21 12:32:33 +00:00
Rodney W. Grimes
2da7751051
Protect some printf's with #ifdef DEBUG
1994-02-21 05:45:06 +00:00
Andrey A. Chernov
5503c7e948
Fix bug with DSP ver2.0, frequency reduced from 44100 to 22050
1994-02-20 09:37:27 +00:00
Rodney W. Grimes
4568df5233
I (rgrimes) cleaned the code up some, mostly just format stuff.
...
>From: csgr@alpha.ru.ac.za (Geoff Rehmet)
Date: Wed, 16 Feb 1994 21:28:06 +0200 (GMT+0200)
New version of lpt, most of the brokenness fixed.
1994-02-17 10:20:18 +00:00
Rodney W. Grimes
f2ba1017cc
Increase the timout on aha_send_mbox from 1ms to 3ms, needed to reliably
...
run Exabyte 8505 on 1742's. This may not be the final solution, but it
makes it work. It may be better to change the DELAY(10) to DELAY(30)
inside the loop instead of increasing the loop count from 100 to 300.
1994-02-17 05:48:08 +00:00
Nate Williams
a60eff2770
From: Jim Babb <babb@sedhps01.mdc.com>
...
Date: Mon, 14 Feb 94 15:57:14 CST
This adds a copyright to the fdc.h file and fixes a bug in re-tries
during writes on a heavily loaded system.
1994-02-14 22:24:28 +00:00
Nate Williams
56cc87f5d9
From: Jim Babb <babb@sedhps01.mdc.com>
...
Subject: Bug Fix for ft.c - please commit
Date: Mon, 14 Feb 94 10:22:54 CST
This fixes a bug where the system can crash if the tape is used
after the floppy has been used.
1994-02-14 19:22:34 +00:00
Nate Williams
b21df1d16c
Added third parameter to wdwait which contains the amount of time to
...
'wait' based on suggestion by Rod in -hackers.
No functional change as all the TIMEOUTS are identical currently, but
this will probably change.
1994-02-11 12:02:35 +00:00
Andrew Moore
9c2638e6dc
Tentative fdc patches...
1994-02-07 22:12:45 +00:00
Andrey A. Chernov
63ba5191a4
Change all siointr (expect in Vsio, of course) to comintr1
...
This saves two commands per each direct comintr1 call,
allows some strict check in siointr and also
fix bug with suspended output on multiport cards
1994-02-07 18:37:21 +00:00
David Greenman
958896a15f
Fixed bug in probe that was causing it to always probe true.
1994-02-07 15:46:22 +00:00
Andrey A. Chernov
2803eb968a
Add "wdx: not found" diagnostic missed in previous commits
1994-02-07 15:40:38 +00:00
Andrew Moore
b99f0a4a8d
Add floppy tape driver - fd => fdc
1994-02-07 04:27:13 +00:00
David Greenman
5ef457fa81
Nuke bogus error message
1994-02-07 04:20:57 +00:00
David Greenman
ab377d1e00
From: Chris Wiener <cwiener@CRLABS.COM>
...
When the keyboard is probed, the LED's blink quickly and
"Keyboard reset failed" is printed on the console. The
init routine keeps trying endlessly with the same behavior
as above.
I got the latest -current sup sources (06-Feb-94 12:00 GMT) to work using the
old syscons.c. The following patch makes the new syscons work:
1994-02-07 02:14:27 +00:00
David Greenman
102cfb5c3e
At the suggestion of Bruce Evans, don't zero RTC diag register. Doing so
...
was causing problems for some machines.
1994-02-06 22:48:13 +00:00
Jordan K. Hubbard
becfc6cb74
Gunter Jung's fixes for the much-maligned lpt driver
1994-02-06 22:06:58 +00:00
Andreas Schulz
8a683b0d28
Fixed up the compiler warnings.
1994-02-06 17:03:17 +00:00
Andrey A. Chernov
4eab82a59a
1) Proper fix for suspended output in multiport case
...
2) IIR_NOPEND is really *one* bit, we don't need to check whole MASK
1994-02-06 11:59:35 +00:00
Rodney W. Grimes
51c16d62df
Update for new format of cd_toc_entry that was changed in sys/cdio.h.
1994-02-06 11:33:25 +00:00
Rodney W. Grimes
069968bf50
Increase the TIMEOUT value that keeps getting nuked to 300 mSEC, I set it
...
to 1.1 secounds this time (ie, TIMEOUT=10000).
1994-02-06 02:56:11 +00:00
Christoph Robitschko
52fda4247e
Make the screen savers runtime switchable. Everybody wants a
...
different default saver, and the size increase in the kernel is
minimal ( < 2.5K ).
1994-02-04 10:36:15 +00:00
David Greenman
49255f96cb
if_ep.c: removed netisr.h, fixed unconverted ep_ac, changed <> into ""
...
for include files.
if_ed, if_ie, if_is: don't include netisr.h.
1994-02-03 11:51:12 +00:00
Andrey A. Chernov
cd08e4cab2
Make BLANK_SAVER default to stop best saver war.
1994-02-02 23:10:55 +00:00
Andrey A. Chernov
04af1a4e41
Fix error in multiport part:
...
while input char not entered, output was suspended
1994-02-02 16:41:26 +00:00
David Greenman
f5645fe75b
Added 8003EB board type. Clue from Gerard J van der Grinten (gvdg@cdc.com)
1994-02-02 14:05:58 +00:00
David Greenman
769cb45b8e
Added type code for 8003W.
1994-02-02 02:24:42 +00:00
Nate Williams
10a0cecedc
Moved paren in sgetc to where it belongs. (My fault, I must have wiped it
...
out when I applied the patch to get the new features by hand)
1994-02-01 19:04:18 +00:00
Rich Murphey
20fabfa95d
Add missing arg to Debugger() call.
...
Add missing close paren in sgetc() definition.
1994-02-01 15:09:10 +00:00
Andrey A. Chernov
7745b4472a
Make old SNAKE_SAVER code compile with new syscons changes.
1994-02-01 11:13:49 +00:00
Andrey A. Chernov
cb2d71d5ea
1) Restore removed SNAKE_SAVER (Nate, WHY you do it?)
...
2) Make SNAKE_SAVER like default, if no saver specified in "options"
3) Remove #ifdef STAR_SAVER before line /* make screensaver happy */
this code needed in any case.
1994-02-01 10:43:02 +00:00
Andrey A. Chernov
ebbb18695a
Russian keymap is broken after last commit (fixed)
...
Nate, please, be more careful next time.
1994-02-01 09:27:43 +00:00
Andrey A. Chernov
12228508ab
Comment #define STAR_SAVER, it is configuration "options"
1994-02-01 08:30:45 +00:00