Commit Graph

72 Commits

Author SHA1 Message Date
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
mycroft
fcdbd2bd7b Remove outdated comment. 1995-01-16 10:36:26 +00:00
mycroft
2d5b04744a Don't assume ia_maddr is in the hole. 1995-01-02 20:06:29 +00:00
mycroft
9a3840f2f0 Stylistic changes. 1994-11-18 22:25:12 +00:00
mycroft
35cdd801e6 Convert port, IRQ, and DRQ numbers to ints. 1994-11-18 21:57:40 +00:00
mycroft
b341f7a8c0 Map IRQ 2 to IRQ 9. 1994-11-14 23:58:56 +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
9af4fee97d Use kvtop() rather than address arithmetic in a couple of places. 1994-11-04 08:55:53 +00:00
mycroft
1948fcb3fa Add a new function config_scan(), which just calls a particular function
with each plausibly cfdata, ignoring the priority mechanism completely.
1994-11-04 06:40:11 +00:00
mycroft
2e8ae560f6 Commit incest with the config system for this one specific case. 1994-11-04 03:57:32 +00:00
mycroft
fa769b0e97 Set ia_irq correctly. 1994-11-04 02:55:32 +00:00
mycroft
7773b21b74 Correct an oversight. 1994-11-04 00:53:06 +00:00
mycroft
d4dd538296 Oops; forgot isacd. 1994-11-04 00:07:39 +00:00
mycroft
3fca7e771a New version using standard config_*() functions. 1994-11-03 23:53:19 +00:00
cgd
022ee8f7fe new RCS ID format. 1994-10-27 04:14:23 +00:00
mycroft
236f105ccd Remove unneeded #includes. 1994-10-09 15:06:23 +00:00
mycroft
1eaa03e7dc Fix initial allocation of dev array, and simplify the code
slightly.
1994-10-07 09:08:29 +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
0ee51c2c8b Forgot to munge the #includes in last commit. 1994-05-03 20:32:22 +00:00
mycroft
884168ce49 Move beep junk to clock.c. 1994-05-03 08:23:55 +00:00
mycroft
2f66816d8b Rename two files. 1994-04-24 01:34:05 +00:00
mycroft
221b25fd9d Separate DMA functions. 1994-04-22 22:58:50 +00:00
mycroft
160fbf23ec Fix typo. 1994-04-21 04:26:37 +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
314bc1f5db Clean up #includes. 1994-04-03 22:50:14 +00:00
mycroft
5edb523880 Remove an old hack that now just causes a small memory leak during autoconfig. 1994-03-31 16:59:04 +00:00
mycroft
5eb99ad76e New autoconfig mechanism. Hacked at the moment to use old config(8), but
look mostly like config.new to drivers.
1994-03-29 04:34:18 +00:00
mycroft
d72e576cfb Rearrange top-level configuration to be more consistent. 1994-03-12 03:29:20 +00:00
mycroft
b8be52a88c Update for new config; handles subdevices differently. 1994-03-10 21:38:46 +00:00
mycroft
095308adeb Add isa_dmaabort(). 1994-03-10 18:14:32 +00:00
mycroft
3a57542a30 Back out previous change for now. 1994-03-09 07:58:39 +00:00
mycroft
a692d2185a Inline spl*() calls. 1994-03-08 13:24:46 +00:00
mycroft
41cc9cb4f2 Better delay() from magnum branch. 1994-03-06 17:37:56 +00:00
mycroft
0c082bcaf8 DELAY() --> delay(). This is not a macro. 1994-03-06 17:18:43 +00:00
mycroft
9091bc8257 Remove some dead code. 1994-03-01 18:22:52 +00:00
mycroft
7dd7c20604 Clean up DMA code. Mask and unmask channels. Warn if terminal count not
reached.
1994-03-01 18:16:33 +00:00
mycroft
8e023368fd Add clockmask. 1994-02-22 23:39:32 +00:00
mycroft
a8889484e3 Add clockmask. 1994-02-22 23:36:09 +00:00
mycroft
1a8d283a97 Move elink_reset() into a separate file, and add a generic elink_idseq(). 1994-02-16 17:59:11 +00:00
hpeyerl
19219795da Add common reset function so if_ep and if_ie don't reset each-other.
(this is a 3commonality)
1994-02-16 07:26:50 +00:00
mycroft
6cbf9be7da Use cpufunc.h only where (currently) needed. 1993-12-20 09:11:38 +00:00
mycroft
f2a0b4b335 Canonicalize all #includes, and add pio.h where appropriate. 1993-12-20 09:05:17 +00:00
mycroft
ea13c12adc From magnum branch:
Remove Jolitz's netisr kluge.  Make sure cpl == 0 really means base priority.
Other minor cleanup.
1993-12-17 00:10:06 +00:00
cgd
ab12bacae0 note that use of splnone() is prolly bogus; splnone() itself is bogus,
so it's use is.  8-)
1993-11-05 23:18:04 +00:00
brezak
62164fe535 Add find_isadev() and have sysbeep() use common defines. 1993-08-28 00:13:00 +00:00
cgd
e5ea45d312 there are some devices out there which use... NO I/O PORTS! 1993-08-08 09:54:23 +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
bab148ba4e delete inclusion of rlist.h again. grr. 1993-07-07 06:52:39 +00:00
deraadt
ceec40c98f clean up code for timeout/untimeout/wakeup prototypes. 1993-07-06 06:06:26 +00:00
cgd
2d53469109 get rid of extraneous inclusion of rlist.h 1993-07-06 00:31:52 +00:00