Commit Graph

129 Commits

Author SHA1 Message Date
mycroft fd156a97fa New i386 code. 1993-09-14 17:28:06 +00:00
davidg 1c880d62bf As of this revision, all known bugs have been fixed. Some of the fixes include:
1) fixed 3c503 lock-up if the thinwire cable was disconnected at boot time
2) 8013EBT boards now work (quite well!) in 16bit/16k mode
3) ED_NO_DOUBLE_BUFFERING flag now works
4) slightly higer performance (about 3%) with 16bit WD/SMC boards
5) support for WD8013WC (10BaseT) boards

   Additionally, the probe code has been reorganized to be much cleaner. This
revision of the driver is 1.25. The release notes have been updated as well.
1993-09-09 09:40:56 +00:00
mycroft 0535b6089e Avoid clash of struct ns_addr with #define ns_addr. 1993-09-06 18:30:39 +00:00
jtc 4475f55d8f Include systm.h to get prototypes (and possibly inlines) of *max functions. 1993-09-04 00:02:48 +00:00
deraadt 9aed375ba3 tty XXstart() routines return void 1993-08-29 13:46:31 +00:00
brezak 62164fe535 Add find_isadev() and have sysbeep() use common defines. 1993-08-28 00:13:00 +00:00
cgd 225917bfe6 0.9 "official" patch 001:
(1)	added support for ed1 in both generic kernels at:
	device ed1 at isa? port 0x250 net irq 9 iomem 0xd8000 vector edintr
(2)	brought if_ed.c up to DG's 1.19 rev.
1993-08-26 00:26:50 +00:00
cgd 4543c1ebfd changes from 0.9-ALPHA2 to 0.9-BETA 1993-08-23 04:59:38 +00:00
cgd e5ea45d312 there are some devices out there which use... NO I/O PORTS! 1993-08-08 09:54:23 +00:00
brezak 67dfce6728 Normalize play_msf changes with 386bsd patch. 1993-08-04 19:33:44 +00:00
brezak 80a965ba28 Add play_msf command and MSF variants. This is SCSI2 stuff and is needed for many flavors of player utilities. 1993-08-04 17:26:20 +00:00
glass 4a385c1228 with -Wall would bomb, on incomplete type 'selinfo'. bpfilter.h include
moved down, and select.h included.
1993-08-03 01:52:57 +00:00
mycroft 4862b84c92 Add RCS identifiers (this time on the correct side of the branch), and
incorporate recent changes in netbsd-0-9 branch.
1993-08-01 19:22:24 +00:00
cgd 7b2afa7fe6 incorporate changes from 0-9-base to 0-9-ALPHA 1993-07-28 02:20:34 +00:00
cgd 8141ce5d83 kill damned RCS Log 1993-07-19 16:58:20 +00:00
cgd 886f6afa56 Reading file marks or writing end of tape return 0 bytes, AND THEY
DON'T SET THE ERROR BIT ON THE BUFFER UNLESS THE AUTHOR OF PHYSIO
IS STUPID!
1993-07-19 16:44:38 +00:00
cgd 30c2a20262 patches from allen briggs to fix a minor bug in *attach() 1993-07-19 11:30:49 +00:00
mycroft 331148c31a Make these files GCC 2 happy. 1993-07-17 16:20:24 +00:00
deraadt 2ee2073a53 scsi_switch had wrong entries for these controllers... 1993-07-17 11:00:09 +00:00
mycroft ba408056a6 Use splnet, not splimp. 1993-07-13 21:53:06 +00:00
deraadt 6cc173695a moved bfdttach point to same place as other drivers, from greenman 1993-07-12 13:13:41 +00:00
mycroft 3be4221095 Change tty code to use clist interface, but with ring buffer implementation.
Also, fix a couple of bugs in tty.c and pccons.c, and some gross kluginess
in the hp300 stuff.
1993-07-12 11:36:53 +00:00
mycroft 0daaa4f16c Make splimp = splnet | spltty, and get rid of SLIP kluge for splnet and
spltty.
1993-07-11 14:03:51 +00:00
cgd cb880ccb94 fix evil interaction with new physio; don't set error bit for short reads. 1993-07-09 04:28:55 +00:00
deraadt 80dc38edb3 documentation error 1993-07-08 08:22:17 +00:00
deraadt 7afa674eb4 the "struct tty *cn_tty" field in cons.c wasn't being used by anything 1993-07-07 11:12:26 +00:00
deraadt 1eacd36710 pccons.c now dynamically allocates it's "struct tty"
cons.c's "struct tty *cn_tty" wasn't used by any of the kernel, and goes away.
1993-07-07 11:00:23 +00:00
cgd bab148ba4e delete inclusion of rlist.h again. grr. 1993-07-07 06:52:39 +00:00
deraadt 9bff90a5c1 added a timeout debugging mode to wd.c so that people can see how slow
their controllers really are. Look for the WDCNDELAY_DEBUG definition.
1993-07-07 05:50:35 +00:00
deraadt d670635e8b ok, 5 second command timeouts.. 1993-07-07 01:05:42 +00:00
deraadt ceec40c98f clean up code for timeout/untimeout/wakeup prototypes. 1993-07-06 06:06:26 +00:00
deraadt 86999439b2 number of changes:
1. controller reset code moved into one function, called from more places now.
2. more places now do timeouts. TIPCAT code turned on.
3. blew away the unused WDOPENLOCK test code.
4. delay is now done using WDCNDELAY repetitions of DELAY(25). Up to 2.5 second
   pause accepted from controller (some controllers have some commands that are
   actually this slow)
