bjh21
949d521d89
Un-__P
2006-08-15 23:32:09 +00:00
bjh21
cd88b446c2
vidc_initialmode seems to be initialised at startup and never touched again.
...
Lose it.
2006-08-15 23:02:47 +00:00
bjh21
48ddf9f65e
Un-__P
2006-08-15 22:58:47 +00:00
bjh21
2de7d16656
Remove some prototypes and macros that aren't used any more.
2006-08-15 22:44:19 +00:00
sanjayl
5576a1bb85
G5/970 updates:
...
Setup cache bits in HID5 early on so that dcbz/icbi use the
128 byte cache line size. The mismatch was causing dynamically linked
apps to randomly coredump.
With this fix, the G5 can boot into full multi-user by using a NFS
mounted root file system.
2006-08-15 03:29:55 +00:00
macallan
aa34d188fa
back out previous commit since it breaks console output when not using a
...
serial console
2006-08-15 01:53:26 +00:00
bjh21
90bd2ce02c
Nothing in the tree uses NVIDCAUDIO or NVIDC, so stop generating them.
2006-08-14 22:33:37 +00:00
bjh21
2c38f19586
Finally remove the old, pre-wscons, acorn32 console code. This dated back
...
to RiscBSD and had been lurking in dark corners scaring people (mostly me)
for far too long. It will be missed, but not much, and I hope we can clear
up any fallout before 5.0.
While I'm in the area, also remove rpckbd(4), since pckbd(4) has
been supported on acorn32 for ages.
2006-08-14 22:04:30 +00:00
martin
1db4d327d9
Allow booting from wedges.
2006-08-14 12:11:26 +00:00
jmcneill
fc371b8f09
Please don't voluntarily panic before looking for ohare mac-io; I need
...
ohare on my Performa 6360.
2006-08-14 11:17:59 +00:00
itohy
59f807908c
Use the same comment for ym(4) lines.
2006-08-14 09:38:33 +00:00
itohy
cdb1835aff
ACPI frontend for Yamaha OPL3-SA[23].
...
Derived from PR kern/33991 by jasper at pointless dot net.
2006-08-14 09:34:43 +00:00
skrll
1a3062e81b
s/adpater/adapter/
...
Prompted by PR/34195
2006-08-14 06:22:33 +00:00
uwe
4fc8146812
Whether hd64461video is console is not is irrelevant to powering it up
...
on PWR_RESUME. Drop that bogus test and check whether the screen was
blanked instead to corerctly reflect blanked status across suspends.
2006-08-14 02:34:04 +00:00
jmcneill
ac96fed0c2
No longer try to attach unichromefb as an initial console device.
2006-08-13 20:22:27 +00:00
simonb
14c80e001b
Add wpi@pci.
2006-08-13 02:27:32 +00:00
christos
5afff5edf4
Fix missing initialization of tmpvn; thanks gcc.
2006-08-13 00:56:37 +00:00
agc
448cb4aa28
uncomment INCLUDE_CONFIG_FILE - the information is useful, and is on by
...
default in other GENERIC configs
2006-08-12 22:28:07 +00:00
christos
cf1ddb6596
- Check if a disk has wedges, and use the wedge device corresponding to the
...
root partition, instead of punting. This makes booting work
with traditional disklabel disks and wedge autoconfiguration.
- factor out disk opening code.
2006-08-12 21:45:22 +00:00
christos
e43176da19
add dk.
2006-08-12 19:55:42 +00:00
christos
f96e7c6a82
Revert previous borken change.
2006-08-12 19:15:19 +00:00
fvdl
3a0f71ac74
Make sure to override the trigger variable with IST_LEVEL, as well
...
as the ioapic flags, in the case of an ACPI interrupt without
override.
2006-08-12 16:20:58 +00:00
fvdl
9558563497
Record the ACPI global int in the interrupt structure for ISA interrupt
...
overrided (e.g. the SCI interrupt), so that it may be found correctly by
the ACPI interrupt establish function, should the number be different
from the original source.
2006-08-12 16:19:13 +00:00
christos
b300b74469
Disable SYSTRACE by default on all kernels (discussed with core)
2006-08-12 15:29:52 +00:00
uwe
a2668e7027
Link libkern last. It contains functions normally found in libgcc, so
...
other libraries might have references to them.
Makes this compile with gcc4 (that emits calls to __ash[rl]di3 in libsa).
2006-08-12 11:38:11 +00:00
macallan
5f55aaa2e1
Add audio input support. From Magnus Henoch, fixes PR 32664
2006-08-11 20:37:43 +00:00
rjs
f80e237485
Add timecounter support. Copied from prep.
2006-08-11 15:19:59 +00:00
yamt
467e0c9853
"xm shutdown" support for xen3. ok'ed by Manuel Bouyer.
2006-08-11 13:22:43 +00:00
xtraeme
2dc3c42b88
* Skip duplicated freq values (they show up with different fid/vid).
...
* Fix cstate->fsb before calling k7pnow_states(), we need to use CPU
MHz value like openbsd does.
Tested by Rhialto.
2006-08-10 19:45:09 +00:00
xtraeme
f0c9466074
Update license. I've been talking with Martin Vegiard (original author)
...
and he wanted to move his license to TNF, make it so.
2006-08-10 17:24:10 +00:00
xtraeme
423aebde2b
- Add k7_powernow_destroy() prototype into cpu.h.
...
- Call k7_powernow_destroy() unloading the module.
2006-08-08 21:04:29 +00:00
xtraeme
c822683a97
Attach the "available" node under "frequency". Thanks to Robert Swindells.
2006-08-08 20:13:27 +00:00
cube
f48480c398
files.x86 isn't included by Xen kernels, so opt_powernow_k8.h never gets
...
created by config(1), and thus it's not safe to use it in cpuvar.h.
Simply declare the prototype for k8_powernow_init in powernow.h. No need
to #ifdef protect a prototype, after all, only its users.
Un-breaks build of Xen kernels.
2006-08-08 16:34:34 +00:00
tsutsui
75c544cd93
Workaround fix for a problem caused after IPL_* macro changes.
...
Based on a patch from mrg on port-sun2.
2006-08-07 23:29:38 +00:00
tsutsui
cab7ee65e0
Remove __P().
2006-08-07 23:24:55 +00:00
tsutsui
5011ef47f2
uvm_pagealloc(9) can fail, so handle that case in pmap_enter(9).
2006-08-07 23:19:36 +00:00
xtraeme
08d26dfcb7
Enable POWERNOW_K8, now that it's working.
2006-08-07 21:33:49 +00:00
xtraeme
b34720ab68
* Create "machdep.powernow.frequency" again, it should work with estd.
...
* Remove flags member of powernow_cpu_state, we don't need it.
* Rename fsb member of powernow_cpu_state struct to pll, to use
same struct than is used in powernow_k8.c.
2006-08-07 21:16:03 +00:00
xtraeme
a4a1d218d3
* Do not change struct powernow_pst_s (I added another member in my
...
previous patch) and this MUST be of that size, otherwise the tables
won't be found.
* powernow_k8.c moved into x86/x86, it should work both i386 and amd64.
* Added more DPRINTFs needed to found the first problem.
* Create "machdep.powernow.frequency" again, I can't remember why I
removed frequency... it should work with estd now.
* Do not try to call k[78]_powernow_init() if cpu is not AMD (thanks
to christos).
And more things I can't remember, but this time it will work in
Athlon 64 cpus and it won't crash in EM64T cpus.
2006-08-07 20:58:23 +00:00
oster
e350cc0fbe
Model 14 here is the 'Pentium-M (Yonah)', so let's use that
...
instead of the default.
2006-08-07 17:41:54 +00:00
tsutsui
8dc36c4c0f
KNF, TAB/space cosmetics
2006-08-07 17:36:53 +00:00
cube
bb041282a1
Correctly free freq_names and cstate.
...
XXX This code is bogus anyway. Global variables vs. MP systems, anyone?
2006-08-07 11:39:30 +00:00
xtraeme
421fdf2f64
Free freq_names if k[78]pnow_current_state is NULL, pointed out
...
by cube.
2006-08-06 18:21:32 +00:00
dyoung
0cf23243f9
Use ${SYSDIR}/arch/mips/ instead of ../mips/, which was fragile.
2006-08-06 17:22:47 +00:00
dyoung
bc21bda1c9
Make the 'tags' target work better: use ${SYSDIR}/arch/evbmips/
...
instead of ../evbmips/, which was pretty fragile. Cope with long
argument lists using the echo ${args} | xargs ctags idiom used in
other architectures' tags target.
2006-08-06 17:21:58 +00:00
xtraeme
e7d2347699
* Sync powernow_k7.c driver with OpenBSD, it seems to work much
...
better finding PST tables.
* Use functions defined in powernow_common.c to detect if the
CPU can run powernow.
* Update the LKM with current code.
2006-08-06 16:05:07 +00:00
christos
0fe2e6efc3
PR/34116: Takuya SHIOZAKI: acpiapm(4) misuses config(9)
...
acpiapm(4) always matches the first node of AML, which is unrelated
with acpiapm. Separate acpi(4)'s children into two individual interface
attributes.
2006-08-06 15:46:54 +00:00
xtraeme
9c74798bdd
AMD PowerNow!/Cool`n'Quiet driver for NetBSD/amd64,
...
adapted from OpenBSD.
Tested on a few machines:
http://bigbird.dohd.org:3021/NetBSD/dmesg
http://www.bsd.org.il/netbsd/acpi/dmesg
Thanks to cube, elad and others for testing and fixes.
Enabled by default on GENERIC.
2006-08-06 15:37:21 +00:00
bjh21
891d055e7c
Nothing in the tree pays any attention to "options NC" any more, so don't set
...
it.
2006-08-05 23:11:11 +00:00
bjh21
6e83f00384
The Hydra code should probably be removed, but until it is, it may as well
...
not generate spurious diffs in my tree, so bring it up to my working version.
2006-08-05 23:03:21 +00:00