jonathan
d47bc69126
Rework pmax kernel config:
...
* ibus (virtual bus for baseboard direct-attach deviecs)
* 5100 support, using ibus
* rename "clock" to mcclock for future support of Qbus machiens
* use sys/dev/dec mcclock_pad32 machinery for pmax mcclock
* reworked TC config code.
1998-04-19 08:39:42 +00:00
jonathan
216daa4e5e
Configure mips_mclock if "clock|mccclock".
...
All(?) ARC boxes use mcclock, but QBus decstations use the same
time-of-year clock architecturally mandated for VAXes.
1998-04-19 08:24:19 +00:00
jonathan
59125ec0c9
Define delay() for pmax asc driver, mips_mcclock.
1998-04-19 08:22:22 +00:00
jonathan
85e00b2364
Add -D__pmax__. Leave -Dpmax until all uses changed to __pmax__.
1998-04-19 08:01:01 +00:00
jonathan
9caaf18836
Rework pmax turbochannel config, as suggested by Jason Thorpe.
...
Also make TC framebuffer-console search table-driven.
Does not yet include "tcasic" layer; there's no such hardware on DECstations
and nothing for a tcasic layer to do.
1998-04-19 07:59:13 +00:00
jonathan
e487483678
oops, diffs to use dev/dec/mcclock_pad32 were in a different tree. Fix.
1998-04-19 07:54:45 +00:00
jonathan
c84f4e94d9
Copy alpha/tc/mcclock_ioasic.c (duplicated in pmax/tc/mcclock_ioasic.c)
...
into sys/dev/dec and split into a clockfns layer and a "middle" layer
for other DEC systems which use mcclocks with each onchip byte
register padded out to a 32-bit word.
Clone alpha/alpha/mcclock (also duplicated in pmax port) into
sys/dev/dec, and ifdef for default clockrates on pmax and alpha.
Use new machinery on pmax for ibus,ioasic attached mcclocks.
1998-04-19 07:50:25 +00:00
jonathan
9873ee237f
Add dependencies on Makefile for SYSVSHM, SYSVIPC options.
1998-04-19 04:51:18 +00:00
mark
464caff246
Since the kshell stuff is no longer ever built into the kernel,
...
the last possible hooks having been removed from rpc_machdep.c
and its use has been deprecated for a long long time lets finally
axe it.
1998-04-19 04:48:31 +00:00
mark
569be6d488
Change definitions of MCOUNT_ENTER and MCOUNT_EXIT to block interrupts
...
via the CPSR rather than via splhigh() due to the overheads involved
in using splhigh()/splx(). (From Chris Demetriou).
1998-04-19 04:16:25 +00:00
mark
fcc1093bee
Define bus_space_map flags BUS_SPACE_MAP_CACHEABLE and BUS_SPACE_MAP_LINEAR.
...
Comment arm32_bus_dma_segment structure members.
Remove the _dm_loadlen field from the arm32_bus_dmamap structure.
1998-04-19 04:13:24 +00:00
mark
47ec8f3afc
Validate the source address in db_read_bytes() to avoid faulting when
...
reading invalid addresses.
1998-04-19 04:05:24 +00:00
mark
9bbde6c952
Overhaulled cpu_reboot(). Junked all the boot action garbage and just use
...
howto to dictate what operations to perform.
Removed support for calling the deprecated kshell stuff.
Cleaned up a few bits of dead code and renamed rpc_sa110_kickstart() to
rpc_sa110_cc_setup().
1998-04-19 03:59:19 +00:00
mark
33b4b52949
Define the prototypes for rtc_read() and rtc_write() here rather than
...
in machine/rtc.h
Update the rtc_read() and rtc_write() functions to take a private pointer
as the first argument (currently unused).
1998-04-19 03:55:44 +00:00
mark
1f5455aaaf
Update the softc to hold the rtc_{write,write}() argument and update
...
the function pointer prototypes.
Pass the rtc_arg field as the first parameter when calling the todclock
rtc_{read,write} function pointers.
1998-04-19 03:54:24 +00:00
mark
c4f9d5c4b0
Add a rtc argument field to the todclock_attach_args structure.
...
Update the ta_rtc_{read,write}() functions in the todclock_attach_args
structure to take an argument attach time defined argument field as the
first argument.
1998-04-19 03:51:44 +00:00
mark
15901d1be3
Remove rtc_read() and rtc_write prototypes.
1998-04-19 03:49:17 +00:00
mark
effb702da4
Don't explicitly call the debugger on a reset exception. Just print
...
trap frame address and panic.
1998-04-19 03:41:14 +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
jonathan
53c671e26c
Add locore assembler functions to read mips3 cycle counter, and
...
read and write compare register (controls cycle-driven periodic interrupt).
Use cycle counter for microsecond time on mips3, but for now only on
3min motherboards (5000/150). the MAXINE baseboard microsecond
counter is more stable and I don't ave no 5000/260 to test.
XXX clkread() is a mess, it should be rewritten.
XXX should add nanotime() to give inkernel nanosecond resolution,
and then microtime() reworked to use nanotime().
1998-04-19 01:48:34 +00:00
jonathan
4ea6444493
Decsystem 5100 (aka mipsmate aka kn230) support:
...
* dec_5100.c: sysconf, interrupt, and motherboard (drain writebuffer)
support for 5100.
* support for hardware kludge in 5100: sii DMA buffer is hardware
padded to alternate 32-bit words, not alternating 16-bit halfwords.
* 5100 has no framebuffer, console is wired to serial port 0.
With ibus support, boots as far as exec'ing init, and hangs.
1998-04-19 01:27:02 +00:00
pk
c1a4f8c8ed
Define `xbox'.
1998-04-18 19:03:00 +00:00
pk
90b5c246c6
Skeleton code for the SBus expander box.
1998-04-18 19:00:17 +00:00
thorpej
2b6154a68c
Add PCI IDE.
1998-04-18 01:19:40 +00:00
thorpej
792e89a201
Add PCI IDE goop.
1998-04-18 01:19:08 +00:00
thorpej
4fc79b8fd3
First cut at PCI IDE compat interrupt support for the EB164 systype.
...
PCI IDE is found on the AlphaPC 164SX's Cypress PCI-ISA bridge.
1998-04-18 01:18:37 +00:00
thorpej
574b87a792
Initialize the PCI IDE compat interrupt PCI method to NULL; PCI IDE
...
compat interrupts are not currently supported on these platforms.
1998-04-18 01:12:23 +00:00
thorpej
78c7ebb2d0
Add a second Alpha-specific pci_chipset_tag_t method for establishing
...
PCI IDE compat interrupts. Note that this function is optional, and
platform-specific code may initialize the pointer to NULL.
1998-04-18 01:10:54 +00:00
thorpej
a5f006fb5f
Fix a typo.
1998-04-18 01:09:20 +00:00
thorpej
783382095c
Machine-dependent bits for PCI IDE. This redirects PCI IDE compat interrupt
...
goop to the appropriate platform-dependent code.
1998-04-18 01:08:52 +00:00
mark
f9042ff05b
Guard the PS/2 mouse attachment and ARM7500 IOC check with the
...
CPU_ARM7500 macro.
1998-04-17 18:44:09 +00:00
veego
8a9498f09a
Don't use an 'register char' as an array index, change it to an int.
1998-04-17 17:57:08 +00:00
veego
d15b06459b
Add missing int after an register.
1998-04-17 17:38:14 +00:00
drochner
543407f7ee
use the mi header (dev/pckbc/pckbdreg.h)
1998-04-17 13:09:23 +00:00
drochner
fa82ea6398
it's mi now (dev/isa)
1998-04-17 13:06:48 +00:00
mjacob
e77859a612
Hmmm... handle the case where there is no keyboard configured (panic
...
if the console selection is asking for it). Also add the stuff that
was missing from dec_kn300.
1998-04-17 02:45:19 +00:00
drochner
6af8040a5c
-"spkr" now attaches to "pcppi"
...
-"le at isa" is split into "depca", "nele" and "bicc"
1998-04-16 22:01:41 +00:00
is
e61d6bdb82
Dont define splserial here... its now different from spltty.
1998-04-16 21:28:00 +00:00
drochner
bf23ba7b87
add a device node for "sysbeep at pcppi"
1998-04-16 20:16:28 +00:00
drochner
46f77d75da
Make sysbeep() use dev/isa/pcppi. (sysbeep0 at pcppi?)
...
Remove findcpuspeed() - it's useless and was commented out for a while.
1998-04-16 20:15:10 +00:00
thorpej
815703e5ec
Make function names in printfs and panics consistent.
1998-04-16 19:50:55 +00:00
thorpej
a048ee73ca
Fix a whitespace botch.
1998-04-16 19:40:56 +00:00
thorpej
2615a1d8d3
Allow device 8 (the SIO) to have its interrupt mapped; there might be
...
a PCI IDE controller on one of the PCI-ISA bridge's functions (e.g.
AlphaPC 164SX).
1998-04-16 19:24:24 +00:00
drochner
3cc1fe831c
count allocated screens correctly
1998-04-16 12:52:42 +00:00
thorpej
c72ac312a7
Add pcppi/spkr drivers, and use DHCP for NFS boots.
1998-04-16 04:11:50 +00:00
thorpej
f92ae39153
Make this compile if a Rawhide isn't configured.
1998-04-16 04:04:15 +00:00
drochner
f44d3a08e5
"spkr" is now MI. Keep this file for compatibility.
1998-04-15 21:53:47 +00:00
mjacob
512e80082b
add an AlphaServer 4100 Specific config file
1998-04-15 21:53:25 +00:00
drochner
ebefb51112
cdev_{wsdisplay,spkr}_init() are now in sys/conf.h
1998-04-15 21:52:14 +00:00
drochner
abce54eaa2
spkr stuff is now in sys/conf.h
1998-04-15 21:48:51 +00:00