tsubai
4eb4de3592
Make ``boot kernelname'' work on OF-3.x too.
1999-08-03 07:08:36 +00:00
dbj
9eb133fc08
removed unused variable.
1999-08-03 06:55:21 +00:00
nisimura
50eca69f4e
- A minimal patch work to make TCWSCONS useful with sfb/zskbd.
1999-08-03 05:30:56 +00:00
thorpej
35730a15fe
Add the "sip" driver (SiS 900 Ethernet).
1999-08-03 03:23:28 +00:00
matt
42c15639e0
Remove the false positive on the probe of the built-in modem
...
on tadpoles by calling comprobe1 to see if the modem is really
there.
1999-08-03 00:32:33 +00:00
matt
864afe0bc7
Add video blanking support. It does not power-down the TFT
...
since that requires talking to the H8 microcontroller and
that support is not yet done.
1999-08-02 20:36:57 +00:00
matt
016599a30b
Colormaps now work. Besides a small fencepost error, the real problem
...
is that the Tadpole 3GX tech-ref-man was WRONG. The RAMDAC registers
at at 4 byte offsets, not 8. Once that was discovered, all the code
just worked.
1999-08-02 18:00:21 +00:00
augustss
dd3788e008
Alphabetize.
1999-08-02 17:44:59 +00:00
augustss
42fb510148
Move the mpu device declaration to conf/files.
...
Let the mpu device attach at the sb device, and then midi at the mpu.
Update the mpu at eso attachment.
1999-08-02 17:37:41 +00:00
ad
233d3887c1
In pm_screen(), return 0 if fballoc() fails, not 1.
1999-08-02 12:52:27 +00:00
mrg
39a5b02150
if there are no FB devices, tc_consprobeslot() fails always.
1999-08-02 12:01:46 +00:00
darrenr
01f3c66113
merge patch from PR#6279 as suggested some time ago.
1999-08-02 08:34:50 +00:00
thorpej
868dfcb228
Store computed PSL values in an array indexed by abstract interrupt
...
level, rather than individual shortwords.
1999-08-01 21:50:17 +00:00
thorpej
6489500f0a
Make sure the branch target of the delay loop is aligned to a cache
...
half-line (8-byte) boundary. Inspired by a discussion w/ Scott Reynolds.
1999-08-01 21:43:04 +00:00
thorpej
d721481d50
Make sure the branch target of the delay loop is aligned to a cache
...
half-line (8-byte) boundary. Inspired by a discussion w/ Scott Reynolds.
1999-08-01 21:32:17 +00:00
thorpej
22d6c3f13b
Fix APCI console initialization; we were forgetting to update cn_tab.
...
From Christoph Badura.
1999-08-01 21:30:21 +00:00
thorpej
9c48987e94
Ooops, add a missing break.
1999-08-01 18:17:26 +00:00
augustss
694384f946
Add the MPU 401 ISA attachment.
1999-08-01 18:16:35 +00:00
ragge
8f9615d62c
A bunch of changes:
...
- Free pte pages not in use anymore.
- Inline pmap_extract().
- Fix annoying page reference/modify bug. Fixes PR#7858 & PR#7859.
1999-08-01 13:48:06 +00:00
ragge
870769b516
Cpu_swapin() only need to set red zone now.
1999-08-01 12:07:31 +00:00
thorpej
a843b027bd
Sync w/ the i386 port. Fixes some bugs in the conventional interrupt
...
heirarchy. Reviewed by sakamoto@netbsd.org .
1999-08-01 07:52:22 +00:00
matt
d8f4dbb171
fix a few mmap bugs. pretend to be a cg3 and implement a hack
...
to fack the Xsun server to believe that the p9100's framebuffer
is really a cg3's. So if only colormaps worked, X would be able
to run.
1999-08-01 06:27:00 +00:00
matt
4b814be9cf
Initial stab at a P9100 console FB driver for the Tadpole 3GX.
...
It supports RASTERCONSOLE only and the colormap support is
broken (the hardware doesn't seem to be doing what the tech.
docs. say it should be doing). But it is usable as a console
(but with blue on white as the only color choice). I figured
I'd check it in since it is somewhat usable and someone else
might figure what I screwed up in the color map support.
1999-08-01 00:23:48 +00:00
sommerfeld
d6fd753892
Let arm32 kernels build after addition of wsmux.
1999-07-31 23:12:20 +00:00
thorpej
749eee308d
If building without ITECONSOLE, don't install our own NMI handler. Just
...
leave the ROM's NMI handler in place.
1999-07-31 21:49:03 +00:00
thorpej
f4da661b4a
Nuke the DCA check. ACPI can only be console on a 425e.
1999-07-31 21:17:08 +00:00
thorpej
c870d5243c
Skip "serial 1" on non-425e models. It's mapped to DCA at 9 on every
...
other 4xx model, and the "not configured" could be pretty annoying.
1999-07-31 21:15:20 +00:00
thorpej
e1f99936c8
Nuke apcicheckdca(). Since "serial 1" only exists as an APCI serial
...
port on the 425e, key off that instead.
1999-07-31 21:14:36 +00:00
thorpej
232492c350
Oops, forgot to add MMUID_385.
1999-07-31 20:50:48 +00:00
thorpej
5ab8857d4e
Add HP385.
1999-07-31 20:19:31 +00:00
thorpej
f7b10e4c9f
defopt HP385.
1999-07-31 19:56:48 +00:00
thorpej
72fa12a41c
Oops, forgot the HP_385 case in identifycpu().
1999-07-31 19:52:35 +00:00
thorpej
ca091a5e33
Fix oversight in last.
1999-07-31 17:20:22 +00:00
thorpej
7d1889a8bd
Identify the 385 and 425e. Partially from OpenBSD.
1999-07-31 01:26:04 +00:00
thorpej
7c21482563
Add 385 and 425e SPU detection. From OpenBSD.
1999-07-31 00:45:28 +00:00
thorpej
834772047c
Add MMUIDs for the 385 and 425e, and a machine ID for the 385. From OpenBSD.
1999-07-31 00:28:20 +00:00
matt
d4b9056054
Add preliminary support for the built-in modem on Tadpole 3GX/S
...
laptops. There is currently something wrong with the interrupt
code but it does attach and sense a 16550a. (anyways the built
in modem is only a 14.4Kb and you'd really want to use a PCMCIA
modem to get faster dialup rates).
1999-07-30 23:58:25 +00:00
matt
8c0f3c5a5f
Add config file specificially for Tadpole 3GX/3GS laptops.
...
It save ~800KB over the standard GENERIC config file.
1999-07-30 23:55:43 +00:00
ross
02140cb46f
Fix the 16-bytes-of-death bug by generating specific-EOI cycles during
...
sio_intr_setup().
1999-07-30 20:33:43 +00:00
thorpej
d7bf3732b0
The new rasops stuff is a LOT faster; turn on rasterconsole on the cgsix.
1999-07-30 18:11:38 +00:00
mycroft
1880910b3a
Sync with GENERIC.
1999-07-30 02:35:18 +00:00
augustss
f641c4b3b6
Make two wsmux pseudo devices and add mux locators.
1999-07-29 19:36:58 +00:00
augustss
3652732791
Add wsmux device.
...
(Also add lots of missing chrtoblktbl[] entries.)
1999-07-29 19:14:35 +00:00
augustss
a7cd454b1d
It's time to be COMPAT_14.
1999-07-29 10:37:12 +00:00
itohy
5d4686cb63
Fix typo in comment.
1999-07-29 08:19:55 +00:00
thorpej
0f0a99bb48
Make sure that pmap == pmap_kernel() when skipping pager mappings.
1999-07-28 23:23:46 +00:00
ad
3d71693ea7
In fbconnect(), append ' (console)' to printed message if called for
...
the console framebuffer at attach time.
1999-07-28 17:13:54 +00:00
drochner
b513c9a6ad
update comments for mi VME
1999-07-28 09:48:36 +00:00
drochner
6922e1976e
adapt to mi VME attachment (sorry for being late)
1999-07-28 09:45:08 +00:00
drochner
f6fddabf3f
back out previous - there is really a "vmebus" attribute
1999-07-28 09:39:48 +00:00
thorpej
51d09124f9
Fix another locking error: if freeing a PV entry, don't attempt to
...
free a PV page if the PV entry was associated with the kernel pmap,
since the kernel pmap is locked, and freeing the page will execute
a code path which will attempt to lock it again, resulting in deadlock.
No real loss, since the next time a PV entry is freed, the page will
be freed, too.
1999-07-28 06:54:41 +00:00
is
b0cd4e82f1
regenerate: no gvpbus on DRACO
1999-07-28 05:56:07 +00:00
is
d2cd47b6b2
no gvpbus on DRACO
1999-07-28 05:55:19 +00:00
christos
223cc34183
make the vme stuff compile again; I am not sure this is correct as I don't
...
have the hardware to test, but it has been broken for 3+ weeks now. Hi
Mr. Drochner!
1999-07-28 05:45:50 +00:00
thorpej
eced87ad87
Fix a locking error: When allocating a PV page for the kernel pmap,
...
the pmap would be locked, and we would deadlock when mapping the
newly allocate PV page.
1999-07-28 05:37:54 +00:00
mellon
6d03d79b64
- compat_aout requires compat_13_machdep.c for definition of sigreturn.
1999-07-28 01:57:05 +00:00
thorpej
9d4524778d
Slight adjustment to last; move pmap_kenter_pa() to where the other
...
pmap_k* functions are.
1999-07-28 01:17:01 +00:00
thorpej
31fa5c6f78
Don't inline pmap_kenter_pa(). It doesn't buy us much to do so, and
...
it's nice to have it show up in stack traces.
1999-07-28 01:07:52 +00:00
thorpej
6ec1ededf1
Make a slight rearrangement in how <machine/lock.h> is included.
1999-07-27 23:45:13 +00:00
thorpej
cc668e410f
Define apporpriate an value for SIMPLELOCK_LOCKED, based on the
...
semantics of ldstub.
1999-07-27 22:22:33 +00:00
thorpej
c1ee8f0a8c
Prepend `cpu_' to the machine-dependent atomic locking primitivies.
1999-07-27 21:45:39 +00:00
wrstuden
f3b3a1b98d
If we get into pcclose() without a defined tty, just exit rather than
...
dereferencing a null pointer.
1999-07-26 19:31:54 +00:00
cgd
f886376518
be more efficient when doing the SYSTEM_LD_TAIL for -g kernels: don't
...
copy them just to strip them, use strip -o.
1999-07-26 05:20:44 +00:00
ad
724365fa3e
Change the way fb devices are configured and attached:
...
- 'struct fbsoftc' created, which points to a 'struct fbinfo'
- 'struct fbinfo' for each device is allocated with fballoc()
This means:
- Console device doesn't get different 'struct fbinfo' at attach
- Console device doesn't get initialized twice
- Color rcons now works
- The current Xserver MUST BE REBUILT.
1999-07-25 22:50:28 +00:00
thorpej
e70f375122
Lock the proclist as appropriate.
1999-07-25 18:05:31 +00:00
explorer
4cbf118032
add a SHARK.v6, so the shark specific kernel can get v6, too
1999-07-23 22:45:23 +00:00
thorpej
40c08923a8
XXX LOCKING XXX of allproc; DDB runs with interrupts blocked, and MD
...
code should suspend other processors, so this probably isn't a problem,
but the comment is added anyhow.
1999-07-22 21:11:26 +00:00
augustss
9e89bd8c34
The configuration and interface locators are pointless for the generic
...
USB device.
1999-07-22 09:35:06 +00:00
leo
416221c95b
Do the mesgbuf initialisation a bit earlier in the boot process. This
...
makes debugging the console somewhat easier.
1999-07-22 09:20:38 +00:00
tron
f808646713
Use wsmouse protocol for PS/2, Logitech bus and Microsoft InPort mice
...
by default. The X11 distribution included in our last release already
supports it and the wsmouse protocol can be used for any of the above
and for USB mice.
1999-07-21 20:28:45 +00:00
tsubai
07bc0e694d
media-bay CD support.
1999-07-21 19:20:04 +00:00
mrg
f484530816
do not "quote" SAMISCMAKEFLAGS values, it causes pain and suffering.
1999-07-21 13:34:34 +00:00
briggs
a33d38257c
Declare struct pmap kernel_pmap_store extern.
1999-07-21 03:18:21 +00:00
thorpej
befbb301fd
Use the lock manager to lock the GDT, rather than a non-MP-safe homegrown
...
method.
1999-07-20 23:07:12 +00:00
thorpej
eff41cf3b1
Implement cpu_wait(), and move the call to tss_free() from switch_exit()
...
to cpu_wait(); tss_free() may block, and thus requires a valid context.
1999-07-20 22:25:18 +00:00
tsubai
bfba58c1e1
grackle uses different I/O address.
1999-07-20 17:31:59 +00:00
dbj
15c0ebc780
fixed TAGS target for emacs style tags
1999-07-20 08:55:30 +00:00
christos
41cc9a0eb8
enable PPP_BSDCOMP, PPP_DEFLATE, PPP_FILTER, PFIL_HOOKS, IPFILTER_LOG
...
on the GENERIC kernels that had them commented out.
XXX: Please note, that not all the kernels have all the options defined!
1999-07-20 07:40:34 +00:00
simonb
988906cf52
Put tc_machdep.h back - the X server needs it to build.
1999-07-19 23:35:29 +00:00
scottr
ba0669d0b6
The Quadra 605 and LC 47x apparently share the same logic board,
...
and hence need the same video hack. From Ken'ichi Ishizaka.
1999-07-19 05:20:15 +00:00
eeh
5e22318a8d
More fun with pmap.
1999-07-18 23:55:57 +00:00
eeh
c6a358d0a8
Lower spl for softints.
1999-07-18 23:54:20 +00:00
eeh
27bc6dd353
Switch to NetBSD/sparc ELF for 32-bit userland.
1999-07-18 23:52:58 +00:00
eeh
01474710ca
Switch over to NetBSD/sparc ELF for 32-bit userland.
1999-07-18 23:51:08 +00:00
chs
47602880d7
KNF.
1999-07-18 21:33:20 +00:00
tsubai
035071b460
Add VM_MAX_KERNEL_BUF definition.
1999-07-18 17:54:19 +00:00
tsubai
e9f1ccdcd1
Decrease default NKMEMCLUSTERS. (128MB -> 8MB)
1999-07-18 17:53:18 +00:00
abs
2ceba51630
Work with obj dirs (It seems that ${.CURDIR}/... is your friend).
...
If I _had_ to pick an arch on which to learn how this stuff works, it probably
would not have been vax... unless of course I was experimenting with time
compressing drugs. If we have a 1.4.2, this is definitely a candidate.
1999-07-18 05:55:45 +00:00
tron
a868069601
Add a few more CPU models as suggested by Scott Telford in PR i386/7048.
1999-07-17 00:42:20 +00:00
ad
fe6a4d8ffd
Remove 'already the console' check, which will be handled by fballoc(),
...
fbattach() and fbconnect() shortly.
1999-07-16 14:23:47 +00:00
drochner
7dab8cef61
fix logics in device recognition
1999-07-15 18:00:27 +00:00
leo
cf85212453
Make this compile again.
1999-07-15 10:46:58 +00:00
drochner
8137f06eac
recognize SIS 85C503 as PCI-ISA bridge, from Gregory McGarry per PR
...
port-i386/7972
1999-07-14 09:18:20 +00:00
tsubai
4aec314394
Add PowerBook LCD brightness and speaker volume button device.
...
Only brightness works for now.
1999-07-12 17:48:26 +00:00
tsubai
b7fc95a188
Add read/set LCD brightness and eject PCMCIA card function.
1999-07-12 15:54:55 +00:00
kleink
a963797502
Add eso(4) and the devices attached to it.
1999-07-12 15:16:23 +00:00
ross
4d11d63612
Fix off-by-one comparison.
1999-07-12 07:37:14 +00:00
ross
a8000e244c
New signature for console_restart().
1999-07-11 22:39:21 +00:00
ross
0f9e004fe3
Rewrite of console_restart() with constructed trapframe.
...
Extract various state elements from the per-cpu-slot in hwrpb.
1999-07-11 22:37:12 +00:00
ross
f9e083d969
* Set up a trapframe before calling console_restart(), and just pass it the
...
frame instead of a selection from the saved state.
* new macros: bfalse reg, dst /* "beq" */
btrue reg, dst /* "bne" */
1999-07-11 22:35:28 +00:00