Commit Graph

194370 Commits

Author SHA1 Message Date
kiyohara
642f00631c Get and parse root-device. 2010-10-27 10:42:12 +00:00
kiyohara
5165d39f48 Set root-device to bootinfo. 2010-10-27 10:37:38 +00:00
kiyohara
6652e79aed Add macro BTINFO_ROOTDEVICE and struct btinfo_rootdevice.
And indent.
2010-10-27 10:33:23 +00:00
rmind
366aa69d08 do_posix_fadvise: check for a negative length; truncate the offset and
round the end-offset, not vice-versa.

Thanks to jakllsch@ for debug info.
2010-10-27 02:58:04 +00:00
wiz
83306973da Improve wording after consultation with njoly. 2010-10-26 22:34:33 +00:00
gsutre
af565a28d4 An _ADR object is not required for PCI root bridges. To solve
this, the structure acpi_pciinfo now tells whether the ACPI
device node is a PCI bridge, a regular PCI device, or both.

Problem reported by jmcneill@, who also suggested the solution.

ok jmcneill@, jruoho@
2010-10-26 22:27:44 +00:00
cegger
cd68b811ed Add diagnostic check which hits when PR 42455 is reproduced.
Idea from hans@
2010-10-26 11:44:53 +00:00
jruoho
85aafab84b Add LEN0014. (And to the previous commit; a driver for this, not PNP0C32, is
possibly coming.)
2010-10-26 09:13:54 +00:00
jruoho
4e313088ed Regen. 2010-10-26 08:59:06 +00:00
jruoho
91c0c3fd42 Add more identifiers for ATM chips.
Also add PNP0C32 for "quickstart buttons". A driver for this comes later.
2010-10-26 08:57:46 +00:00
jruoho
dfc6c7a7ff Remove some unused (ACPI) constants. 2010-10-26 07:54:12 +00:00
jruoho
e2fa7d0097 Add asus(x) and hpqlb(4). 2010-10-26 05:42:51 +00:00
jruoho
a2a33b95b3 Build asus(x) and hpqlb(4) as modules on x86. 2010-10-26 05:36:49 +00:00
jruoho
6fdfbe79c2 Add support for module(9). 2010-10-26 05:28:29 +00:00
jruoho
871220a39a Add wskbd_hotkey_deregister() to match wskbd_hotkey_register().
XXX: This is kind of futile; the only user of the wskbd(4)'s hotkey interface
     is hpqlb(4), which is a questionable driver, being, by design,
     limited only to the laptop model for which the driver was written.
2010-10-26 05:12:34 +00:00
jruoho
8eae6f006a Bump WARNS to 4. 2010-10-26 04:37:33 +00:00
jruoho
a953788eba Use kmem(9) instead of malloc(9). 2010-10-26 04:24:21 +00:00
jruoho
6b1e267f66 Refactor slightly and bump WARNS to 4. 2010-10-26 03:11:10 +00:00
jnemeth
6e39448e16 Revert most of previous:
- props being NULL is NOT an error and is a condition that all modules
  must be prepared to handle
- having this module bomb out for spurious reasons makes this module
  difficult to use for testing things
- keep comment update
- keep some KNF
- add a notice for the case when props is NULL
2010-10-25 22:41:42 +00:00
njoly
5d63576039 Make putenv(3) fails with EINVAL for a null pointer, or for a string
that either miss or start with a `=' character.

Adjust man page and testcase accordingly.
2010-10-25 20:35:36 +00:00
pooka
ac9dbb05ed make printed string more accurate 2010-10-25 17:49:36 +00:00
jruoho
5679460fc3 Update for new ACPI modules. 2010-10-25 17:19:05 +00:00
jruoho
4b8430b9d1 Build acpidalb(4), acpitz(4), acpivga(4), and aibs(4) as modules on x86.
More to come later.
2010-10-25 17:17:56 +00:00
jruoho
9fad28a567 Add support for module(9). 2010-10-25 17:06:58 +00:00
jruoho
a60aadf22e Fix build failure. 2010-10-25 15:38:05 +00:00
tron
1181f40421 Re-enable support for reading files of at most 8MB via mmap(2).
Write out the mmap-ed data in small chunks to avoid locking the output
file for a long time.

Suggested by David Holland on "source-changes-d" mailing list.
2010-10-25 08:19:47 +00:00
jruoho
70e14dc983 Bump WARNS to 4. 2010-10-25 07:48:03 +00:00
wiz
ecad7beb9c Bump date. 2010-10-25 07:37:11 +00:00
wiz
329476bc01 Nit-picks. 2010-10-25 07:36:45 +00:00
wiz
3dfc23e926 Bump date. 2010-10-25 07:34:30 +00:00
jruoho
6f8ac939ae Build acpiacad(4), acpibat(4), acpibut(4), acpicpu(4), acpilid(4), and
thinkpad(4) as modules on x86. More to come later.
2010-10-25 06:40:32 +00:00
jruoho
9ae31c4896 AEAP, ATEOTD, CU, DND, EOM, FNO, GBTW, GFU, GJ,
GL, HF, IYKWIM, JFTR, KOS, PPL, TTYS, WTG, YGM.
2010-10-25 06:14:10 +00:00
wiz
7baeb17787 Fix typo. 2010-10-24 23:38:06 +00:00
dholland
6d14a316d9 Mention err/warn. Note that they're generally preferred to perror().
Might want to strengthen the wording.
2010-10-24 23:10:51 +00:00
dholland
1a6b596853 +YAWPFAPR (you are welcome; please file a problem report) 2010-10-24 22:37:35 +00:00
dholland
a58da75ef7 +CG (center of gravity) 2010-10-24 22:36:41 +00:00
christos
2c07b62e1d add zlib 2010-10-24 19:23:22 +00:00
jmcneill
b70feaec53 build acpiwmi as a module on x86 2010-10-24 18:29:33 +00:00
jmcneill
9750ca2f9c add support for building as a module 2010-10-24 18:26:29 +00:00
tron
1dc4fb4ea1 Double the size of the allocate environment vector when we resize it.
This should speed up extending the environment via setenv(3).
2010-10-24 17:53:27 +00:00
tron
410614d6b3 Replace _FPOS_OVERFLOW() macro with a static inline function called
__fpos_overflow() that doesn't cause any lint warnings.
2010-10-24 17:44:32 +00:00
christos
d37d98d5b7 reflect current reality. 2010-10-24 16:46:38 +00:00
jmcneill
abee62ef8f build wmi drivers as modules on x86 2010-10-24 16:31:35 +00:00
jmcneill
4e44999554 add support for building as modules 2010-10-24 16:25:31 +00:00
jmcneill
5991cdfeba add rescan support 2010-10-24 15:07:20 +00:00
tsutsui
68cd53d20c - make local functions/variables static
- export more cons(9) functions in pvrvar.h
2010-10-24 13:34:27 +00:00
pgoyette
c829d16824 Due to timing discrepancies desribed in PR kern/43997, tickle the
watchdog just a little bit sooner.  This maintains the spirit of the
test while avoiding the actual bug.  This can be reverted once (if)
the PR is fixed.
2010-10-24 13:16:12 +00:00
pgoyette
7127b715c2 Add a third test-case to verify that disarming of the watchdog works. 2010-10-24 13:11:41 +00:00
jruoho
8df7e989f6 Add wmimsi(4). 2010-10-24 09:27:45 +00:00
jruoho
6abecfc925 Link wmimsi(4) to acpiwmi(4). 2010-10-24 08:57:57 +00:00