ws
ce516ff13d
Make FFS optional
1994-03-09 21:21:37 +00:00
mycroft
aab638bd07
Fix NS handling.
1994-03-09 17:19:10 +00:00
mycroft
3a57542a30
Back out previous change for now.
1994-03-09 07:58:39 +00:00
mycroft
229b0deb91
Fix #includes.
1994-03-09 07:37:08 +00:00
cgd
badabd0634
add I586_CPU at the suggestion of mike.long@analog.com
1994-03-09 02:57:21 +00:00
mycroft
a692d2185a
Inline spl*() calls.
1994-03-08 13:24:46 +00:00
mycroft
a618881dd7
#include cpu.h in all files which use spl*().
1994-03-08 12:21:10 +00:00
mycroft
1a53c20eaf
Inline a call to splhigh().
1994-03-08 11:59:41 +00:00
mycroft
49051114a6
Major cleanup and many bugs fixed; based in part on Brad Huntting's version
...
for BSD/386. More to be done when the low-level interrupt system is replaced.
1994-03-08 08:12:56 +00:00
mycroft
917559fb12
Add `com' softintr.
1994-03-08 06:57:28 +00:00
cgd
d5bc8cd801
cut and paste bit me.
1994-03-08 02:38:08 +00:00
mycroft
90f8ec1f8f
Some minor speed improvements; inspired by John Dyson's code.
1994-03-07 22:30:30 +00:00
mycroft
5a17003403
Some changes inspired by Bruce Evans's driver:
...
Consolidate error reporting in one function. Actually use the dk_status and
dk_error fields, and pass around only the error bit to avoid lots of unneeded
assignments and tests. No functional differences.
1994-03-07 05:54:44 +00:00
mycroft
991225bfc8
Remove DKFL_QUIET.
1994-03-07 03:18:35 +00:00
ws
581b6ca207
Don't let uninitialized variable slip by
1994-03-06 19:34:46 +00:00
mycroft
41cc9cb4f2
Better delay() from magnum branch.
1994-03-06 17:37:56 +00:00
mycroft
5f4063cc56
DELAY() --> delay(). This is not a macro.
1994-03-06 17:21:44 +00:00
mycroft
0c082bcaf8
DELAY() --> delay(). This is not a macro.
1994-03-06 17:18:43 +00:00
mycroft
87ed28e74e
Move the drive select and various other things into wdcommand(), to avoid
...
duplicating code.
1994-03-05 08:17:06 +00:00
mycroft
3e02952c52
Make sure we clear the interrupt when necessary. Why this isn't needed on
...
my hardware is a mystery.
1994-03-04 23:43:14 +00:00
cgd
b8d4a797fa
initialize the raw partition when creating a new disk label.
1994-03-04 23:22:33 +00:00
mycroft
652712272f
Add another missing splx().
1994-03-04 17:51:10 +00:00
mycroft
0f92f76ceb
Remember to splx() on some error conditions.
1994-03-04 17:45:22 +00:00
mycroft
ef3c1bf7e6
Start the timeout loop *after* we've decided there is a disk there.
1994-03-04 04:15:24 +00:00
mycroft
220512c2a8
De-ANSIfy. Move the timeout counter into struct disk. Remove unneeded args
...
to wd[gs]etctlr(). Other minor changes.
1994-03-04 03:43:48 +00:00
hpeyerl
499a02a6a9
New probe for 3c579's (EISA). EISA cards still don't work but I
...
have no idea when I'll be able to work on this next.
1994-03-04 01:31:50 +00:00
mycroft
9fc021a30e
Add a magic DELAY() in the reset sequence which causes the ITT 387 to not.
...
From Brian de Alwis.
1994-03-03 22:22:51 +00:00
mycroft
108cc16061
Move some code, but no functional difference.
1994-03-03 20:48:16 +00:00
mycroft
16d4233622
Add some comments explaining this ridiculous interface, and enable the reset
...
code by default.
1994-03-03 19:28:04 +00:00
mycroft
3bf0631a5e
Flush the keyboard buffer before and after the reset. This should now work
...
on all machines and keyboards.
1994-03-03 19:11:59 +00:00
mycroft
34115459a4
Upload the ether address to the card after a reset, per Matt Kimmel.
1994-03-03 15:30:27 +00:00
mycroft
fa396ad402
Watch `seek complete' bit per IBM documentation. Clean up wdioctl(). Other
...
minor cleanup.
1994-03-03 01:58:21 +00:00
mycroft
7b734f94ec
Be more careful about clearing the controller and drive active flags.
1994-03-02 23:27:13 +00:00
cgd
51a49b06ae
fix Id header
1994-03-02 23:23:04 +00:00
mycroft
37135f9686
Add 8003W and 8003EB, per David Greenman.
1994-03-02 22:47:36 +00:00
mycroft
21118b1bc4
Don't busy-wait for read or write completion.
1994-03-02 22:07:00 +00:00
mycroft
469206981a
Fix prototype of wdintr().
1994-03-02 21:43:42 +00:00
mycroft
e9326b3ba7
Make wdc_wait() do an implicit wait_for_unbusy(). Pass structure pointers
...
rahter than unit numbers where appropriate. Fix conflict if two drives have
I/O pending at the same time. Add some more sanity checks. Some other minor
cleanup.
1994-03-02 21:42:31 +00:00
mycroft
81de6fa982
Increment outbound packet count, per Matt Kimmel.
1994-03-02 16:23:23 +00:00
hpeyerl
a37cf2aecc
Make probe routines return amount of space used. Still needs some
...
work to determine difference between SB/SB-pro.
1994-03-02 16:23:10 +00:00
mycroft
b1ec7fd1c9
Add an IDE drive.
1994-03-02 10:40:16 +00:00
mycroft
a9e3e0dd28
Add more experimental probe gunk, not enabled.
1994-03-02 08:03:02 +00:00
mycroft
04d67df50c
Add mouse gunk.
1994-03-02 08:02:27 +00:00
mycroft
2292eadf37
Set the keyboard to scancode table 1 rather than having the 8042 convert.
1994-03-02 06:46:11 +00:00
mycroft
ab1474a681
Remove scantokey[] and extscantokey[], as they are not used.
1994-03-02 05:44:10 +00:00
mycroft
6ba1208b1d
Add code to set the translation table number, but disabled for now.
1994-03-02 04:38:26 +00:00
mycroft
2542f2a4a4
Clean up deleted files.
1994-03-02 04:19:12 +00:00
mycroft
165d9e602c
Fix the 790 interrupt table, per Christoph Robitschko.
1994-03-02 03:40:46 +00:00
mycroft
6902746df6
Attempt to insure the keyboard is enabled after reset, but turn off the entire
...
reset sequence by default since it causes some keyboards to become catatonic.
1994-03-02 00:57:35 +00:00
mycroft
b9dbe12a58
Check for acks and naks in X mode.
1994-03-01 18:30:13 +00:00