Commit Graph

16038 Commits

Author SHA1 Message Date
mycroft
0ec2bd2926 Whoops, forgot the /10 in the default case. 2003-10-31 21:52:11 +00:00
mycroft
3c3855c148 Print out the polling interval, and display a less confusing message if _TZP
is not defined.
2003-10-31 21:44:50 +00:00
mycroft
fbd3c995b1 Remove an outdated comment. 2003-10-31 21:39:51 +00:00
briggs
e6f9248f47 Use aprint_*(9) instead of printf() in attach routines. 2003-10-31 21:25:09 +00:00
mycroft
fec4c11f9e Catch up with ABI changes in ACPI-CA. Some additional changes to acpi_bat to
set the VALID bits correctly, so we don't report garbage for missing batteries.
2003-10-31 20:54:18 +00:00
mycroft
3970401fd9 Add a file. 2003-10-31 20:52:47 +00:00
mycroft
ded1804c79 Catch up with changes to the AcpiOs*() interfaces. 2003-10-31 20:52:30 +00:00
mycroft
6c29cf39bb Merge acpica-unix-20031029. 2003-10-31 20:51:07 +00:00
mycroft
0314a111c1 Import latest ACPI-CA. 2003-10-31 20:47:38 +00:00
mycroft
31273d1288 We were passing flags to AcpiEnableSubsystem() that aren't even used there.
Call AcpiInitializeObjects() to create global variables and run _INI methods.
2003-10-31 17:22:28 +00:00
mycroft
f0b481ee05 Swap the order of buffer initialization and _STA/_INI execution. _INI methods
sometimes want to store data in global buffers (e.g. on the Inspiron 8500, to
remember initial battery status).
2003-10-31 17:21:01 +00:00
reinoud
22f94d4a8e Rollback 2003-10-31 14:22:48 +00:00
reinoud
a0f1b459d6 Make it compile under gcc 2.95 again. Without the patch it gives an `might
be used uninitialised' warning.
2003-10-31 13:47:00 +00:00
reinoud
382038b55b Make it compile under gcc 2.95 again. I guess the initialisers were
stripped in the NULL = 0 -> NULL = (void *) 0 conversion.
2003-10-31 13:43:15 +00:00
kent
26aa3703e4 auich_calibrate():
- make the buffer longer to improve the precision of measurement
 - round off the result to the nearest multiple of 1000.
2003-10-31 08:15:53 +00:00
nisimura
51cdfee682 Added stpcide(4) driver for STMicroelectronics STPC IDE controllers. 2003-10-31 06:49:58 +00:00
mycroft
68a1d153b6 Use ratecheck() to prevent envstat(1) doing many ACPI calls at once. Now my
MP3 player doesn't skip...
2003-10-30 22:12:02 +00:00
matt
ab3d7937b5 Fix uninitialized warning. 2003-10-30 21:19:02 +00:00
mycroft
95dfd3bd55 Use AcpiEvulateObjectTyped() to simplify some code. 2003-10-30 20:29:54 +00:00
kent
d96125aa86 For ICH4/ICH5, set IOSE flag to make them compatible to old ICHs. 2003-10-30 19:33:51 +00:00
mycroft
9e419e7a10 Check to see if we have valid status info before looking at it. 2003-10-30 19:33:24 +00:00
kent
c88bf03d33 For ICH4/ICH5, set IOSE flag to make them compatible to old ICHs. 2003-10-30 19:30:26 +00:00
mycroft
208fa12050 Remove another extra AcpiGetObjectInfo(). 2003-10-30 18:15:35 +00:00
mycroft
97fa5fbf36 Minor tweaks:
* Only fetch the object info a second time if we activated the device.
* Do not attempt to activate a device with no HID.
2003-10-30 18:13:38 +00:00
mycroft
3dc763c88b Patches from Christos to fix double-frees and error handling. 2003-10-30 17:46:08 +00:00
hannken
c0818405f1 Complete last commit: Remove assigned-to but otherwise unused variable. 2003-10-30 10:02:16 +00:00
briggs
3c59c821ae Make sure we can transmit larger packets correctly.
Don't initialize extra fields of the ifp.
Use strcpy() instead of bcopy() for copying the device name.
Handle if_timer a bit better.
2003-10-30 04:11:36 +00:00
simonb
b6abb6ab1d Remove some assigned-to but otherwise unused variables. 2003-10-30 01:58:17 +00:00
bouyer
f974ecc32b Remove check for the error register value at probe time. There have been report
on -current-users of some drives not returning the proper value here.
This shouldn't affect the probe time for the common cases.
2003-10-29 22:09:41 +00:00
bouyer
14cd9d8cff freese->freeze, as pointed out by Frederick Bruck. 2003-10-29 22:05:15 +00:00
bouyer
ef9a315b24 - test if we have some work to do before tsleep() in the kernel thread,
in case the previous loop scheduled some more work to do (e.g. reset)
- use queue_freese to block the queue when a reset is pending too
- Avoid using WDCF_TH_RUN in some place that can be called from callout.
  If the kernel thread is tsleep()ing somewhere, we may come here with
  WDCF_TH_RUN set while being in the callout context. Fix a panic() in
  tsleep() reported by Chuck Silvers.
- Use AT_WAIT instead of WDCF_TH_RUN wdcwait(), as we may not be in the
  channel's thread context but still be able to tsleep(). Fix queue_freese
  panics for WDC_CAPABILITY_NOIRQ controllers (port-mac68k/23208 by
  Frederick Bruck).
2003-10-29 21:44:41 +00:00
mycroft
3fbc866a6e Back out the bogus initializer -- the compiler bug is fixed. 2003-10-29 21:26:43 +00:00
tsutsui
18b32ac5ba Switch arc to use MI mc146818 tod driver. 2003-10-29 18:17:49 +00:00
tsutsui
21ebbd9f3e Add a bogus initializer to appease gcc's uninitialized warning.
XXX osiop_checkintr() should be rewritten.
2003-10-29 18:03:22 +00:00
tsutsui
cb187dc1a7 Fix bogus GCC uninitialized variable warning. 2003-10-29 18:01:20 +00:00
tsutsui
a17f7ef138 Eliminate an uninitialized variable warning. 2003-10-29 17:45:55 +00:00
tsutsui
159c103f63 Fix think-o about century handling in settime function. 2003-10-29 17:41:36 +00:00
tsutsui
2ba8cd8f89 Add MI driver for mc146818 based time-of-day clock with todr(9) support. 2003-10-29 17:00:40 +00:00
mycroft
6e4d40343c Don't bother with one of the loops if the data to move is too narrow. 2003-10-29 04:43:18 +00:00
mycroft
75061b28a8 Calculate lastx and lastleft outside the loops... 2003-10-29 04:40:17 +00:00
mycroft
8ece2f61c0 Oops, fix a commito. 2003-10-29 03:54:17 +00:00
mycroft
cb4f7a1d86 Bogus initializers suck. 2003-10-29 03:46:10 +00:00
mycroft
5ef2e1b264 Fix the real cause of the uninitialized warning -- we were looking for the VLAN
tag in the wrong place!
2003-10-29 03:31:22 +00:00
mycroft
035a25dd52 Simplify a little. 2003-10-29 02:33:51 +00:00
mycroft
3b7d66667e Return EINVAL rather than stepping off a null pointer. 2003-10-29 02:31:55 +00:00
mycroft
1f63a53cea Rework to remove bogus initializers. Also fixes a potential problem with
amr_teardown() unmapping too much.
2003-10-29 02:27:32 +00:00
mycroft
e0e9384a8e Reorder, eliminating a bogus initializer. 2003-10-29 02:13:09 +00:00
mycroft
e4bad7fff5 Rework slightly to remove bogus initializer. 2003-10-29 01:54:24 +00:00
mycroft
46ef74d63c Recode to remove bogus initializer. 2003-10-29 01:21:38 +00:00
mycroft
0b179751bd XXX: gcc 2003-10-29 01:12:23 +00:00