Age | Commit message (Collapse) | Author |
|
kernel resumes normal (non-cold, able to run processes, etc) operation.
Previously we were relying on specific DVACT_RESUME op's in drivers
creating callback/threads themselves, but that has become too common,
indicating the need for a built-in mechanism.
ok dlg kettenis, tested by a sufficient amount of people
|
|
from kimberley manning
|
|
from kimberley manning
|
|
from kimberley manning
|
|
from kimberley manning
|
|
from kimberley manning
|
|
ok dlg@
|
|
don't have to. Just remove these include lines.
Compiled on amd64 i386 sparc64; OK henning@ mikeb@
|
|
revision:
sys/dev/acpi/asus_acpi.c r1.4
sys/dev/cardbus/cardbus_exrom.c r1.11
sys/dev/cardbus/cardbus_exrom.h r1.6
ok kettenis@
|
|
cleaning up some shutdown-hook related code on the way.
(A few drivers related to sparc are still skipped at kettenis' request)
ok kettenis mlarkin, tested by many others too
|
|
definitions instead. We don't change usb.h for now to stay compatible
with userland.
Tested by mpi@ on macppc and myself on i386.
ok mpi@
|
|
|
|
the 8129 PCI id is a 8129, everything else is a 8139.
Allows the D-Link DFE-520TX board to work and would ensure proper determination
of the chipset for at least the 8138 based boards (PCI/CardBus).
Tested by kirby@
Ok kirby@ sthen@ chris@
|
|
ok guenther millert kettenis
|
|
paths are reflexive. It is now possible to fail part-way through a
suspend sequence, and recover along the resume code path.
Split DVACT_SUSPEND by adding a new DVACT_POWERDOWN method is used
after hibernate (and suspend too) to finish the job. Some drivers
must be converted at the same time to use this instead of shutdown hooks
(the others will follow at a later time)
ok kettenis mlarkin
|
|
adaptor cages and because one day com@cardbus should be replaced by
puc@cardbus)
|
|
by krw and myself.
|
|
tested by Atanas Vladimirov on a CardBus device with one physical port
|
|
ok jsg@
|
|
only clear it if it is != 0 while i'm at it.
|
|
|
|
operations to callbacks in the PCI and CardBus front-ends.
This will allow support of other buses like USB.
Assume the following memory model:
- writes are ordered but may be buffered and require explicit flush
- a read always flushes all buffered writes
|
|
jsg agrees, ok deraadt
|
|
ok krw@ kettenis@
|
|
traversal code to suspend/resume
ok oga kettenis blambert
|
|
|
|
(I stronly hope that cardbus needs no bus-specific wrappers!)
|
|
functions
ok kettenis
|
|
not neccessarily have a working filesystem for the firmware yet, use a workq
to postpone resume. Then make the powerhook function call the activate
function. There remains some questions about the sc_power functions...
ok kettenis
|
|
Then it is possible for fxp_powerhook to use it.
|
|
CardBus bridge powered up during suspend. Step zero on the long road
towards fully suspending CardBus on all machines.
ok deraadt@, damien@
|
|
|
|
tested by me on X40 with a BCM4306.
OK deraadt@
|
|
|
|
Probably not functionnal yet (but test reports are welcome).
Update microcode for RT2860 while I'm here (remember to run
make && make install under sys/dev/microcode/ral/).
|
|
ok kettenis, sgi usage of rbus_new_body() pointed out by miod
|
|
code it was originally copied from.
ok kettenis@
|
|
cardbus_attach_args so we can switch to using proper pci config
space functions instead of callback based wrappers.
ok oga@ krw@ kettenis@
|
|
pointer to the pccbb softc, to distinguish it from a pci_chipset_tag_t
which can be passed to the normal pci functions.
Suggested by and ok kettenis@
|
|
their pci counterparts, similar to recent changes in NetBSD.
ok oga@ deraadt@ jasper@
|
|
The Asus Eee PC 1005P has such a device.
This makes things even more confusing since athn now also supports
some non-802.11n devices!
Please let me know if you have such a device.
|
|
|
|
Found by LLVM/Clang Static Analyzer.
ok grange@ krw@
|
|
|
|
|
|
- ANSI
- KNF
- remove the use of register
from Brad
|
|
just use nitems(). (this leaves NENTS() alone for now)
ok deraadt@ krw@
|
|
power off the cardbus slot after athn_attach() and in athn_stop().
|
|
written from scratch based on the vendor driver for Linux (ath9k).
AR9285 and AR9287 parts are 100% untested.
only basic functionnalities are enabled for now.
committed over an AR9281.
"commit" deraadt
|
|
operations in the detach function in the right order. Also ensure that the
interrupt handlers not trust registers that go away.
read over very carefully by dms, tested by me
|