5. some of the old timeout code was really whacked.
1993-07-06 00:42:43 +00:00
cgd 2d53469109 get rid of extraneous inclusion of rlist.h 1993-07-06 00:31:52 +00:00
deraadt 2cb34d6d65 added a missing {/} pair that barsoom seems to have taken out, but
which the standard 386bsd 0.1 driver did have. This is for a piece of
code in the bad block handling. found/fixed by hpeyerl.
1993-07-05 04:44:48 +00:00
deraadt 3322c7b691 all timeout code now calls DELAY() so the timeout delays are the same
length on all processors. Where possible, the controller is reset if it
times out.
1993-07-05 03:20:57 +00:00
deraadt ed61b76822 increased the timeout inside wdcommand(). Some controllers impliment some
commands very slowly.
1993-07-05 00:08:27 +00:00
andrew 44b5013862 Reject non block-aligned transfers (where a block is 512 bytes in length);
they were causing scsi controller lockups.  Replace an occurrence of "512"
with SECSIZE, which is #defined to be 512.
1993-07-04 07:09:59 +00:00
cgd 7e940b55e0 add support for David Greenman "ed" driver 1993-07-03 12:21:07 +00:00
cgd d77e126ab2 add support for David Greenman's "ed" driver. 1993-07-03 12:19:36 +00:00
mycroft 3c4b913d33 Fix a bunch of things. 1993-07-01 00:24:09 +00:00
andrew f7dd4be020 Updated comments. 1993-06-30 04:13:34 +00:00
andrew 62442b4e98 Added com_scratch entry. 1993-06-30 04:04:24 +00:00
andrew 1b69e917eb ANSIfications. 1993-06-27 06:59:20 +00:00
andrew 51ac6a0997 ANSIfications. 1993-06-27 06:27:29 +00:00
andrew 0e6cb953ea ANSIfications - removed all implicit function return types and argument
definitions.  Ensured that all files include "systm.h" to gain access to
general prototypes.  Casts where necessary.
1993-06-27 06:01:27 +00:00
deraadt 277c73694e print "maddr 0xd0000 msize 65536" as "maddr 0xd0000-0xdffff" instead. 1993-06-20 07:24:53 +00:00
cgd d1ed63195d fix the divide-by-zero problem w/old disks. this patch is ws's "fault." 1993-06-18 20:45:35 +00:00
brezak ebfdfc5b8a Silence size complaint at probe. 1993-06-17 12:18:29 +00:00
andrew 280a747d4e woops - another typo. 1993-06-16 10:39:35 +00:00
deraadt 1311db833c whoops. typo. 1993-06-16 04:31:37 +00:00