Commit Graph

16 Commits

Author SHA1 Message Date
nisimura 582e9de235 - Have SYS_DEV_xxx device cookie symbols to select and install proper
interrupt handlers into intrtab[] array, rather than the idea of devices
  in 'psuedo' TURBOchannel slots.
- Nuke symbols for psuedo TC slots.
- Abandon never/unlikely used intr_disestablish()s.
2000-02-29 04:41:47 +00:00
ad ba79e0aab8 Make consistant with the new order. 2000-01-14 15:52:00 +00:00
simonb bdf420bdbf Redo interrupt establishment, based in part on work on the
[nisimura-pmax-wscons] branch and suggestions from Toru Nisimura:
 - Remove bogus tc_slot_info[] name for interrupt handling array
   and replace with simplified struct intrhand  intrtab[] array.
 - Add intr_establish() and intr_disestablish() function pointers
   to struct platform and initialise this in each model-specific
   initialisation, and remove global tc_enable_interrupt function
   pointer.
 - Remove model-specific function declarations from ibus/ibusvar.h.
This is functionally identical to the current scheme, and doesn't
yet try to commonise interrupt establishment by bus type as the
[nisimura-pmax-wscons] branch does.

Also, move cpuspeed variable from autoconf.c to machdep.c
2000-01-14 13:45:21 +00:00
simonb 24ddcc3162 Use the badaddr() prototype in mips/include/cpu.h by including
<machine/cpu.h> in mips/include/mips_param.h.  Remove duplicate
badaddr() prototypes from some pmax header files.
2000-01-09 13:24:14 +00:00
simonb ee075b7de7 Function prototype cleanup. 2000-01-08 01:02:35 +00:00
thorpej 298f4b27f4 Make separate device lists for the 3100 and 5100, and add a way to probe
for optional `dc' devices on the 5100.
1999-11-24 00:04:06 +00:00
thorpej 98e19f8e0e Add an `addr' locator to the `ibus' bus. This allows you to wire down
unti numbers on systems which have e.g. multiple `dc' devices on the
internal bus (like the 5100).
1999-11-23 20:07:34 +00:00
simonb 95d4e16c43 Remove function declarations already declared in ibusvar.h and
fix typo in dec_3100_intr_*() declarations.
1999-11-19 04:34:01 +00:00
nisimura dad420bf58 Move declarations of 3100/5100 ibus interrupt establishment routines
to ibusvar.h
1999-11-19 03:15:28 +00:00
nisimura dab18ce266 A file which escaped from 11/15 jombo commit work. 1999-11-17 00:10:00 +00:00
simonb dc1d3940db Nuke register and remove trailling white space. 1999-04-24 08:01:01 +00:00
nisimura 6335e6c176 - Rearrangement for TC decoupling with some typo fixes. 1999-03-15 07:52:05 +00:00
nisimura 210ea7eabe - Decouple "ibus" from TURBOchannel.
- Nuke mainbus_softc definition (it's empty).
1999-03-15 07:43:05 +00:00
jonathan e9441f3a72 Garbage-collect obsolete "field" intpri from ibus_attach_args.
clean up initalizers to use  correct, in-range values for ia_cookie,
which is what  ibus children passed down to ibus_intr_establish.
1998-10-23 23:01:44 +00:00
mrg 6b1d637705 add "int" type to interrupt handler typedefs (egcs warning) 1998-08-29 16:15:11 +00:00
jonathan d4a24f85d6 Support shared Decstation 3100 and Decsystem 5100 baseboard devices
using a virtual "ibus" for  baseboard devices.
1998-04-19 02:52:45 +00:00