Commit Graph

150 Commits

Author SHA1 Message Date
chopps 5ad7f31079 udpate to match ifnets new use of sys/queue.h 1995-06-27 13:13:32 +00:00
briggs a68aae96fc David Leonard (leonard@dstc.edu.au) noticed an embedded comment
delimiter in a comment within a #define (ZSWR14_DTR_REQ).  Inserted
spaces in case someone wants to use this define at some point.
1995-06-19 13:15:08 +00:00
mycroft d9fc8ef092 Remove check for if_addrlist == 0; if_attach() always puts one address on
the list, so this is a noop.
1995-06-12 00:09:42 +00:00
cgd d4f62dcb69 update from Ignatios Souvatzis 1995-06-07 00:13:52 +00:00
mycroft 4bfd7749ad Various:
* Check for CTS in the correct register.
* Only do a selwakeup() if we output something.
* Don't make assumptions about what TTYDISC does.
1995-06-05 19:08:09 +00:00
cgd 89c30bb2e3 do the right thing with fixed-size types. 1995-06-05 00:49:45 +00:00
cgd c71cccacde kill old Id and Log. add NetBSD Id 1995-06-05 00:46:30 +00:00
cgd 551bcffab9 dc21040 driver, from Matt Thomas 1995-06-05 00:38:18 +00:00
mycroft 5b37a8fded Handle BREAK correctly when not entering DDB. 1995-06-04 20:50:14 +00:00
mycroft 38847d04c0 Add an input FIFO, and fix several flow control problems. Based on code from
Felix A. Croes.
1995-06-04 20:39:22 +00:00
jtc d045544ebd Changed ns82450 to ns8250 and dropped ns82550 from probe console messages. 1995-06-01 21:26:51 +00:00
mycroft addaff473b Only use the `no pending interrupt' bit in the IIR; the other bits
are too unreliable on clone chips.
1995-05-28 03:26:37 +00:00
cgd c821cb684a (1) conditionalize debugger usage in comeint with DDB, not COMCONSOLE;
latter would lead to undefined symbols if DDB not defined.
(2) check for break on console, and therefore debugger entry (if ddb
	in kernel) earlier, so that the device doesn't need to be open.
(3) return immediately after breaking into the debugger in comeint().
(4) only do the normal character input routine in comintr if receive
	mask yeilds _EXACLTY_ LSR_RXRDY.  if there's only a receive
	error, or there's a receive error _and_ a received character,
	do comeint().
(former two by me.  latter two from Bob Baron <rvb@cs.cmu.edu>.)
1995-05-12 17:54:41 +00:00
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