Commit Graph

20403 Commits

Author SHA1 Message Date
simonb
8433a7d9eb Enable DECsystem 5100 support. 1999-12-09 02:11:55 +00:00
sato
22f343c7ba - tail \n
- add needs-flag for vrbcu & vrpmu.
1999-12-09 01:56:23 +00:00
simonb
77aea66917 Use "u_char *" instead of "caddr_t" for all colormap references. In line
with recent MI rasops changes, and fixes compile problems with -current.
1999-12-09 00:16:14 +00:00
thorpej
8b34a5b689 Revert previous. 1999-12-08 23:54:55 +00:00
thorpej
fd6f6e85b2 Slight changes so that bounce buffers can be implemented for the Jensen. 1999-12-08 23:40:35 +00:00
ad
6979dfbd2b Accessing the ringbuffer from KSEG0 is too naughty to contemplate. Mother
would never approve.
1999-12-08 21:38:10 +00:00
ad
48eb7986d4 - If we call px_init() at attach time, then we're not the console, so don't
set the console arg to 1. Noted by mhitch.
- In px_init(), don't compute pxi_fontscale if we're not the console,
  since we don't have a font in the first place. This is a relic from
  when the driver was converted to use 'struct wsdisplay_font'.

Should fix crashes if a px board is installed and isn't the console.
1999-12-08 21:33:43 +00:00
msaitoh
f7bd242b6f calculate microtime() correctly. 1999-12-08 20:39:45 +00:00
msaitoh
e7c433b9d5 fix copyinstr(9) bug (from Charles M. Hannum). 1999-12-08 17:12:21 +00:00
joda
3ae2d6605b defopt APM_DISABLE_INTERRUPTS 1999-12-08 16:46:32 +00:00
uch
bf823f92da fix typo. 1999-12-08 16:22:10 +00:00
uch
a46d11d667 don't define DEBUG in source code. 1999-12-08 15:57:12 +00:00
uch
395dc11439 sync with skbd. 1999-12-08 15:54:11 +00:00
uch
866a7053d6 MITUBISHI M38813 keyboard controller. 1999-12-08 15:51:07 +00:00
uch
7584977dc8 Remove old keyboard driver for Compaq C.
Add driver
 PHILIPS 74ALVC1624? buffer chip + simple keyboard driver.
1999-12-08 15:49:18 +00:00
simonb
e065c9fbda Store only the kernel name itself in the bootinfo BOOTPATH record, and
not the full boot device specification.

With this change, /etc/rc doesn't spew garbage when kvm_mkdb can't
find a kernel called "3/rz0/netbsd" or some such...
1999-12-08 14:23:34 +00:00
jun
d93cbc13dd add MobileGearII for DoCoMo 1999-12-08 07:34:58 +00:00
jun
2952df34ed Regen. 1999-12-08 07:30:28 +00:00
jun
7c4f8a7f07 add MobileGearII for DoCoMo 1999-12-08 07:29:24 +00:00
jun
2335cc052c add Compaq PRESARIO 213 1999-12-08 05:35:30 +00:00
jun
d7ec450645 regen 1999-12-08 05:27:07 +00:00
jun
b06bff8f39 add Compaq PRESARIO 213 1999-12-08 05:25:11 +00:00
jonb
34c41c47d3 Update to get closer to the current reality... 1999-12-08 04:46:40 +00:00
simonb
24a48d8b87 Oops, back out some test 5500 stuff from previous commit - only RAMDISK
was meant to be changed.
1999-12-08 04:16:16 +00:00
simonb
3b874faeb3 Add newline to last line of file. 1999-12-08 04:12:15 +00:00
simonb
369211f9ca We now need a 3MB miniroot. 1999-12-08 04:11:07 +00:00
simonb
09af3823bf In dc_ds_consinit(), choose the address of the dc device based on
systype.  Fixes lockup on 5000/200 - tested on 5000/200, 3100 and
5100.
1999-12-08 04:03:28 +00:00
simonb
f3867cd79f Don't need to prototype consinit() - it's in systm.h. 1999-12-08 02:56:17 +00:00
sato
1ff57633a7 - clear all intr status and show old status when attached. 1999-12-08 01:54:59 +00:00
sato
0df4960b03 - PMUINT_ALL, PMUINT2_ALL.
- some registers.
1999-12-08 01:51:56 +00:00
thorpej
781149bb12 Handle the case where PCI dense memory and PCI sparse memory don't
overlap; don't require allocation from the dense extent if the PCI
memory address isn't mapped into dense space.

