Age | Commit message (Collapse) | Author | |
---|---|---|---|
2013-12-06 | Add a DVACT_WAKEUP op to the *_activate() API. This is called after the | Theo de Raadt | |
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 | |||
2013-11-14 | replace workqs with tasks for handling resume | David Gwynne | |
from kimberley manning | |||
2013-08-21 | get rid of the copy argument in m_devget that let you provide an | David Gwynne | |
alternative to bcopy since noone uses it. while there use memcpy instead of bcopy because we know the memory cannot overlap. ok henning@ matthew@ mikeb@ deraadt@ | |||
2011-07-03 | Remove config_activate() and DVACT_ACTIVATE. PCMCIA's the only thing | Matthew Dempsky | |
that's ever used it, and it's long since been changed to use DVACT_{QUIESCE,SUSPEND,RESUME} instead. ok deraadt@, dlg@; miod@ also agreed with this idea when I brought it up a few weeks ago | |||
2011-04-07 | Do not use NULL in integer comparisons. No functional change. | Miod Vallat | |
ok matthew@ tedu@, also eyeballed by at least krw@ oga@ kettenis@ jsg@ | |||
2010-08-30 | Convert the pcmcia power hook to an activate function. Then change the | Theo de Raadt | |
model so that DVACT_SUSPEND methods call sub-drivers with DVACT_SUSPEND not DVACT_DEACTIVATE, and such. This creates a whole bunch of fallout, which needs fixing. wdc(4), ne(4), and wi(4) have been fully tested and actually work better than they ever have before (no more wdc timeouts on resume!) malo(4) has some other nasty bug which has not yet been spotted which causes crazy panics. The other drivers are more rare and will be fixed if people show up with hardware; for now at least they have been adapted to the new model. ok kettenis | |||
2010-08-27 | remove the unused if_init callback in struct ifnet | Jonathan Gray | |
ok deraadt@ henning@ claudio@ | |||
2010-07-02 | fix a variety of uninit errors. ok and one correction deraadt | Ted Unangst | |
2010-05-20 | Split some copies of two struct members together into two bcopy rather | Nicholas Marriott | |
than one to make gcc4 -Wbounded happy. ok krw | |||
2009-10-13 | Get rid of devact enum, substitute it with an int and coresponding defines. | Paul Irofti | |
This is needed for the addition of further suspend/resume actions. Okay deraadt@, marco@. | |||
2009-08-17 | initialize retry to zero; otherwise if firmware sends odd val16 | Martynas Venckus | |
from the very beginning; we might never retry. ok mglocker@ | |||
2009-03-29 | make various strings ("can't map mem space" and similar) more consistent | Stuart Henderson | |
between instances, saving space in the kernel. feedback from many (some incorporated, some left for future work). ok deraadt, kettenis, "why not" miod. | |||
2008-10-14 | Change m_devget()'s outdated and unused "offset" argument: It is | Christian Weisgerber | |
now the offset into the first mbuf of the target chain before copying the source data over. From FreeBSD. Convert drivers' use of m_devget(). Mostly from thib@. Update mbuf(9) man page. ok claudio@, thib@ | |||
2008-07-29 | check for m_devget() returning NULL, increment ierror count | Thordur I. Bjornsson | |
and just return; OK mglocker@ | |||
2008-07-27 | Some devices take longer to load the firmware. Increase the firmware | Marcus Glocker | |
load timeout from 50000us to 500000us. Reported and tested by William Dunand with an I-O DATA WN-G54/CF device. Since this device works now, we add it to the man page. | |||
2007-10-09 | Ops, forgot debug printf. | Marcus Glocker | |
2007-10-09 | Setup channels with OFDM flags. Permit user to set fix rates. | Marcus Glocker | |
2007-10-09 | Load the firmware files just one time per device lifecycle (attach time) | Marcus Glocker | |
instead on every `ifconfig up'. | |||
2007-10-08 | Give the device a bit time to finish the reset when stopped. Avoids | Marcus Glocker | |
helper firmware load timeouts when device is brought up very fast again, like seen with trunk(4). | |||
2007-10-08 | Make pcmcia malo(4) work with trunk(4) by: | Marcus Glocker | |
Setting interface ethernet address from link level address. Adding firmware command to set ethernet address. | |||
2007-08-28 | unify firmware load failure messages; ok mglocker | Theo de Raadt | |
2007-08-14 | Indention and comment. | Marcus Glocker | |
2007-08-14 | Replace bus_space_write/read_2 loops in cmd req/rsp routines with | Marcus Glocker | |
bus_space_write/read_raw_multi_2. | |||
2007-08-11 | Set command context save flag already in attach routine. Avoids double | Marcus Glocker | |
processing of command responses. | |||
2007-08-11 | Remove IBSS capability flag for now. | Marcus Glocker | |
2007-08-10 | Fix some letho16() tweaks which made my macppc crash on an | Marcus Glocker | |
assoiciation. | |||
2007-08-10 | Add missing multicast part to ioctl. | Marcus Glocker | |
2007-08-09 | If an association has failed, set the device back to INIT state. | Marcus Glocker | |
2007-08-09 | Check all FW commands in the init path. None of them shall timeout, | Marcus Glocker | |
otherwise we abort initialization. | |||
2007-08-09 | o Add a mechanism to execute single commands even if are are not context | Marcus Glocker | |
save. Protects cmalo_cmd_set_assoc() for now. o In case of deauthentication or disassociation, try to reassociate. | |||
2007-08-09 | Correctly acknowledge event interrupts. Got the wrong register value | Marcus Glocker | |
before. | |||
2007-08-09 | Comment. Sort some register values. | Marcus Glocker | |
2007-08-09 | Add event handler. Events notify us about things like when a | Marcus Glocker | |
disassociation frame has arrived. Nice side effect; As we acknowledge the event reason after receiving a disassociation frame (which happens pretty often by wi(4) hostap) now, the FW issues an automatic reassociation, and we do not loose network connectivity anymore. | |||
2007-08-07 | Improve a evil tsleep() loop by using wakeup() in the interrupt handler. | Marcus Glocker | |
Still not sure if the tsleep() is safe here, but better than the previous version. spotted and OK claudio@ | |||
2007-08-06 | o Replace bus_space_write_2 for-loops in TX/RX with | Marcus Glocker | |
bus_space_write_raw_multi_2. o Make TX/RX work on big endian archs (tested on macppc). in co-operation and OK claudio@ | |||
2007-08-06 | Fix FW command API for big endian archs. | Marcus Glocker | |
2007-08-05 | Fix DPRINTF tweaks. | Marcus Glocker | |
2007-08-05 | Low-Noise watchdog routine (debug level 2). | Marcus Glocker | |
2007-08-05 | Parse association command response to check if an association was | Marcus Glocker | |
successfull or not. | |||
2007-08-05 | Remove IFQ_SET_MAXLEN() for TX queue. | Marcus Glocker | |
2007-08-05 | Add WEP support, which is done fully by the FW. | Marcus Glocker | |
2007-08-05 | o Some better variable namings. | Marcus Glocker | |
o Fix some comments. o Add a forgotten splx(). | |||
2007-08-05 | o Reflect active network settings to ifconfig. | Marcus Glocker | |
o Enable selection of desired network by setting nwid. | |||
2007-08-04 | o Improve interrupt handler; fixes TX watchdog timeouts on my zaurus. | Marcus Glocker | |
o Add /* FALLTHROUGH */'s to state handler (spotted by claudio@). o Adapt debug levels. OK claudio@ | |||
2007-08-03 | switch cmalo_rx() to use m_getdev() instead of something hand rolled. | Claudio Jeker | |
cmalo_rx() is called from the interrupt handler and therefor is running at IPL_NET so no need to do spl dances instead sprinkel some splassert() into the rx and tx path. OK mglocker@ | |||
2007-08-02 | Activate watchdog timer. We need to find out about the issue that the | Marcus Glocker | |
device stops with TX interrupts so often. | |||
2007-08-02 | ETHER_ALIGN the mbuf so that it works on strictalignment archs. This is a | Claudio Jeker | |
quick hack because cmalo_rx() should use m_getdev() instead. OK mglocker@ | |||
2007-08-01 | Improve state switching and fix some debug output. | Marcus Glocker | |
2007-07-31 | Add first version to enable auto association (best signal AP). Therefore | Marcus Glocker | |
remove experimental, hard-coded MAC address block. Also tested by claudio@ | |||
2007-07-31 | Add missing splx(s); calls. OK mglocker@ | Claudio Jeker | |