Age | Commit message (Collapse) | Author |
|
|
|
precedence than ?:
ok guenther@ krw@ miod@
|
|
have any direct symbols used. Tested for indirect use by compiling
amd64/i386/sparc64 kernels.
ok tedu@ deraadt@
|
|
when workqs were introduced, we provided a second argument so you
could pass a thing and some context to work on it in. there were
very few things that took advantage of the second argument, so when
i introduced pools i suggested removing it. since tasks were meant
to replace workqs, it was requested that we keep the second argument
to make porting from workqs to tasks easier.
now that workqs are gone, i had a look at the use of the second
argument again and found only one good use of it (vdsp(4) on sparc64
if you're interested) and a tiny handful of questionable uses. the
vast majority of tasks only used a single argument. i have since
modified all tasks that used two args to only use one, so now we
can remove the second argument.
so this is a mechanical change. all tasks only passed NULL as their
second argument, so we can just remove it.
ok krw@
|
|
|
|
ok dlg@ mpi@ bcook@ millert@ miod@
|
|
pool_init already, the pr_size field is the least worst field to peek at.
|
|
--
kick out the error-prone handcrafted single-linked list of cardbus
functions; replace by a simple *array[8]
--
In other words, prevent a use after free when removing a cardbus
function.
ok deraadt@, miod@
|
|
|
|
ok miod@
|
|
as well as useless include of the generated flag files.
|
|
ok mpi@ kspillner@
|
|
Changed RL_FLAG_MACLDPS to RL_FLAG_MACRESET.
Removed RL_FLAG_INVMAR and RL_FLAG_NOJUMBO.
Added RL_FLAG_FASTETHER, RL_FLAG_CMDSTOP_WAIT_TXQ, RL_FLAG_JUMBOV2, RL_FLAG_WOL_MANLINK,
RL_FLAG_WAIT_TXPOLL, RL_FLAG_WOLRXENB.
Also set in the softc the maximum MTU for the various generations of chips.
Input from and Ok jsg@
|
|
|
|
after discussions with beck deraadt kettenis.
|
|
Since no DPRINTF() call remains also remove its definition (requested by mpi@).
ok mpi, and also reported by Jean-Philippe Ouellet
|
|
host controller because autoconf(9) already does it.
|
|
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@
|