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
mycroft
9e80bdd1f0
Recode the probe slightly to remove a bogus initializer.
...
Also, don't do the rest of the probe work if the product ID mismatches, since
we'll return 0 anyway.
2003-10-29 01:10:12 +00:00
mycroft
9d009e4f2a
Remove bogus initializer, and fix a typo in a loop variable instead.
2003-10-29 00:48:15 +00:00
mycroft
dc3fafca35
Remove bogus initializer, and instead fix an =/== typo.
2003-10-29 00:34:58 +00:00
mycroft
39c696c2e6
Remove unnecessary code.
2003-10-28 23:56:00 +00:00
mycroft
909205520a
KNF.
2003-10-28 23:40:27 +00:00
mycroft
16413c6f77
The "bad status" case is impossible -- the switch value is constrained to 2
...
bits -- so just add the default case to the one that returns
STATUS_WIRE_FAILED.
2003-10-28 23:37:59 +00:00
mycroft
898602e6b1
Or the config_deactivate() return values.
2003-10-28 23:33:46 +00:00
mycroft
9013c2cac4
Eliminate bogus initializer.
...
We shouldn't be adding the time stamp to the entropy pool if the interrupt
wasn't for us.
2003-10-28 23:26:28 +00:00
mycroft
af9bc6becf
Eliminate bogus initializer.
2003-10-28 23:16:50 +00:00
mycroft
c976b0b592
Eliminate bogus initializer (the code was technically wrong).
2003-10-28 22:56:19 +00:00
mycroft
3741fa9860
Kill another bogus initializer.
2003-10-28 22:22:28 +00:00
matt
ebe74b9e7f
fix bogus GCC uninitialized variable warning. Use TAILQ_FOREACH.
2003-10-28 18:35:06 +00:00
matt
e633976ebd
Elminate GCC uninitialized variable warning.
2003-10-28 18:21:49 +00:00
pooka
aa476f1628
Avoid splx() with uninitialized priority level by duplicating some code
...
to get rid of gotos.
While doing that, add more verbosity on what failed if attach is not succesful.
2003-10-28 17:35:30 +00:00
pooka
f18fbee457
fix uninitialized uses caught by gcc
2003-10-28 17:01:19 +00:00
chs
395b58b692
keep the caller's defaults instead of supplying our own.
2003-10-28 16:25:29 +00:00