dyoung
45f756f520
Mark the available channels using the ic_channels table instead of
...
setting bits in ic_chan_avail, which is the responsibility of
ieee80211_ifattach. I cannot believe the previous code worked.
2003-11-02 01:39:22 +00:00
dyoung
f64ab7b2a4
Get the ieee80211_node for management packets from the rcvif field.
2003-11-02 00:55:46 +00:00
dyoung
bf9644d3d3
Fix bugs in power-saving:
...
Use a power-saving station's ieee80211_node, which is stored in
the rcvif field.
Do not free a node if it is put onto the power-saving queue.
2003-11-02 00:22:49 +00:00
dyoung
e3bc096fe4
Bug fix: in wi_cfg_txrate, do not divide the 802.11 rate by 2 and
...
take off the flags before giving it to wi_write_txrate.
Also add a useful debug message to wi_write_txrate.
2003-11-01 23:57:05 +00:00
mycroft
e45065a344
Dropped a word...
2003-11-01 23:22:54 +00:00
mycroft
c4330d824f
A small list of things needed here.
2003-11-01 23:22:21 +00:00
mycroft
4b29327094
Don't bothering reinitializing the sensor name strings when the battery info
...
is updated. Do print out the battery manufacturer info, though. (It's too
bad we can't return this through envsys........)
2003-11-01 22:55:53 +00:00
tsutsui
6fa76b3b92
No need to include <dev/ic/mk48txxreg.h> here.
2003-11-01 22:42:23 +00:00
tsutsui
614e6d4de9
Cleanup MI mk48txx(4) todclock driver:
...
- Prepare mk48txxvar.h and leave only register definitions in mk48txxreg.h.
- Define struct mk48txx_softc as usual devices and allocate necessary
members like struct todr_chip_handle in it.
- Change mk48txx_attach(), mk48txx_nvwr() and mk48txx_nvrd() to take
struct mk48txx_softc.
2003-11-01 22:41:42 +00:00
tsutsui
ab09fdd80e
Rename flag NO_CENTURY_ADJUST -> MC146818_NO_CENT_ADJUST to avoid conflicts.
2003-11-01 21:58:43 +00:00
mycroft
31806f9f22
One more spot for a structure change.
2003-11-01 20:58:33 +00:00
yamt
64f5a4d263
make this compilable again with ACPI_DEBUG.
2003-11-01 19:24:42 +00:00
jdolecek
467746e275
avoid strong words; use 'screw' instead
2003-11-01 17:00:49 +00:00
mycroft
efe8779bb3
Provide percentages for the threshold values too.
2003-11-01 10:55:12 +00:00
mycroft
7be875cdd8
Whoops, made a typo there.
2003-11-01 10:25:35 +00:00
mycroft
cf1951c350
Split "load" into "charge rate" and "discharge rate", depending on the state
...
of the battery.
2003-11-01 10:24:17 +00:00
mycroft
5c001506f5
Small change to use the "last full capacity" as the capacity maximum.
2003-11-01 09:49:45 +00:00
mycroft
007e2cd3b4
There's no need to clear the data_s fields now that the VALID bits are correct.
2003-11-01 09:41:25 +00:00
mycroft
be8e41d93a
sc_lockhandle is garbage.
2003-11-01 08:34:54 +00:00
mycroft
10e36668fc
Remove an unnecessary call to AcpiGlearGpe().
2003-11-01 08:27:37 +00:00
mycroft
b596969039
Correct arguments to AcpiClearGpe().
2003-11-01 08:14:39 +00:00
mycroft
ff9f7d764c
Do not install address handlers before calling AcpiEnableSubsystem() -- this
...
is done by AcpiInitializeObjects() anyway.
2003-11-01 08:03:24 +00:00
mycroft
6831bfd482
Remove some unused #defines.
2003-11-01 03:45:58 +00:00
mycroft
8dc2532a4f
Update copyright.
2003-11-01 03:45:48 +00:00
mycroft
63bc27bf55
Correct arguments to AcpiInstallGpeHandler, as per Linux and FreeBSD.
2003-11-01 01:38:25 +00:00
mycroft
8632b558b7
Move a declaration.
2003-11-01 01:03:23 +00:00
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