Commit Graph

2750 Commits

Author SHA1 Message Date
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 676007bcd2 Don't do TIOCHPCL if !COMPAT_43. In the new world, you use termios. 1994-03-05 22:42:54 +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 fd0320c5dc update to syscall.master (for sysconf) 1994-03-03 14:15:53 +00:00
deraadt d6976aca70 DoH! 1994-03-03 14:15:25 +00:00
deraadt ae535bfeb6 first cut at a SUNOS_COMPAT sysconf() system call. 1994-03-03 14:08:25 +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
paulus 7c687a255f msdos filesystem now works on big-endian machines. 1994-03-03 00:51:30 +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
deraadt da17512980 make vn driver work either way 1994-03-02 20:05:58 +00:00
ws 442e944127 Correct handling of ST field (+some minor reformatting) 1994-03-02 19:05:20 +00:00
ws ae33a75671 Correct (de-)blocking in readlink 1994-03-02 19:04:29 +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