summaryrefslogtreecommitdiffstats
path: root/sys/dev/ic/malo.h (follow)
Commit message (Collapse)AuthorAgeFilesLines
* Add a DVACT_WAKEUP op to the *_activate() API. This is called after thederaadt2013-12-061-2/+1
| | | | | | | | 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
* replace workqs with tasks for handling resumedlg2013-11-141-2/+2
| | | | from kimberley manning
* activate function for suspend/restore; from mglockerderaadt2010-08-081-1/+4
|
* Enable automatic rate adapation (done by firmware and hardware).mglocker2006-11-241-1/+2
| | | | ok claudio@
* Add TX done cleanup.mglocker2006-11-071-1/+2
|
* Add first TX path and active scan bits. Don't expect to much yet.mglocker2006-10-291-1/+4
| | | | ok claudio@
* Fix RX DMA handling; until now the card stopped receiving interruptsmglocker2006-10-241-1/+4
| | | | | | | after it went one time through the RX ring (256 descriptors). Also reset RX rings correctly after ifconfig down / up. "COMMIT IT!!!" claudio@
* Fix RX handling; the chip injects control data in front and betweenmglocker2006-10-211-1/+46
| | | | | | | | a 802.11 frame which needs to be cut off. Looks like we receive the first correct looking management frames now. Add first radio bpf mtap bits but don't activate them in the RX handler yet. Need first to find out which radio data the card delivers.
* Allocate and free TX DMA rings additionally change some of the structures toclaudio2006-10-171-3/+19
| | | | | match more the actual reality. Still unsure about it as we don't have any documentation to verify against. OK mglocker@
* Allocate and free RX DMA ring. Mostly form rt2661.c with adaption for malo.claudio2006-10-171-5/+17
| | | | | | Seems to fit pretty well. Does not do anything useful right now. The bits in the interrupt handler and of course the TX ring are still missing. OK mglocker@
* Add $OpenBSD$ tagclaudio2006-10-151-0/+2
|
* First stubs for a new driver for the Marvell Libertas chips.claudio2006-10-151-0/+48
The card correctly loads the firmware and it is possible to send a few simple commands to the card but that's it. No packet are sent or received. Only the Netgear WG511v2 cardbus card is tested. A cheese fondue and a bigger amount of white wine was needed to make the interrupts work -- until last night the driver was uploading the firmware to fast and the card garbled the image without moaning. It took us a full day and hundreds of test kernels to figure that out. Joint work with mglocker@, fondue by mbalmer@ OK mglocker@, get it in deraadt@