Commit Graph

48357 Commits

Author SHA1 Message Date
jmcneill
b1cb1c6dcb PR# 38683 - T61 cannot suspend with recent kernels
Don't restore spl until after AcpiLeaveSleepState.
2008-09-10 03:56:12 +00:00
macallan
cc43cb490b get rid if some mistyped magic number, spotted by Marco Trillo
While there map only the space we actually need.
Needs to be tested on actual hardware.
2008-09-10 00:33:12 +00:00
tron
5f566e7cf3 Remove duplicate definition of "bootinfo" structure.
Patch provided by Juan RP in PR kern/39495.
2008-09-09 12:09:31 +00:00
ober
ed773dc9c5 Adding iwn(4) to GENERIC 2008-09-09 03:26:42 +00:00
jmcneill
4b0864422d Add uvideo(4) 2008-09-09 01:18:45 +00:00
gmcgarry
0de5da9678 Replace most gcc-specific __attribute__ uses with BSD-style sys/cdef.h
preprocessor macros.
2008-09-08 23:36:53 +00:00
joerg
08c7b8a922 Make the amount of backing memory a macro to simplify changing it. 2008-09-08 21:32:50 +00:00
pgoyette
15c5293824 Separate checking of sensor value vs threshold/limit value into two
routines, so we can distinguish between an over-limit vs under-limit
condition.  Set sensor state appropriately based on which threshold
is exceeded.

To do: come up with a means of detecting non-existent fans vs broken
fans.  Currently, both report a valid value of "0 RPM" at least on
some platforms.