Also, make sure to return an error if a liner mapping is requested
and dense space is not available (not just not requested).
1999-12-08 01:48:39 +00:00
sato
2c24f58ba1 Vr41xx LED control register definitions. 1999-12-08 01:43:58 +00:00
simonb
c2f5cc273c Don't use our own defines for SCCDEV or RCONSDEV - pull in
<pmax/pmax/cons.h> for these values.
1999-12-08 01:29:11 +00:00
thorpej
9beb275ae8 Oops, committed the wrong version of this file previously. 1999-12-08 00:35:43 +00:00
simonb
dcf49845cb Remove one of two (different!) prototypes for dc_consinit(). dc_ds.c
now includes <pmax/dev/dc_cons.h> to get the correct prototype.
1999-12-08 00:13:33 +00:00
simonb
3742b697d5 Fix gaff in previous - need <kn230.h> and use _SYS_DZ0 not _SYS_DZ for
5100 console device.
1999-12-08 00:04:11 +00:00
simonb
12ed1b07a3 Use KN230_SYS_* names for 5100 device addresses. 1999-12-07 23:23:19 +00:00
thorpej
a4f30c3f19 Add entry for AlphaServer 2100 (Sable, Sable-Gamma). 1999-12-07 21:51:53 +00:00
thorpej
fcf35a8417 Add options, files, etc. for the AlphaServer 2100 (Sable, Sable-Gamma).
Actual source files not yet committed.  Very Soon.
1999-12-07 21:47:12 +00:00
thorpej
25a665e643 Avoid a spurious warning when establishing a pulsed interrupt handler
on an IRQ which was marked "initially-pulsed".
1999-12-07 21:36:16 +00:00
thorpej
4056ebc587 When doing a badaddr check, insert an extra `mb', which is highly magic
on some systems (due to quirky bus adapters).
1999-12-07 21:35:06 +00:00
thorpej
388112cd09 Add nsphyter. 1999-12-07 19:38:54 +00:00
thorpej
1488729b56 Update for reality. 1999-12-07 19:38:36 +00:00
thorpej
28de1b15a4 Add tlp at cardbus, and nsphyter. 1999-12-07 19:37:40 +00:00
uch
dd4be4cdba Fix iocorrect defines. 1999-12-07 17:53:04 +00:00
uch
7dd8599060 supply power. 1999-12-07 17:37:21 +00:00
uch
90c7b962a6 frame buffer device support. 1999-12-07 17:25:00 +00:00
uch
1bf65c154a Supply power before attaching socket. 1999-12-07 17:23:54 +00:00
uch
e96dc9806b changing power up sequence.
disable all power before probing plum2 devices.
1999-12-07 17:21:45 +00:00
uch
af18379afb TX3922, tx39_poll_intr uses stop timer interrupt as sampling interrupt. 1999-12-07 17:11:05 +00:00
uch
704572cafe clean up boot message. 1999-12-07 17:08:10 +00:00
danw
a9d982e4f4 synchronize various changes to comments between these files to make it
even more obvious that they're 90% identical and really ought to be
using common code in arch/powerpc for a most of this...
1999-12-07 16:11:48 +00:00
danw
83f1c31647 Fix "FPCSR" to "FPSCR". ("Floating Point Status and Control Register") 1999-12-07 15:14:56 +00:00
thorpej
ac20942bc5 Some systems don't have dense space; don't require it. 1999-12-07 07:04:39 +00:00
dbj
2e7a822ef2 applied patch from pr port-next68k/8962 from Christian Limpach <chris@nice.ch>
"boot fails on machines which do not have 32M of memory"
1999-12-07 06:27:33 +00:00
thorpej
51f4c69ad4 Clarify what appear to the untrained eye to be two magic constants (the
address shift and access size shift), and allow them to be overridden
by chip-specific code, if necessary.
1999-12-07 05:44:57 +00:00
sato
c6dcc983e5 - fix typo.
- MINYEAR is 1999.
1999-12-07 05:02:01 +00:00
sato
64ea52288d cleanup a little.. 1999-12-07 04:54:54 +00:00
drochner
0893832078 update for changed struct wsdisplay_accessops:show_screen signature.
no functional changes
1999-12-06 19:25:56 +00:00
leo
c9457413cb Implement an allocator for VA-space using fixed extent maps. It is now
possible to allocate VA-space before uvm is initialized.
1999-12-06 16:06:24 +00:00
leo
b6e2a143e4 Allocate the physical RAM from the extent map. 1999-12-06 15:34:42 +00:00
msaitoh
31b6740b63 Add SCI interrupt mask/unmask code. 1999-12-06 14:10:49 +00:00
simonb
f3e001c3ac Fix typo in 3max+ scc1 device declaration - console output on a serial
console 3max+ works again.
1999-12-06 11:52:36 +00:00
mark
cd20e6eb44 Add fields found in new format ebsaboot structures. 1999-12-06 09:55:57 +00:00
tsubai
8395acb6c9 Insert '\n'. 1999-12-06 06:58:30 +00:00
tsubai
d87d33754e Enable BUSERR interrupt before autoconfiguration. 1999-12-06 06:47:14 +00:00
simonb
b48a6bbd79 Allow the "install diskimag" label to be any size < 16MB, not just 4MB. 1999-12-06 02:53:50 +00:00
tsubai
6cec6a5c90 Use dev/clock_subr.c. 1999-12-05 15:50:46 +00:00
minoura
63604fe51b Add pseudo-device pty. sysinst does use ptys. 1999-12-05 15:40:17 +00:00
ragge
26e1b45757 clrnd()/clbase() discarding. 1999-12-05 11:56:30 +00:00
shin
b6113c1d8c delete clrnd() to compile again. 1999-12-05 03:31:11 +00:00
ragge
fd58cf1b88 CL* discarding. 1999-12-04 21:36:00 +00:00
ragge
0513268399 CL* discarding. 1999-12-04 21:13:19 +00:00
mjacob
d5e85e61cf Fixes PR#8836. Some changes made by somebody else were a tad incomplete so
configuring w/o SIO broke compilation. I forget why, but there was at one
point (and may still be) a dependency between SIO and EISA. This change
just makes things compile sensibly again. It may make no sense to build
a kernel w/o sio in this case. I can't test this conveniently because I
haven't got a 4100 with a video card in it at the moment.
1999-12-04 20:29:02 +00:00
takemura
21574acbba You can push power key to reboot when halt in vr_reboot. 1999-12-04 14:23:35 +00:00
takemura
b5c8739b96 Unify vr_reset and vr_powerdown. 1999-12-04 10:55:17 +00:00
takemura
19a5b325f3 Print input/output/interrupt settings. 1999-12-04 10:15:34 +00:00
takemura
adf3bfa79d Fix file mode of pbsdboot.exe. 1999-12-04 02:43:48 +00:00
thorpej
08d1d1b378 Actually, the 2100_A500 has 64 interrupts, not 16. 1999-12-04 00:22:54 +00:00
lukem
a63bfb3c6a add atomic.h (missed by thorpej; approved by thorpej) 1999-12-04 00:18:15 +00:00
thorpej
4560ac465a Split the PC-like keyboard controller driver into chip back-end and
bus front-end.
1999-12-03 22:48:22 +00:00
thorpej
cc0eadd619 Make pmap_main_lock a spin lock, not a sleep lock. 1999-12-03 18:49:37 +00:00
uch
1917e12c8a CS:CARD1/CARD2 8bit port support. 1999-12-03 18:15:41 +00:00
sakamoto
816e27676c s/ELF32_HDR_SIZE/sizeof (hdr)/ 1999-12-03 15:44:41 +00:00
sakamoto
7a77d2bc71 add cast for pmap_extract(). 1999-12-03 15:43:47 +00:00
simonb
04f70ed884 Add a flags variable to dc softc, and when attaching a dc determine
(via systype) whether or not it is possible for a keyboard and mouse
to be attached.  The console on a 5100 now works!
1999-12-03 13:07:35 +00:00
thorpej
0aa48d5c55 New delay(), more carefully coded:
- Use explicit assembly; don't want the compiler optimizing things too
  much here.
- Subtract 2 for each iteration of the loop, rather than 3.  The loop
  consists of only 2 instructions (even the C version compiled to a
  loop of 2 instructions).

The latter change has squashed a fairly annoying timing bug in the
mii_bitbang module as used by the `ex' driver on my AlphaStation 500.

