mycroft
b03c4f17ca
Remove two bogus splx()s.
1994-03-14 13:32:56 +00:00
hpeyerl
936ff09fcd
Fix for trailer support reported by <sommerfeld@orchard.medford.ma.us>
1994-03-14 06:57:25 +00:00
mycroft
fe3d0b99c3
Prefix the busy-wait messages with `ignore this:' so people stop reporting
...
it as a bug.
1994-03-12 22:36:40 +00:00
mycroft
9ab5683dc7
Fix problem with reading the disk label if it's not at the beginning of the
...
disk.
1994-03-12 22:32:48 +00:00
cgd
39f57c7820
copy appropriate hardware config bits from config's flags
1994-03-12 08:04:19 +00:00
cgd
86ac0459be
fix some of the last; thanks to charles for looking it over...
1994-03-12 07:43:03 +00:00
cgd
c38cf8e43e
support new ioctls. fix the way CRTSCTS is used, etc. Seperate 'hardware'
...
and 'software' flags. beginnings of multiport support.
1994-03-12 07:25:16 +00:00
mycroft
15d0f84500
Fix bug in last change.
1994-03-12 04:10:03 +00:00
mycroft
15d758c39a
Remove backward compatibility hacks for config(8), as they are no longer
...
useful.
1994-03-12 03:45:03 +00:00
mycroft
d884f7c425
Update to match config(8).
1994-03-12 03:34:02 +00:00
mycroft
d72e576cfb
Rearrange top-level configuration to be more consistent.
1994-03-12 03:29:20 +00:00
mycroft
119f3ea688
Various:
...
Put WDF_ERROR in the wdc_softc, to avoid gratuitously forcing non-active drives
into single-sector mode on the next transfer. Arrange to wait for an interrupt
after wdsetctlr(); this avoids long busy-wait delays, and gets rid of the
`extra interrupt' messages (except for one immediately after autoconfig on some
machines). Replace some uses of wdsetctlr() with simply lowering wd->sc_state;
no point in forcing this immediately. Allow control operations to time out.
Enable the warnings for long busy-wait delays by default. Some other minor
things not worth mentioning.
1994-03-11 23:29:12 +00:00
mycroft
99dbc0692d
Add a heuristic for detecting old config(8)s. This is very temporary.
1994-03-10 22:30:06 +00:00
mycroft
390f5990bb
Now that the disk probe routines are actually called, they need to return
...
something.
1994-03-10 21:52:07 +00:00
mycroft
b8be52a88c
Update for new config; handles subdevices differently.
1994-03-10 21:38:46 +00:00
mycroft
367c93feb4
Updates to match config(8).
1994-03-10 20:52:09 +00:00
mycroft
0c19458c6f
More updates for new config.
1994-03-10 20:05:30 +00:00
mycroft
aa45779df7
Update for new config.
1994-03-10 19:57:20 +00:00
mycroft
095308adeb
Add isa_dmaabort().
1994-03-10 18:14:32 +00:00
mycroft
e4102b8797
Cleanup to fit standard coding conventions, and *many* bugs fixed.
1994-03-10 05:18:33 +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
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
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
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
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
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
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
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
165d9e602c
Fix the 790 interrupt table, per Christoph Robitschko.
1994-03-02 03:40:46 +00:00