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
bjh21
3c8394c448
Centralize the various checks for validity of a CPU context in one macro,
...
so we don't have to get it right in lots of different places.
2006-08-05 22:54:28 +00:00
bjh21
d97d9a1480
Xarm32VIDC has supported pckbd(4) for several releases now, so it's probably
...
safe to stop using rpckbd(4) in wscons configurations.
2006-08-05 22:33:44 +00:00
sanjayl
265929b20e
1st cut of Powermac G5 support (uses bridge mode).
2006-08-05 21:26:48 +00:00
bjh21
69c3a7ed34
bcopy -> memcpy
...
bzero -> memset
2006-08-05 21:25:39 +00:00
bjh21
758ec34161
ANSIfy, un-__P, and generally KNF.
2006-08-05 18:22:57 +00:00
bjh21
21a0df473c
This file seems to be unused, left behind by the last I^2C overhaul.
...
Remove it.
2006-08-05 16:44:43 +00:00
bjh21
1426eb6e49
ANSIfy, un-__P, light KNF.
2006-08-05 16:38:57 +00:00
mhitch
74f4d61b61
gcc4 fix: change a couple of volatile void functions.
2006-08-04 02:32:30 +00:00
mhitch
710f94acb4
gcc4 fix: needs string.h
2006-08-04 02:30:48 +00:00
mhitch
856bf4faf5
gcc4 fix: needs stdlib.h
2006-08-04 02:30:00 +00:00
mhitch
7e08a789a6
gcc4 fix: correct declaration of 'end'.
2006-08-04 02:26:49 +00:00
mhitch
1b474f00d6
gcc4 fix: change prototype and definition of volatile void usage().
2006-08-04 02:23:23 +00:00
mhitch
370e3a585e
gcc4 fix: need to cast string variable.
2006-08-04 02:21:19 +00:00
mhitch
8511e80fdb
gcc4 fix: gcc4 more strict on checking signed/unsigned.
2006-08-04 02:19:55 +00:00
mhitch
5a37c00320
gcc4 fix: gcc4 bug generates a label twice. This label can't be conveniently
...
ignored like bpendtsleep, but a clue from the commit skipping the bpendtsleep
label for vax provides a workaround. Move the label to an earlier location
and gcc4 only generates one label. The label just marks the start of
memory protected during a memory test, so excluding a little more memory
from that test should be fine.
2006-08-04 02:17:34 +00:00