XXX delay() should maybe be rewritten again, to use the rpcc instruction.
1999-12-03 07:29:57 +00:00
thorpej
fafcf62fd6 Update my main Alpha development machine's kernel config file to
reflect current reality.
1999-12-03 07:03:43 +00:00
simonb
9991550466 Change debugging printf() so that it compiles if enabled. 1999-12-03 03:34:36 +00:00
nisimura
d782dfb5f7 Cleanup rambling codes. 1999-12-03 03:06:11 +00:00
nisimura
6944e3acfe Remove a now defunct file. Most of the contents were already displaced
by others.
1999-12-03 03:03:48 +00:00
nisimura
ba72fb5211 Decouple DECstation binding, use 'dev/dec/mcclock_pad32.h' for
implementation consistency.
1999-12-03 02:56:37 +00:00
nisimura
31f8115d20 Add _splrestore() to manipulate processor interrupt control bits. 1999-12-03 02:15:55 +00:00
thorpej
a51be1961c lock_machdep.c is gone. 1999-12-03 01:13:51 +00:00
thorpej
5d0a62da53 Remove now-obsolete atomic operations. 1999-12-03 01:13:17 +00:00
thorpej
2d8ef60c51 This file is obsolete. 1999-12-03 01:12:00 +00:00
thorpej
2a97466824 Rewrite the atomic locking primitives using in-line assembly. 1999-12-03 01:11:34 +00:00
itohy
169af5c51b Add a dummy read just after enabling receiver interrupt.
If the receiver already has datum, no further arrival of
data is possible and no interrupts will occur.
This change fixes problem that pressing key during boot
may sometimes disable the keyboard.

Remove unreferenced variable "in" in kbdcngetc().
1999-12-03 00:14:06 +00:00
thorpej
d89260177d In pmap_page_protect(), don't reference a pmap we're unlocking via
the PV entry we just freed (D'OH!)
1999-12-02 23:40:27 +00:00
thorpej
9f7d189f05 Inline most of the remaining PALcode calls. 1999-12-02 22:08:04 +00:00