Commit Graph

11507 Commits

Author SHA1 Message Date
thorpej
a155715d44 Add a driver for the Apollo Utility Chip (a.k.a. "frodo"), contributed
by Mike Smith <mike@pressed.spam.frisbee.net.au>, with some changes to
the autoconfiguration model and slight changes to the interrupt glue
by me.
1997-05-12 08:03:48 +00:00
thorpej
2392fb2a1c Bump version: Added APCI console support 1997-05-12 07:58:08 +00:00
thorpej
83c63bd2de - Always build a romout() stub.
- If kbdnmi() returns, stop cold, since it shouldn't.
1997-05-12 07:56:00 +00:00
thorpej
f39885279b - Define INTIOBASE here for use by the standalone programs.
- Add some extern's for "userom" and romputchar()
1997-05-12 07:54:45 +00:00
scottr
61322b7b85 KNF and other cosmetics. 1997-05-12 07:53:58 +00:00
scottr
bfc4c6c42d Whoops; here's the rest of the Deferred Task Manager changes. 1997-05-12 07:53:04 +00:00
thorpej
4e0ee78444 - Always build the romputchar() glue.
- Don't set "userom" in the trap handler (we didn't before, but we've
  removed the previous CPP conditional that was used to enable it.)
1997-05-12 07:53:02 +00:00
thorpej
eac0352a9e In kbdnmi(), after we have cleared the interrupt condition, reset
the machine, rather than simply returning to the assembly NMI handler.
Previously, the assembly handler would simply jump back to begin:, which
would frob the stack, and re-clear the BSS.  However, this is not sufficient,
as there may be state in initialized data that must be restored.  Thus,
the only reasonable solution is to re-load the boot block.
1997-05-12 07:51:32 +00:00
thorpej
c25bfe1365 Don't use hardcoded hex for the address of the internal HP-IB interface.
Instead, use definitions from <hp300/dev/dioreg.h>
1997-05-12 07:48:23 +00:00
thorpej
82ae3a106e Don't use a hard-coded hex address for the 0'th APCI port; use definitions
from <hp300/dev/frodoreg.h>
1997-05-12 07:47:03 +00:00
thorpej
0c5b002449 Add prototypes for standalone APCI driver. 1997-05-12 07:45:41 +00:00
thorpej
05333d3fa5 - Add glue for standalone APCI console driver.
- Make the romputchar() useage conditional only on "userom".
1997-05-12 07:44:53 +00:00
thorpej
225fbfa100 Build the standalone APCI driver. 1997-05-12 07:43:18 +00:00
thorpej
bbbc6052c1 Add a standalone APCI driver, adapted from the standalone DCA driver
by me.  This driver should only be invoked when there are no other
suitable console devices present in the system.  This situation currently
exists on the 425e, for which we do not have a frame buffer driver,
and who's PROM does not map the second APCI UART to select code 9,
like is done on the 4{00,25,33}{t,s}.
1997-05-12 07:41:55 +00:00
scottr
5842491f1c Add en implementation of the Deferred Task Manager, contributed by Paul
Goyette <paul@pgoyette.bdt.com>.
1997-05-12 07:29:29 +00:00
scottr
ee80f1200e Implement new NuBus slot space mapping/probing code, utilizing bus.h (and
our MD bus_space_probe() extension).  This has several side effects:

 - NuBus drivers must map and unmap slot space, rather than relying
   on this happening before they are attached.
 - Functions exported to NuBus drivers from nubus.c now need to be
   supplied with a bus space tag/handle pair.
 - Old bus map/peek functions can be garbage collected, as can pmap
   support for the same.

