Commit Graph

1693 Commits

Author SHA1 Message Date
glass
bffafd64b8 interrupt.s 1994-03-09 05:00:20 +00:00
cgd
badabd0634 add I586_CPU at the suggestion of mike.long@analog.com 1994-03-09 02:57:21 +00:00
phil
28a4cae003 Changes to add a real console driver. 1994-03-08 19:47:51 +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
chopps
a891b3ef78 Little bit of cleanup, didn't go near the GNU stuff aside from function
deeclaritors.
1994-03-08 10:48:47 +00:00
chopps
e89d0f4875 fix typo. 1994-03-08 10:30:16 +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
chopps
0cea66c536 cannot conditionally reserve spots for lkm devices. 1994-03-08 08:12:49 +00:00
chopps
25cfe143da first get it to compile with DDB. 1994-03-08 07:52:07 +00:00
chopps
d0f3004632 added .include <bsd.prog.mk> hopefully clears up problem with
some make targets.
1994-03-08 07:36:26 +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
glass
7df1653c73 change receive freq 1994-03-06 04:38:55 +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
deraadt
120a1bbccd cut and paste hell 1994-03-05 02:26:39 +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
chopps
54fa15b809 That comment at least needed fixing now. Also changed some buffer
sizes to more reasonable ammounts.
1994-03-04 13:53:48 +00:00
chopps
32d1d2b36a 1 pounds of coffee, 6 packs of smokes and a couple pizzas.
This is for backup purposes only.  It works in a hacked up
user-mode setting.  I have to get ddb working with amiga's to
test this any further though.  I tested the main opcodes pretty
much, not too much testing on the fpu ops and it printed pflusha :^)

major externally visible changes still planned.
1994-03-04 13:44:30 +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
pk
d16ac2d7d6 undo last change; bug was already fixed 1994-03-03 16:14:57 +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
deraadt
c0cf4434ea kbd is now a pseudo-device 1994-03-03 13:17:14 +00:00
deraadt
d4bbe75640 delete unneeded printf 1994-03-03 12:23:26 +00:00
deraadt
49adc2f4c2 bug fix torek sent me ages ago 1994-03-03 12:23:00 +00:00
deraadt
afbbc16f69 fix rcsid 1994-03-03 12:22:04 +00:00
deraadt
e592a9cb39 fix comment 1994-03-03 12:19:13 +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