jruoho
a9db528e18
Rename acpi_get_node() to acpi_match_node() for consistency.
2011-06-21 03:37:21 +00:00
pgoyette
2c629d0bbf
Initialize current value for ENVSYS_DRIVE sensors
2011-06-20 22:02:55 +00:00
pgoyette
1281d34a15
Initialize battery capacity sensor value before registering.
2011-06-20 20:24:59 +00:00
pgoyette
1ad6aeb32e
Initialize sensor state before registering.
...
XXX Still need to fix i2c/ibmhawk.c
2011-06-20 20:16:19 +00:00
pgoyette
ac39d68c59
Initialize sensors states before registering.
2011-06-20 18:12:54 +00:00
pgoyette
e13c3a5c83
Initialize sensor states before registering
2011-06-20 18:12:06 +00:00
pgoyette
57e6b23a48
Initializes sensors states before registering.
2011-06-20 17:48:45 +00:00
pgoyette
564fdf67d5
Initialize sensor state before registering
2011-06-20 17:31:37 +00:00
pgoyette
b9603c5a8f
Initialize sensors states before registering.
2011-06-20 17:29:06 +00:00
pgoyette
19cf0602df
Initialize sensor state before registering.
2011-06-20 17:24:16 +00:00
pgoyette
930a8a50f3
Initialize sensors states before registering.
2011-06-20 17:21:50 +00:00
jruoho
b73004759f
Regen.
2011-06-20 15:56:36 +00:00
jruoho
d3e9a80c24
Add ENE0100, a KB3924-based cir(4) chip.
...
From dmesg supplied by hasina rakotoarisoa on gnats.
2011-06-20 15:56:07 +00:00
jruoho
9016a5d8a8
Use the new acpi_match_cpu_handle() from acpi_util.c.
2011-06-20 15:36:49 +00:00
jruoho
d7b285b083
Use the new acpi_match_cpu_info() from acpi_util.c.
2011-06-20 15:33:49 +00:00
jruoho
0f056e49c5
Add two new functions, acpi_match_cpu_info() and acpi_match_cpu_handle(),
...
which will match a given struct cpu_info with the corresponding ACPI handle,
and vice versa.
2011-06-20 15:31:52 +00:00
pgoyette
b0a4d36275
Initialize sensor state before trying to register.
2011-06-20 15:00:04 +00:00
pgoyette
09568ba27e
Maintain our own storage for volume and disk ID info rather than
...
(ab)using envstat's storage.
XXX Compile-tested only.
2011-06-20 13:26:58 +00:00
pgoyette
3dbac3b2ec
Use {...} to prevent premature exit from initialization function - this
...
lets the atf tests run again.
Move validation of current value vs min/max into the refresh routine
where it will get checked every time, not just at initialization.
While here, do a little more housekeeping:
- Retrieve numeric property value once
- Ensure that a numeric-specified sensor type is valid
- printout any unrecognized properties (DEBUG only)
2011-06-19 15:52:48 +00:00
martin
af2af432ae
Initialize sensor states to SINVALID
2011-06-19 11:44:03 +00:00
martin
b2ead544fd
Instead of crashing, print a usable error message when a driver eroneously
...
does not properly initialize sensor state.
2011-06-19 11:40:26 +00:00
nonaka
e191e46afa
Pass table_id to sme_find_table().
2011-06-19 05:26:31 +00:00
nonaka
fa7cbdd70b
fix typo.
2011-06-19 05:17:38 +00:00
christos
3cc7694381
simplify and don't deref NULL.
2011-06-19 04:23:18 +00:00
pgoyette
13580ba5b6
Use correct routine to retrieve string value from prop-dictionary
2011-06-19 04:08:48 +00:00
pgoyette
eff7c483c3
Rather than requiring the user to know the internal encoding of sensor
...
types, allow the user to specify the type using the units description.
XXX Numeric specification is still permitted but will be removed soon.
2011-06-19 03:12:31 +00:00
pgoyette
3b3fd97442
Add routine to lookup description tables by description instead of by
...
type.
2011-06-19 03:09:43 +00:00
joerg
fd3766f71b
Explicitly initialise vaddr_t and let dead store elimination remove it
...
later.
2011-06-16 16:20:28 +00:00
pgoyette
5960b5e520
Previous fix broke the setting of current value for Indicator and
...
Battery-Charge sensors. Fix this.
2011-06-15 13:34:13 +00:00
jruoho
c9c68d3723
Modularize hpet(4). Works nicely with the multiple bus locations.
2011-06-15 09:09:48 +00:00
jruoho
d67c24f09b
Do not entirely bypass the printfs during resource parsing, as many drivers
...
rely on those for their autoconf(9) messages. Instead add a "quiet" option.
2011-06-15 09:02:38 +00:00
jruoho
ced73275c5
Modularize hpet(4). Works nicely with the multiple bus locations.
2011-06-15 08:19:43 +00:00
jruoho
47c181238e
Remove printouts that mess with the autoconf(9).
2011-06-15 08:04:49 +00:00
jruoho
d762059910
Factor out hpet(4) from ichlpcib(4).
2011-06-15 06:43:20 +00:00
jruoho
0c1ae21bb3
Use defined constants.
2011-06-15 04:52:52 +00:00
jruoho
e0d3725369
Add detach function for hpet(4) at amdpcib(4).
2011-06-15 04:20:47 +00:00
jruoho
aad85e103e
Add detach function.
2011-06-14 16:33:51 +00:00
jruoho
6e72689aa7
Try to attach hpet(4) also via a specific HPET table. Fixes PR kern/43702.
2011-06-14 13:59:23 +00:00
jruoho
5fcd9d30f3
Call _PDC only after AcpiInitializeObjects(ACPI_FULL_INITIALIZATION).
2011-06-13 09:37:23 +00:00
jruoho
2ef5adcc96
Follow IA-64 with the x86-specific ACPI MD functions and move these where
...
they belong to. Remove an unused function. Minor KNF. No functional change.
2011-06-12 11:31:30 +00:00
jruoho
0fc4e4ab7e
Move the evaluation of the _PDC control method out from the acpicpu(4)
...
driver to the main acpi(4) stack. Follow Linux and evaluate it early.
Should fix PR port-amd64/42895, possibly also PR kern/42583, and many
other comparable bugs.
A common sense explanation is that Intel supplies additional CPU tables to
OEMs. BIOS writers do not bother to modify their DSDTs, but instead load
these extra tables dynamically as secondary SSDT tables. The actual Load()
happens when the _PDC method is invoked, and thus namespace errors occur
when the CPU-specific ACPI methods are not yet present but referenced in the
AML by various drivers, including, but not limited to, acpitz(4).
2011-06-12 10:11:52 +00:00
jruoho
ef74b36d13
Rewrite the aibs(4) driver in order to support new models. Draws from the
...
revision 1.6 (claudio@) of the OpenBSD's equivalent driver. Tested by mrg@.
2011-06-12 07:25:43 +00:00
matt
21e5ed3b5e
Use %# instead of 0x%
2011-06-12 05:29:42 +00:00
rmind
e225b7bd09
Welcome to 5.99.53! Merge rmind-uvmplock branch:
...
- Reorganize locking in UVM and provide extra serialisation for pmap(9).
New lock order: [vmpage-owner-lock] -> pmap-lock.
- Simplify locking in some pmap(9) modules by removing P->V locking.
- Use lock object on vmobjlock (and thus vnode_t::v_interlock) to share
the locks amongst UVM objects where necessary (tmpfs, layerfs, unionfs).
- Rewrite and optimise x86 TLB shootdown code, make it simpler and cleaner.
Add TLBSTATS option for x86 to collect statistics about TLB shootdowns.
- Unify /dev/mem et al in MI code and provide required locking (removes
kernel-lock on some ports). Also, avoid cache-aliasing issues.
Thanks to Andrew Doran and Joerg Sonnenberger, as their initial patches
formed the core changes of this branch.
2011-06-12 03:35:36 +00:00
rmind
089890a0b3
Fix the build of ALL kernel (hi matt@).
2011-06-12 03:26:20 +00:00
nonaka
51ff92dd24
split device_t/softc.
2011-06-11 16:34:36 +00:00
nonaka
2733867f91
Added LCD-8000UD-DVI entry.
2011-06-11 13:52:46 +00:00
nonaka
6dea84baed
regen.
2011-06-11 13:51:45 +00:00
nonaka
2c8ebb6a79
Added LCD-8000UD-DVI entry.
2011-06-11 13:50:06 +00:00
jmcneill
ea250cb42b
ehci_set_qh_qtd: terminate alternate next qTD pointer with EHCI_NULL, not 0
2011-06-10 14:20:34 +00:00