mycroft
5ac2484d95
* Redo most of the message and phase state machines. Multiple pending
...
message outs should now work correctly (including retransmissions).
Multiple messages ins should be more efficient. Missing REQ after
reselection phase should now (correctly) cause a wait with ENREQINIT
set.
* Abstract out the reselection out sequence, and use it directly to
get sense info. (This is somewhat faster than the generic done/sched
sequence.)
* If there are no ACBs available, wait interruptibly for one.
* Leave the interrupt registers alone during message in/out; just
watch for phase change. Don't (incorrectly) reenable interrupts
during data in/out; defer that to aicintr().
* Handle command pointer per SCSI 2 spec.
* Other minor coding improvements.
1994-11-29 17:50:39 +00:00
mycroft
cba32aa25f
Minor update for new autoconfig.
1994-11-25 08:17:21 +00:00
mycroft
2058abab15
Forgot to commit this as part of the LBA changes.
1994-11-23 07:56:52 +00:00
mycroft
db3bde9525
Implement EIDE multi-sector PIO and DMA modes, based on code from Onno van
...
der Linden. Also, various structural cleanup, and fix two bogons that crept
in, and remove all of the old clustering nonsense.
1994-11-22 09:33:59 +00:00
mycroft
e1a7bac628
Change some constant names, etc., to better match the ATA spec.
1994-11-22 05:34:49 +00:00
mycroft
35cdd801e6
Convert port, IRQ, and DRQ numbers to ints.
1994-11-18 21:57:40 +00:00
mycroft
4ec6774e12
Add a simplified version of wdcommand() that can be used in some cases.
...
Avoid needing a wd_softc inside wdprobe().
1994-11-04 23:18:06 +00:00
mycroft
b7acf321cd
No longer needs icu.h.
1994-11-04 18:59:34 +00:00
mycroft
29414c5a0a
Change all of the uses of IRQ{0-15} and bit masks to use plain numbers
...
rather than bit shifting.
1994-11-04 18:34:50 +00:00
mycroft
ebbdd6473b
Update to match autoconfig code.
1994-11-03 23:26:03 +00:00
mycroft
54cc63645d
Update to match autoconfig code.
1994-11-03 23:08:27 +00:00
cgd
6ac2bbfc35
be more careful with types, also pull in headers where necessary.
1994-10-30 21:43:03 +00:00
cgd
022ee8f7fe
new RCS ID format.
1994-10-27 04:14:23 +00:00
mycroft
556a119342
Implement *cnpollc().
1994-10-26 18:06:30 +00:00
cgd
320359f8e2
change, requested by Jarle Greipsland
1994-10-17 00:08:29 +00:00
mycroft
c7003d37d3
Only reset FIFO if changing baud rate. From John Kohl (slightly edited).
1994-09-16 02:50:39 +00:00
mycroft
5e4a51278b
Set the FIFO threshold based on the receive speed, per Mark Weaver.
1994-08-24 07:25:18 +00:00
mycroft
71c5da7bfb
Fix typo in WDCS_BITS.
1994-08-22 21:43:35 +00:00
mycroft
8b8390a4bb
Look for MDMBUF in cflag, not lflag.
1994-08-21 15:04:37 +00:00
mycroft
061c42c22d
Minor update.
1994-08-08 07:09:31 +00:00
mycroft
59de58a39b
Count up the silo overflows and only log a warning at most once per minute.
1994-08-07 11:27:51 +00:00
mycroft
9c8afcf191
Avoid using DFIFOHF, which doesn't exist on 6260 chips. Turn off
...
AIC_USE_DWORDS by default.
1994-08-07 10:51:40 +00:00
mycroft
8a9df6389d
Bug fixes from Mark Weaver.
1994-07-31 11:34:38 +00:00
mycroft
a69dd750a2
b_un.b_addr -> b_data
1994-06-16 01:07:30 +00:00
mycroft
37c76e16d1
Only print the blasted messages *once* per error.
1994-05-27 08:54:52 +00:00
cgd
e47989d1e5
turn off spontaneous printing of messages when DEBUG turned on
1994-05-23 02:33:23 +00:00
mycroft
685508a6b4
Remove now-bogus cast.
1994-05-05 07:52:53 +00:00
cgd
a0a7429482
lots of changes: prototype migration, move lots of variables, definitions,
...
and structure elements around. kill some unnecessary type and macro
definitions. standardize clock handling. More changes than you'd want.
1994-05-05 05:35:42 +00:00
mycroft
36a9bcce8d
Fix argument to aic_sched_msgout() is several places, and condense some code.
1994-05-03 08:20:43 +00:00
cgd
e0db92993a
change timeout/untimeout/wakeup/sleep/tsleep args to void *
1994-04-29 23:15:51 +00:00
mycroft
fc844e1797
Style nits.
1994-04-26 03:43:26 +00:00
mycroft
62773fc6f8
Add Adaptec 6360 driver from Jarle Greipsland, with some changes by me.
1994-04-26 00:05:56 +00:00
mycroft
eb036e74c5
Don't need isa.h.
1994-04-22 23:02:40 +00:00
cgd
e872e13605
allow MDMBUF flags to be set (oops)
1994-04-10 10:29:06 +00:00
mycroft
3f5e4f423f
Implement dynamic IRQ configuration and IRQ sharing. Inline spl*() calls.
...
Reorganize and clean up the relevant code.
1994-04-07 06:48:19 +00:00
mycroft
592ec61b17
Updates for new autoconfig.
1994-03-29 04:35:37 +00:00
mycroft
008f13bb69
Fix off-by-one error in comopen() unit number sanity check. From Brian de
...
Alwis.
1994-03-25 04:38:01 +00:00
mycroft
4cc5b77bfa
Some stylistic cleanup, and a very minor speedup.
1994-03-23 03:01:50 +00:00
cgd
c6b399cce8
add AST-style serial multiport support, from Roland McGrath
...
<roland@@frob.com>. Needs light clean by Mr. I386, but mostly
OK. For some reason, Bad Things (TM) happened on the last cvs commit.
1994-03-23 01:28:23 +00:00
cgd
456e197d26
add reasonable support for MDMBUF output flow control. input to be done later
1994-03-18 05:13:26 +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
e4102b8797
Cleanup to fit standard coding conventions, and *many* bugs fixed.
1994-03-10 05:18:33 +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
0c082bcaf8
DELAY() --> delay(). This is not a macro.
1994-03-06 17:18:43 +00:00
mycroft
469206981a
Fix prototype of wdintr().
1994-03-02 21:43:42 +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
a3735835a3
New constants for setting and clearing masks.
1994-03-01 18:18:07 +00:00
mycroft
7408373b25
Speed it up a little...
1994-02-19 03:36:12 +00:00
mycroft
06dbad88db
Minor tweak of no importance.
1994-02-19 02:43:53 +00:00
mycroft
5f76c23bdf
Combined version from magnum branch. Somewhat faster and less buggy.
1994-02-18 19:50:56 +00:00
mycroft
b8e893f885
Add proc arg to wdioctl() proto.
1994-02-11 04:44:30 +00:00
mycroft
bbb3e7618c
All ioctl routines take a struct proc * now.
1994-02-09 21:06:46 +00:00
cgd
73f7c1d72e
oops
1994-02-01 04:38:03 +00:00
cgd
b452451cfe
new cons.h location, etc.
1994-02-01 03:42:08 +00:00
ws
18673da28a
Traditional behaviour is to reset all modes if device isn't open already
1994-01-30 16:41:27 +00:00
mycroft
33a067f307
Junk comselect(); it's the same at ttselect().
1994-01-13 14:58:12 +00:00
mycroft
f2a0b4b335
Canonicalize all #includes, and add pio.h where appropriate.
1993-12-20 09:05:17 +00:00
mycroft
2f5635f70b
A slightly unfinished i82586 driver, based on Garrett Wollman's.
1993-11-08 20:15:31 +00:00
andrew
13a48b8263
Goes with the new cy driver.
1993-10-06 09:27:27 +00:00
cgd
4a21fe3648
ifdef out the ttyfree()'s, so that fill_eproc doesn't panic when
...
a process's session still holds a ref to a tty which has been deallocated
and reused.
1993-09-29 02:36:21 +00:00
cgd
b85a24ec4e
get rid of stray printfs (turn them into "lprintf"s)
1993-09-28 21:26:59 +00:00
deraadt
9aed375ba3
tty XXstart() routines return void
1993-08-29 13:46:31 +00:00
mycroft
331148c31a
Make these files GCC 2 happy.
1993-07-17 16:20:24 +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
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
andrew
62442b4e98
Added com_scratch entry.
1993-06-30 04:04:24 +00:00
mycroft
528edf6037
Move definitions of TIMER_FREQ to timerreg.h, and fix value of CF for DELAY().
1993-06-15 21:37:14 +00:00
mycroft
5592ad3fbb
Ignore interrupts if the device isn't open. This prevents stray interrupts
...
from hosing the works. What a stupid architecture.
1993-06-15 01:50:32 +00:00
cgd
f1b8c74730
make getc() and ungetc() be rb{un,}getc(), so getc() and ungetc()
...
don't conflict w/ansi prototypes...
1993-06-06 23:04:42 +00:00
cgd
9d6a908bb7
patch from rgrimes to add delay to let data port stabilize, also
...
make "lpflag" unique to each driver
1993-06-05 22:58:29 +00:00
deraadt
2f0c0eb674
tty dynamic allocation
1993-05-26 10:06:41 +00:00
cgd
fe1802950b
add include of select.h if necessary for protos, or delete if extraneous
1993-05-22 11:40:42 +00:00
cgd
30177b538f
add rcsids to everything and clean up headers
1993-05-22 07:56:12 +00:00
cgd
8d6c77881c
make kernel select interface be one-stop shopping & clean it all up.
1993-05-18 18:18:40 +00:00
cgd
5220c82b50
fix lpt driver and add lpa driver. from 386bsd pk patch 133
1993-05-07 05:38:55 +00:00
glass
034707f9e5
fixed to be compliant, subservient, and to take advantage of the newly
...
hacked config(8)
1993-04-10 12:04:35 +00:00
cgd
fa76d62392
have probe return size of io space on successful return, rather
...
than simply 1.
1993-04-09 16:43:56 +00:00
deraadt
b9bd4b25de
dmesg output at boottime now tries to print out information as
...
soon as it is available. The output looks much more like Sunos.
1993-04-08 08:26:46 +00:00
cgd
c32e85d3c3
moved closing #endif to include comselect
1993-03-27 09:24:42 +00:00
cgd
f23291fb78
added support for microtime routines by Steve McCanne (mccanne@ee.lbl.gov)
1993-03-23 08:12:09 +00:00
cgd
e541169ce2
after 0.2.2 "stable" patches applied
1993-03-21 18:04:42 +00:00
cgd
61f282557f
initial import of 386bsd-0.1 sources
1993-03-21 09:45:37 +00:00