Commit Graph

208 Commits

Author SHA1 Message Date
cgd
7a83b5d468 some cleanup for -Wall 1996-07-11 03:30:11 +00:00
cgd
0cefc7ef74 clean and update for new defintions, prototypes, etc. 1996-07-09 00:53:48 +00:00
cgd
386aeb320f clean up copyright notices 1996-06-13 18:31:49 +00:00
cgd
2d9140fb20 add definitions and code to support use of multiple I/O and _dense_
memory regions.
1996-06-11 21:25:25 +00:00
cgd
d714189d53 implement bus_mem_subregion() and bus_io_subregion(). 1996-06-11 21:16:21 +00:00
cgd
9aa03f4dd9 update for changed definitions in ciareg.h 1996-06-10 00:04:53 +00:00
cgd
2465bd00e5 store HAE_MEM and HAE_IO register contents in the cia configuration
structure, and add prototypes for the bus_{mem,io}_init() functions.
1996-06-10 00:03:59 +00:00
cgd
55cbf94f22 read value of HAE_MEM and HAE_IO, so that the bus_* functions can
do window recognition correctly.
1996-06-10 00:02:31 +00:00
cgd
9198817ce3 update for new memory window handling in pcs_bus_mem_common.c. 1996-06-10 00:01:09 +00:00
cgd
c247b24843 add definitions used to figure out how PCI/EISA/ISA memory regions are
mapped.
1996-06-09 23:59:38 +00:00
cgd
df2ba1e245 add support for mapping multiple memory windows. This is necessary
for mapping ISA/EISA 'hole' memory on the AlphaStation 600.
1996-06-09 23:57:45 +00:00
cgd
8df74fa62a wrap __STRING() in a #define so that its argument, which must be
expanded by the preprocessor, will be.  Problem pointed out by Matt
Thomas.
1996-06-09 23:49:24 +00:00
cgd
ebe3a58f01 pull down changes from NetBSD 1.2 release branch:
>Update for present reality (function names), clean up a bit (printfs,
>"panic: foo XXX"), and fix a couple of printf format specified bugs
>(which were normally #if 0'd out).  Inspired by Multia/UDB support
>changes sent by Matt Thomas.
and:
>changes from Matt Thomas so that the Multia/UDB can attach its
>'com' interrupts, cleaned up some.  Basically: if sharing type of
>new interrupt is different than what the hardware is currently set up
>for (e.g. requesting edge-triggered and the hardware is set up by
>the PROM for level triggered) and there are no interrupt handlers on
>that line already, warn about it and use the hardware type that the
>line was already set for (to avoid making the console blow up on
>reboot).  If same circumstances but there is already a handler, panic
>as before.
1996-06-05 22:52:34 +00:00
cgd
37ec86f0cc avoid lots of upper-case letters in interrupt names. prettier that way. 1996-06-05 03:38:02 +00:00
cgd
c6dd609e7f gross hack to get around the fact that there are currently devices with
common back-ends that live on multiple very-different busses (e.g. PCI and
TC), which need bus-specific DMA mapping support.  As a nice side effect,
this will allow the especially nasty (vtophys(va) | 0x40000000) expressions
to go away in favor of less nasty bus-specific function calls.
1996-06-03 20:18:48 +00:00
cgd
59cdf4331e clean up some, and use new sioreg.h 1996-04-23 14:15:55 +00:00
cgd
8253c155fe hanges from Trevor Mendez <tmendez@bbn.com> to use new sioreg.h
header.  Also, I moved the LCA_SIO_DEVICE definition higher up in the
file.
1996-04-23 14:15:28 +00:00
cgd
84da7b5f97 Intel 82378 System I/O (SIO) Chip register defintions, cleaned up a
bit from a version supplied by Trevor Mendez <tmendez@bbn.com>.
1996-04-23 14:10:53 +00:00
cgd
e9bbf69ff6 Changes from Trevor Mendez <tmendez@bbn.com> to add definitions of a
couple of registers useful for debugging.
1996-04-23 14:03:46 +00:00
cgd
fea5e372e6 Corrections from hardware manual, from Trevor Mendez <tmendez@bbn.com>.
Adds comments and sets IOC_CONF correctly (it's write-only!).
1996-04-23 14:00:53 +00:00
cgd
7458364702 Implement the I/O read/write-multiple functions for chipsets
that use this file (APECS, LCA, and CIA).
1996-04-18 05:53:04 +00:00
cgd
0b0a8bfe15 fix bug in pcivga_erasecols() that would cause garbage to be spit out.
other minor style cleanup.
1996-04-17 21:49:58 +00:00
cgd
21ac0b2a36 update for new ISA/EISA/PCI/'bus' interfaces. Untested 1996-04-13 00:24:30 +00:00
cgd
161623e54e add (untested) support for EISA busses hanging off of PCEBs. 1996-04-13 00:23:34 +00:00
cgd
f32c94e82c note that these IRQs are ISA IRQs 1996-04-13 00:22:58 +00:00
cgd
c0b2b5595c Replace with completely new version derived from APECS code. No serious
bugs to fix (that i know of), just doing it that way was easiest.
1996-04-12 23:37:10 +00:00
cgd
56a6e33bb6 "Do over." Throw the old file away, replace it with a version hacked
from the current apecs_pci.c.  This new version hopefully works for
the same sets of devices that that previous one did, and hopefully
will work for multi-function devices and for secondary PCI busses as
well.  (looking at the code, there was no way the old one could have!)
1996-04-12 23:27:05 +00:00
cgd
576c769331 clean up copyrights and RCS IDs 1996-04-12 06:07:05 +00:00
cgd
eb4de32615 Set up and pass isa chipset tag to ISA bus, when attaching.
Should do the same for EISA, when that support is finished.
1996-04-12 05:43:02 +00:00
cgd
98c183ff49 remove (hack) version of isa_intr_establish() 1996-04-12 05:41:50 +00:00
cgd
931ec3829c partially update for new ISA/EISA/PCI and 'bus' interfaces. not yet
complete, or tested.
1996-04-12 04:40:49 +00:00
cgd
c6af4505f1 implement 'bus' functions for the CIA chipset. 1996-04-12 04:40:01 +00:00
cgd
647469cfbc update for new ISA/EISA/PCI and 'bus' interfaces. 1996-04-12 04:38:33 +00:00
cgd
125eefcd67 implement APECS and LCA 'bus' functions, and share them between the
two chipsets, since they're the same.
1996-04-12 04:36:12 +00:00
cgd
04645aa7ad chipset 'bus' functions that seem to be common to all host bus
adapters that exist in single-CPU systems.  APECS, CIA, and LCA
all use this, but with different #defines.
1996-04-12 04:34:59 +00:00
cgd
ba7bbf8c30 update for new PCI, etc., interfaces 1996-04-12 04:33:06 +00:00
cgd
be813334f8 (mostly) update for new PCI and 'bus' interfaces. 1996-04-12 04:32:10 +00:00
cgd
b26a595361 update for new PCI, etc., interfaces. 1996-04-12 04:31:48 +00:00
cgd
caa9d61d58 add indirect register definitions. 1996-04-12 04:31:08 +00:00
cgd
7b08107723 update for new PCI code, etc. As yet, untested. 1996-04-12 04:30:11 +00:00
cgd
f357f1b38a partially update for new PCI & bus macros. update to deal with new
console glue.  Split out RAMDAC-specific code into seperate files.
1996-04-12 02:13:09 +00:00
cgd
a52d1c3efe clean up for new ISA and 'bus' code, etc. 1996-04-12 02:11:22 +00:00
cgd
f0a062ba62 replaced by files in ../wscons 1996-04-12 02:02:06 +00:00
cgd
89579980e6 this has moved to ../include 1996-04-12 02:01:51 +00:00
thorpej
08607bc611 New device attachment scheme:
- split softc size and match/attach out from cfdriver into
	  a new struct cfattach.

	- new "attach" directive for files.*.  May specify the name of
	  the cfattach structure, so that devices may be easily attached
	  to parents with different autoconfiguration semantics.
1996-03-17 01:03:02 +00:00
mycroft
3da4b2a160 The IST_* and IPL_* constants are not bus-specific; don't treat them as such.
Change splimp -> splnet in Ethernet, ARCnet, and FDDI drivers.
1995-12-24 02:29:35 +00:00
cgd
deb4082f80 wholesale update from my NetBSD/Alpha source tree. Includes:
Support for AXPpci CPUs,
	Support for AlphaStation 600 CPUs,
	new boot block structure, which requires an 'installboot'
	    program and works a lot like the NetBSD/sparc boot blocks.
1995-11-23 02:33:17 +00:00
cgd
60d53ca3d9 oops; trim some bogus 1994's from copyrights 1995-08-03 01:12:15 +00:00
cgd
0e899183c9 MB -> wbflush 1995-08-03 00:46:52 +00:00
cgd
c296ddcd85 move some of the most important configuration code into a seperate
function, so that it can be called from early bus config code.
1995-08-03 00:44:57 +00:00
cgd
99dd0b8fc8 i/o mapping, kill some trash, map cacheable mem in dense PCI mem space 1995-08-03 00:42:25 +00:00
cgd
14388e344a Brooktree bt485 register definitions. should be MI, but didn't want
to shove my names down others' throats (yet).
1995-08-03 00:40:49 +00:00
cgd
132ad46ef5 "Workstation Console" glue code. Badly "needs chainsawed."
Should be better integrated into autoconfig.  Also, interface should
be designed rather than cobbled together...  Nasty, but it Works.
needs things like ability to pass ioctl()s down to components, ability
to mmap() things, etc.
1995-08-03 00:39:58 +00:00
cgd
9a0323c873 PCI VGA support. should be MI, but not yet 1995-08-03 00:35:55 +00:00
cgd
5413c73bec support for DEC 21030 (TGA) boards -- at this time, only the ZLXp-E1 works 1995-08-03 00:34:25 +00:00
cgd
beeaf64fd6 i/o map function dispatch, console picker function 1995-08-03 00:33:58 +00:00
cgd
721de847a4 need i/o map function pointer 1995-08-03 00:33:29 +00:00
cgd
549f126f4b ISA and PCI support for DEC AlphaStations 1995-06-28 01:24:50 +00:00