he
ceeb812c89
Unify the declaration of OF_interpret() between sparc{,64} and macppc
...
by adding the "nargs" argument to the macppc version, and fix the macppc
ports uses of OF_interpret() accordingly.
Also move the declaration of OF_interpt() from macppc's autoconf.h to
ofw/openfirm.h. This fixes the build of the macppc port.
Approved by macallan@.
2007-01-20 21:42:12 +00:00
xtraeme
dade97a1c0
Do not attach this driver if idhi and idlo are the same frequency,
...
I've seen that in some Intel Core Duo CPUs.
2007-01-20 20:24:13 +00:00
xtraeme
614a7d1ec6
Remove extra '()' around the string 'MHz'.
2007-01-20 20:19:36 +00:00
xtraeme
a3252760bc
viaenv(4) does not need anymore viapm.
2007-01-20 18:48:17 +00:00
gdt
4a62427865
KNF/whitespace in code I recently added; no real changes.
2007-01-20 14:46:21 +00:00
isaki
18d9998d72
Add AMD Geode LX.
...
OK'ed by tsutsui@ on port-i386.
2007-01-20 10:28:49 +00:00
kiyohara
672e3eab7c
Sorry...
...
btuart not yet.
2007-01-18 10:24:53 +00:00
kiyohara
a9dae91c04
Support com*.
...
Add options GXIO_BLUETOOTH_ON_HWUART, but not yet btuart.
Cleanup some configurations.
2007-01-18 10:15:20 +00:00
kiyohara
a847a1afbe
Initialize GPIO of *UARTs and supports.
2007-01-18 10:06:47 +00:00
kiyohara
7dbdf0112d
Use device_private() and aprint_*.
2007-01-18 10:02:55 +00:00
macallan
6a0b5a67e6
add commented out definitions for new ADB subsystem and G3 audio
2007-01-18 00:58:55 +00:00
macallan
38b072ded2
make some tables static to avoid collisions
2007-01-18 00:43:00 +00:00
macallan
15a3f9b614
fix accidential commit, this time really only add the bus_space_tag
2007-01-18 00:19:30 +00:00
macallan
c11af36bf1
pass a bus_space_tag to children
2007-01-18 00:17:22 +00:00
macallan
834aa52ed6
shuffle #includes, add a bus_space_tag
2007-01-17 23:39:09 +00:00
macallan
4cc86139d1
add iBook keyboard type
2007-01-17 23:36:37 +00:00
macallan
0990226c00
use sgsmix if present and appropriate
2007-01-17 23:34:29 +00:00
macallan
8e8447a9f0
use pmu and cuda for reset, shutdown etc. when appropriate
...
also deal with adbkbd vs. akbd
2007-01-17 23:27:59 +00:00
macallan
a17b551fce
new drivers for pmu and cuda
2007-01-17 23:25:45 +00:00
macallan
14e075c835
add pmu and cuda at obio
2007-01-17 23:23:08 +00:00
macallan
02a1d394fc
finding the console node / instance handle moved into machdep.c
2007-01-17 23:08:08 +00:00
macallan
398d6bdd70
prefix a hexadecimal address with 0x
2007-01-17 23:05:49 +00:00
macallan
ee9492db19
use properties to pass additional data to the console device,
...
like static EDID, framebuffer parameters etc.
2007-01-17 23:00:31 +00:00
macallan
dddce0d0c3
set FORCE_FUNCTION_KEYS since pretty much all halfway recent *Books need it
...
also disable COMPAT_LINUX for now, will re-enable it when it's actually useful
2007-01-17 22:45:51 +00:00
imp
74b072c012
Sam's npe support was ported from FreeBSD and is enabled in the NSLU2
...
kernel, so update the README to reflect a more current status of the
ethernet under NetBSD.
2007-01-17 16:00:20 +00:00
christos
2f00fab993
remove CPUID2MODEL, since it is defined in specialreg.h
2007-01-16 22:32:46 +00:00
gdt
89c94a6a6f
At perry@'s urging, add untested heuristic to set rbus_min_start to 3
...
GB on machines with (strictly) more than 2GB of ram.
If you have a machine with > 2GB of ram and cardbus, please let gdt
know if this works.
2007-01-16 18:46:03 +00:00
christos
ae8983cebf
PR/35430: Izumi Tsutsui: Identify amd64 CPU on NetBSD/i386
2007-01-16 15:43:44 +00:00
macallan
7d1cc4454c
for trackpads add a sysctl to control wether tapping causes button events
2007-01-14 23:59:06 +00:00
aymeric
211211993c
Basic support for RTAS (CHRP's Run-Time Abstraction Services).
...
Tested on the Efika; now it knows what time it is.
rtas can attach to mainbus. Not added to any kernel config file yet.
2007-01-14 22:18:02 +00:00
aymeric
0725ba2be2
disable MMU in restoremmu. This generally makes sense and is required for the
...
Efika
2007-01-14 22:11:27 +00:00
bouyer
9c9a89ef4c
Uncomment pseudo-device raid and options RAID_AUTOCONFIG, to match
...
i386's INSTALL. Suggested by Florence HENRY on port-amd64@
2007-01-14 19:23:31 +00:00
ad
236a8ab694
Update x86_pause() as per i386.
2007-01-14 17:20:32 +00:00
ad
466538383c
.. but only if _KERNEL is defined.
2007-01-14 14:08:55 +00:00
ad
d0a255a895
On second thought, implement x86_pause() as a regular function. The small
...
delay from the call is useful for spinlock backoff.
2007-01-14 14:03:00 +00:00
jdc
7d6e7c5672
Apply the same UBC, data and stack limits that are applied to SUN4C to
...
SUN4 as well.
The data and stack limits are definitely needed, otherwise MI code will try
and map shared libraries in the 4/4c MMU hole. The UBC limits may not be
necessary, but SUN4 machines are unlikely to have much larger amounts of
memory than this caters for (64Mb).
SUN4 machines will now boot userland with this change.
Thanks to martin@, mrg@ and uwe@ for hints while debugging this.
2007-01-14 11:19:44 +00:00
jdc
16ba0816c7
Don't check for reserved softintr slots on SUN4, as 4/300's have hardware
...
that uses the same levels.
2007-01-14 11:13:41 +00:00
freza
9c3107d24d
Remove SYSTEM_LD_TAIL_EXTRA definition since sys/conf/Makefile.kern.inc
...
already runs dbsym(8) if SYMTAB_SPACE option is defined for the kernel
in question.
OK uwe@
2007-01-13 22:53:54 +00:00
cube
5aa5bf0655
Include machine/specialreg.h, needed if IPKDB is selected.
2007-01-13 17:54:26 +00:00
uwe
b7d531ed9e
Add options OFB_FAKE_VGA_FB (commented out).
...
XXX: Where's ofb(4)? (hi, macallan!)
2007-01-12 21:24:40 +00:00
gdt
11343fbd1f
Add a heuristic to set rbus_min_start based on total RAM. The new
...
behavior is to choose 0.5 GB for <= 192 MB, 1 GB normally, and 2 GB
for >= 1 GB. This should make the defaults work additionally old
Thinkpad 600Es, and also on notebooks with lots of RAM (e.g. T60 with
2GB).
ok christos@
2007-01-12 20:34:09 +00:00
ad
151f7e0198
x86_pause(): do issue the 'pause' instruction, for EMT64 CPUs.
2007-01-12 20:22:04 +00:00
uwe
369020109e
options<space><tab> police
2007-01-12 19:34:33 +00:00
uwe
c2f6157b26
Replace long list of "audio* at foo?" attachments with single
...
audio* at audiobus?
2007-01-12 19:30:35 +00:00
uwe
0c62f0125f
options<space><tab> police
2007-01-12 19:09:07 +00:00
ober
8f81a1b5a8
Update zaurus port to include TODR/TIMECOUNTER.
...
zaurus# ./timetest -A -t 600
Will test active counter and counters with positive quality from saost_count(q=100, f=3686400 Hz) clockinterrupt(q=0, f=100 Hz) dummy(q=-1000000, f=1000000 Hz)
Testing time for monotonicity of timecounter "saost_count" for 600 seconds...
claimed resolution 271 nsec (3690036.900369 Hz) or better, observed minimum non zero delta 2712 nsec
switching to timecounter "saost_count"...
Testing time for monotonicity of timecounter "saost_count" for 600 seconds...
claimed resolution 271 nsec (3690036.900369 Hz) or better, observed minimum non zero delta 2712 nsec
switching to timecounter "clockinterrupt"...
Testing time for monotonicity of timecounter "clockinterrupt" for 600 seconds...
claimed resolution 10000000 nsec (100.000000 Hz) or better, observed minimum non zero delta 9999999 nsec
TEST SUCCESSFUL
ok peter@
2007-01-12 13:06:11 +00:00
ad
a79c7e51e6
Define ipl_cookie_t._psl as uint8_t so that it can be packed into a
...
word with other seldomly written fields.
2007-01-12 00:55:40 +00:00
bouyer
4bd6fc948a
Fix still possible race condition where xbd_handler could still try to process
...
an event before the device is ready.
Reported, and tested by anzi at dnainternet net on port-xen.
2007-01-11 19:51:39 +00:00
ad
c1e9dad747
x86_errata: correct the definition of MSR_HWCR and re-enable. Problem
...
noted and debugged by Murray Armfield (murray at river-styx.org).
2007-01-11 17:24:30 +00:00
mouse
8fb29141e0
Hook srt into the rest of the kernel build machinery, so it works to
...
just uncomment the pseudo-device line (which arguably should go into
other ports' GENERICs too, and at some point may).
OKed by perry.
2007-01-11 05:36:29 +00:00