pk
7d244351cf
Add `evcnt' field.
1995-05-04 19:43:27 +00:00
cgd
5d25b2c50e
machine-independent definitions for the Motorola MC146818A Real Time Clock
...
and compatible chips, including the Dallas Semicontuctor DS1287A.
This chip is used in PC's, DECstations, and Alphas, at least...
1995-05-04 19:31:18 +00:00
mycroft
825d2fee22
Add Masahiro SEKIGUCHI's MB8696[05] driver, ported, with some additional
...
changes by me:
* Make autoconfiguration work correctly for more models of AT1700.
* Make the debugging code more robust and complete.
* Tweak the output routine for better performance, and to eliminate an ugly
kluge.
Various other style cleanup. Needs more work.
1995-05-01 02:47:07 +00:00
hpeyerl
c9319ad5c4
<break> --> ddb if defined(comconsole).
...
(if you have a serial console and you hit break, you get ddb).
1995-04-28 00:34:08 +00:00
pk
8d90aefeb0
New audio driver from Rolf Grossmann.
1995-04-25 20:05:32 +00:00
pk
6404739df8
AMD9730 telephony chip (used to be sparc/dev/bsd_audioreg.h).
1995-04-24 19:17:17 +00:00
mycroft
bfab570cda
Add constants for some keyboard controller commands.
1995-04-21 09:16:16 +00:00
mycroft
9e28a35469
Fix thinko in previous change.
1995-04-19 22:04:33 +00:00
mycroft
53d73c77a5
Garbage collect #includes.
1995-04-19 19:10:35 +00:00
mycroft
e1315808a7
Implement comtty().
1995-04-19 18:59:27 +00:00
cgd
8a640328ed
clean up several ISA device interfaces: autoconfiguration, header
...
inclusion, and interrupt configuration. more work still needs to be done,
but it's getting better...
1995-04-17 12:06:30 +00:00
cgd
edc749be89
cleanup; mostly KNF.
1995-04-15 10:35:24 +00:00
chopps
ed0da4a701
couple small changes plus a new watchdog timer from Ignatios Souvatzis <is@beverly.rhein.de>
1995-04-14 16:57:19 +00:00
mycroft
d57b9b75ba
Take endianness into account in ed_ring.
1995-04-12 16:12:42 +00:00
chopps
a04aa1397a
fix up some changes
1995-04-11 18:51:55 +00:00
mycroft
893d53414a
Sync with the rest of the world. Various additional cleanup.
1995-04-11 05:46:53 +00:00
mycroft
8d8af964a7
Move NIC register definitions to a global location.
1995-04-11 04:45:26 +00:00
mycroft
6e9015b37a
This is deprecated.
1995-04-11 04:44:44 +00:00
mycroft
d4b1924adb
LANCE register definitions, plus some utility macros for the machine-
...
independent driver.
1995-04-11 04:17:50 +00:00
mycroft
24a8feea65
Adjust for endianness, and move CHAN_[AB] out of here.
1995-04-11 02:35:18 +00:00
mycroft
9b0d3f54e8
Move this into a generic location.
1995-04-11 02:29:25 +00:00
mycroft
95c5c4f79f
Most of the console functions return void. Also change interrupt logic
...
slightly.
1995-04-10 01:05:55 +00:00
mycroft
0e67f2a78e
Rename a few constants to match the chip documentation.
1995-04-04 01:59:28 +00:00
mycroft
9085715229
Some pseudo-random cleanup, and try to start transmitting packets quicker.
1995-04-03 21:17:13 +00:00
briggs
0884490297
KERNEL -> _KERNEL.
1995-03-29 21:56:46 +00:00
jtc
7c04233887
KERNEL -> _KERNEL
1995-03-26 20:23:52 +00:00
chopps
a55b765dd3
some cleanup..
1995-03-02 09:12:27 +00:00
chopps
e3c2563328
Fixup (c)'s and ids.
1995-03-01 11:34:02 +00:00
chopps
2ef7b2e7db
new arcnet (2060) device from is@Beverly.Rhein.DE (Ignatios Souvatzis)
1995-02-28 22:03:59 +00:00
mycroft
e9c2b98c11
Comment a potential bit of lossage.
1995-02-02 21:08:42 +00:00
mycroft
8abb91e18d
Various:
...
* Make synchronous negotiation work.
* Use the bitbucket when the target requests too much data.
* Loop in aicintr() until we get to a state where we have to wait.
1995-02-01 21:49:37 +00:00
mycroft
ab5662014f
Correct some more of the synchronous stuff, and omit it completely if
...
AIC_USE_SYNCHRONOUS is 0.
1995-02-01 16:56:42 +00:00
mycroft
4653b28a42
Various:
...
* Always enable disconnection.
* Add some more per-controller variables: initiator ID, clock frequency,
min and max sync period.
* Correct sync period calculations.
* Remove sc_progress.
* Move most of the reselection handling into a separate function.
* Remove some outdated comments.
* Remove message bytes from FIFO even when dropping them on the floor.
* Some cosmetic cleanup.
1995-02-01 16:11:43 +00:00
cgd
3a7bbb1acd
lip service to making ISA support machine-independent. This is the first
...
round: moving the drivers into a machine-independent directory.
Some drivers (e.g. fd.c) not moved because they use other pc features (e.g.
CMOS settings), and none of the non-driver files moved, because they're
still pretty much PC specific. eventually (when other ports with ISA
busses really start using this code), more 'high-level' ISA support will
live here.
1995-01-29 07:36:54 +00:00
cgd
f11e7e33fe
use chip headers in /dev/ic
1995-01-29 02:58:20 +00:00
mycroft
c5d5ca8150
Don't check the control port at all; too unreliable.
1995-01-26 07:35:49 +00:00
mycroft
57f2c598c7
Various changes from Rafal Boni to improve performance and reliability. Also,
...
clean up the formatting a little more.
1995-01-23 04:50:08 +00:00
mycroft
3dddacd1ce
Rearrange tests so `offline' has higher priority than `out of paper'.
1995-01-22 00:12:39 +00:00
mycroft
87d587e640
Simplify some sanity checks.
1995-01-13 14:46:44 +00:00
pk
0a22930d97
Explicitly test the RXRDY status bit on incoming characters.
1995-01-11 09:56:40 +00:00
mycroft
37e16c5747
Don't print line numbers in most of the diagnostics.
1995-01-07 06:49:35 +00:00
mycroft
7f61bec5cd
Cosmetic changes, to look more like the new esp.c will.
1995-01-07 01:51:07 +00:00
mycroft
6125e1b551
Fix oversight in previous.
1995-01-04 00:47:53 +00:00
mycroft
b5cf1b5ddd
Add interrupt sharing types.
1995-01-03 01:30:14 +00:00
mycroft
76b0b02cc3
Fix non-serious typo.
1994-12-31 05:34:00 +00:00
mycroft
8fd135209c
Numerous changes. Many bugs fixed, better autoconfig, a few new features.
1994-12-28 19:42:47 +00:00
mycroft
5584ff927f
Don't stall the queue on CHECK SENSE if we get a reselect while selecting.
1994-11-30 02:08:01 +00:00
mycroft
639a64de08
Fix a null pointer reference.
1994-11-29 21:35:13 +00:00
mycroft
51bed8d804
Add an assertion mechanism to check for more abnormal conditions.
1994-11-29 21:29:56 +00:00
mycroft
58cb5339d6
For consistency...
1994-11-29 20:57:28 +00:00
mycroft
41b26a6dfd
Handle BUS FREE phase a little differently, to get better error detection. Other
...
cleanup.
1994-11-29 20:08:27 +00:00
mycroft
bb90feebac
Disable debugging breakpoints by default.
1994-11-29 17:56:49 +00:00
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