Because of some current limitations of the bus space specification, we
are violating the abstraction in grf_mv (NuBus grf driver).  All such
violations are clearly marked /* XXX */, and must be addressed when
the specification is updated.
1997-05-11 19:11:27 +00:00
jeremy
1c454cc472 Diagnostic LED on 3/80 appears to be active-high, not active-low as previously
thought.  It remains to be seen if this is true for the 3/470.
1997-05-11 06:16:26 +00:00
jeremy
3d8d0c485c Add call to leds_init() after everything has started up ok. 1997-05-11 06:15:09 +00:00
fvdl
f99df8aa9c rdsetimage -> mdsetimage in comment (enami tsugutomo, PR 3596) 1997-05-10 11:06:53 +00:00
matthias
9e785c6d3f * Define proc0paddr here and not in locore.s. 1997-05-10 09:29:26 +00:00
augustss
e63a553175 Change the interface between high and lowlevel audio drivers again:
Set the encoding parameters slightly differently.
Remove the SW encoding/decodinf functions from this interface
and move them to the audio_parameter struct; this is both more efficient
and flexible.
1997-05-09 22:16:27 +00:00
mycroft
cc4a1553a1 Eliminate bogus redefinitions of standard targets. 1997-05-09 07:50:03 +00:00
oki
6fd182057f cleanup use of whitespace 1997-05-08 16:39:35 +00:00
matthias
5c6f7fca32 * Update asm.h to be more like the other port's asm.h.
* Update locore.s to use all the macros defined asm.h
* Update random.s to use the much nicer algorithm from the m68k port.
1997-05-08 13:44:11 +00:00
scottr
94e0a9b88d Update to current configurations. 1997-05-08 04:09:27 +00:00
thorpej
47aae56862 Sync w/ SPARC port, from Paul Krannenburg <pk@netbsd.org>:
Remove esp FLUSH when residual bytes are present in FIFO, the ncr53c9x
driver will flush when necessary. Doing the FLUSH here interferes
with DMA-enabled target selection.
1997-05-08 01:33:49 +00:00
augustss
c4a52794f1 Convert to new orthogonal audio encoding scheme and implement
some of the new encodings.  The change to ioctl AUDIO_GETENC is
NOT backwards compatible.
1997-05-07 18:51:31 +00:00
mycroft
84bca5d679 Don't use _SUBDIRUSE outside of bsd.subdir.mk. 1997-05-07 17:28:47 +00:00
mycroft
53fb29bd67 We don't need a special clean: target here. 1997-05-07 17:16:05 +00:00
mjacob
11fc3c2a7a In case someone doesn't compile in DEBUG we need to still
snag the msgbuf. Also, observe protocols about message buffer
being 'mapped'.
1997-05-07 17:13:32 +00:00
mycroft
185b24dd5b Use libinstall::, not install:, to prevent instaling LIB. 1997-05-07 16:20:26 +00:00
mycroft
5432d44374 Override the proginstall target to do our special hackery. (Yuck.) 1997-05-07 16:15:01 +00:00
mycroft
29ed66d6d3 Minor change. 1997-05-07 16:13:46 +00:00
mycroft
f778381424 Clean up weirdness. 1997-05-07 16:13:13 +00:00
mycroft
6e0450c70f Use proginstall:: to disable installing PROG. 1997-05-07 15:59:08 +00:00
mycroft
ba4cf66fbe Add a missing .PHONY. 1997-05-07 08:26:04 +00:00
mycroft
fd8daf980e Add .MAKE to the .OBJDIR hacks, so they work with `make -n'. 1997-05-07 07:15:34 +00:00
lukem
6fe4889b92 cleanup use of whitespace 1997-05-07 02:20:26 +00:00
lukem
a9016579ab clean up whitespace use 1997-05-07 02:14:59 +00:00
lukem
8744fe853c clean up use of whitespace 1997-05-07 01:55:23 +00:00
lukem
c4eb220ea5 minor whitespaco fixes 1997-05-07 00:32:44 +00:00
lukem
7f69a90075 whitespacos i missed 1997-05-07 00:29:18 +00:00
lukem
3490941ddb cleanup unecessary quotage of options 1997-05-07 00:27:33 +00:00
lukem
8c57ea0789 clean up use of whitespace
remove unnecessary quotes around options
1997-05-07 00:23:43 +00:00
pk
45cc2d6db4 turbosparc: 256 contexts, page tables cannot be cached. 1997-05-06 21:00:54 +00:00
lukem
4abf5a1a72 be consistent with use of spaces and tabs.
don't need quotes around options with _'s in the name
1997-05-06 00:56:53 +00:00
lukem
5352e2713a be consistent with use of spaces and tabs. 1997-05-06 00:31:49 +00:00
thorpej
3a12db07c6 Update for USELEDS changes (including: garbage-collect LED frobbing
code; it has moved to leds.c)
1997-05-05 21:15:41 +00:00
thorpej
500498e411 Update for USELEDS changes. 1997-05-05 21:14:04 +00:00
thorpej
e677b62290 Garbage-collect LED-related stuff. 1997-05-05 21:12:49 +00:00