OK garbled@
Tested by simonb@
2008-09-08 03:05:38 +00:00
tron
b2672204e3 Remove references to non-existant kernel option NO_TSC_TIME.
This fixes PR port-i386/39460 by Juan RP.
2008-09-07 12:01:25 +00:00
jmcneill
ab5af76226 Enable video(4) and pseye(4) 2008-09-06 20:08:01 +00:00
skrll
28945b3253 Add a comment and whitespace. 2008-09-06 09:45:57 +00:00
tron
0f256b9d59 Compile NetBSD/amd64 kernels with "-Wextra". Patches contributed by
Juan RP in PR port-amd64/39266.
2008-09-05 13:37:24 +00:00
martin
feab9a1220 Fix machine_arch vs. machine confusion, PR 39436.
OK: garbled
2008-09-01 19:03:44 +00:00
mrg
db754c0bc1 remove a strain # endif from the previous commit. 2008-08-31 23:23:42 +00:00
fvdl
1f23ad28e6 If tsc_freq is 0 (probably due to bad virtualization, as currently
seen under VirtualBox), don't try to use TSC as a timecounter source
to avoid trouble. Matches the FreeBSD behavior.
2008-08-31 17:24:14 +00:00
martin
3c52d9932f We are not creating a.out NMAGIC files, and handling the required alignement
of sections explicitly in the ldscript, so do not pass -n to ld.
This fixes the strange combined text/data sections seen with certain
(smaller) kernels as explained on tech-toolchain.
Found by Nick Hudson, ok: matthew green.
2008-08-30 13:23:55 +00:00
tsutsui
3a125a98e1 Add CPUFLAGS to optimize for mips3 since no mips1 machines on this port. 2008-08-30 03:14:44 +00:00
matt
e896294a6c Remove non-__ELF__ snippets. 2008-08-29 19:08:29 +00:00
matt
d26637cf86 Remove non-__ELF__ support. Use .pushsection/.popsection for RCSID. 2008-08-29 19:00:25 +00:00
matt
c2931c2bab use uint32_t. 2008-08-29 18:58:22 +00:00
matt
9906ead4b6 Drop support for compiling a.out kernel. Elves rule! 2008-08-29 18:25:01 +00:00
tsutsui
37661d2fc1 Fix a fallout of device_t/softc split for com(4) devices.
Per PR port-hpcmips/39426 from Nozomu Ando.
2008-08-29 12:08:30 +00:00
gmcgarry
3c9a95916d Wrap compiler-specific flags with HAVE_GCC and HAVE_PCC as necessary. Add a few flags for PCC. 2008-08-29 00:02:21 +00:00
martin
d38a14761e use device_private() to get the softc 2008-08-28 19:17:55 +00:00
skrll
2958809c8c Whitespace. 2008-08-28 08:45:26 +00:00
skrll
6a21cfdeb4 ANSIfy 2008-08-28 08:25:46 +00:00
jmcneill
ebf54f79dc Add support for keylargo-style mediabays, as found in eg. PowerBook3,1 2008-08-28 04:05:50 +00:00
martin
5c26a4b510 Turn a printf into a DEB 2008-08-27 22:05:13 +00:00
jmcneill
5297b0caca PR#39414: No audio from awacs on PowerBook G3 (Firewire/Pismo)
Don't enable parallel output on PowerBook3,1 models.
2008-08-27 14:31:46 +00:00
matt
7dfcaf179b Add CPU_CORTEXA8 2008-08-27 11:18:40 +00:00
matt
b44c8df8f6 Add support Cortex-A8. Pretend they are ARM11s. Support new cache sizing
method introduced with Cortex-A8.
2008-08-27 11:07:49 +00:00
matt
51b80a6c0f Add new CPU Cache register definitions for Cortex-A8. 2008-08-27 11:04:23 +00:00
matt
b1623157a5 Cleanup OMAP2 files. Change most omap2430* to omap2_*. This is in
preperation for the OMAP 3530 (OMAP 3) support.  Some 3530 definitions
added.
2008-08-27 11:03:09 +00:00
macallan
88d57c1556 add options OPENPIC_DISTRIBUTE 2008-08-26 16:55:48 +00:00
macallan
a26fbe2eae add battery and smartbat at pmu 2008-08-26 16:27:07 +00:00
macallan
600cca055e throw out some obsolete PIC_ options, explain why ofb is disabled 2008-08-26 16:24:45 +00:00
macallan
deb7150174 add spdmem(4) 2008-08-26 16:20:17 +00:00
macallan
43538d7982 throw out options OPENPIC
Now the G5 kernel builds again with new style PIC code enabled
2008-08-26 16:18:49 +00:00
macallan
a872905132 let ibmcpc pull in openpic stuff 2008-08-26 16:17:14 +00:00
macallan
1f157c8247 add memory at mainbus, for spdmem 2008-08-26 16:14:45 +00:00
macallan
2211ccf058 add spdmem(4) support
From Marco Trillo
2008-08-26 16:11:18 +00:00
pgoyette
d664f40b97 Clean up previous: add bit definitions for some new fields, and use "old"
style bitmask_printf(9) format string for consistency with the rest of the
file.  No functional change.

OK cegger@
2008-08-26 13:43:47 +00:00
drochner
d32cf1871e remove stray .globl declaration for nonexistent cpu_id, from
Henning Petersen per PR port-i386/39398
being here, remove some more unneeded .globls
2008-08-26 13:07:48 +00:00
cegger
407e3090e9 beautify dmesg with MPVERBOSE:
don't print an empty line.
2008-08-26 12:04:18 +00:00
rjs
ec1968ceb9 Set MACHINE to sparc for 32bit kernels.
Approved by martin.
2008-08-26 11:37:56 +00:00
cegger
c701fca25a Xen: Mark NMI and machine check handlers as interrupt gates. 2008-08-26 08:43:00 +00:00
martin
6d59516d22 Deal with kernels that have a combined text/data segment. Output a big
warning when booting them.
2008-08-25 22:31:12 +00:00
cegger
17301e4460 GENERIC: add auacer(4) which is already in XEN3_DOM0
XEN3_DOM0: add azalia(4) which is already in GENERIC
2008-08-25 15:27:47 +00:00
cegger
2dd3a5d650 Add machine check hypercall.
There will be one file where this will be used. In the initialization a hypervisor version check will verify, if this feature is usable or not.
2008-08-25 09:21:45 +00:00
pgoyette
1251031ee5 Shorten SYSCALL/SYSRET to SCALL/RET bit definition so it fits on one line. 2008-08-24 22:04:21 +00:00