summaryrefslogtreecommitdiff
path: root/sys/dev
AgeCommit message (Collapse)Author
2006-11-18fix commentsBrad Smith
2006-11-18- set descriptor DMA addresses before enabling TX and RXBrad Smith
- set RL_EARLY_TX_THRESH before starting TX and RX - clear a TX timeout only if all queued packets are handled - declare struct rl_txq separately - minor style tweaks in re_txeof() From tsutsui@NetBSD Tested by brad@, maja@ and kettenis@ Tested on amd64/armish/i386/sparc64
2006-11-17Minor cleanup.Marcus Glocker
2006-11-17KNFMarcus Glocker
2006-11-17Remove code that deals with sk(4) specific phy's that breaks certain msk(4)Mark Kettenis
variants. tested by jsg@
2006-11-17This is a very initial import for a driver which supports the IEEE 802.11Marcus Glocker
Broadcom BCM43xx chipset. Device attaches, but has no further functionality yet. The work has been done by Jon Simola <jsimola@gmail.com>, based on the existing bce(4) code. He will continue to work on the driver and try to make further progress. ok deraadt@
2006-11-17syncTheo de Raadt
2006-11-17usb hub found on ibm x3455; Srebrenko SehicTheo de Raadt
2006-11-17Add a lower TX threshold value and use this when checking the number ofBrad Smith
available TX descriptors in the case that em_encap() has tried to reclaim descriptors. From Jack Vogel@Intel Tested by brad@, mk@, Gabriel Kihlman <gk at stacken dot kth dot se>, Johan Mson Lindman <tybollt at solace dot mh dot se> Tested on amd64/i386/sparc64
2006-11-16syncTheo de Raadt
2006-11-16another cdceTheo de Raadt
2006-11-16Drop malo_reset() for now and do ENETRESET and media changes usingMarcus Glocker
malo_stop() / malo_init(). ok claudio@
2006-11-16add support for 4 new radios: AL2210, CGT, Maxim New, Maxim New2Damien Bergamini
untested because of lack of hardware. if you have a ZD1211 adapter with one of these radios, please drop us a mail. code written by Florian Stoehr <ich AT florian-stoehr DOT de>
2006-11-16Minor cleanup; reactivate malo_cmd_reset() which seems to work now, removeMarcus Glocker
some dead code, protect ieee80211_next_scan() from network interrupts, fix some comments. ok claudio@
2006-11-16have SK_IS_YUKON only match for first generation Yukon chipsets.Brad Smith
2006-11-16when checking for an appropriate revision of chipset use SK_IS_YUKON2Brad Smith
instead of SK_IS_YUKON.
2006-11-16remove the small amount of code for Yukon-2 chipsets now that there is msk(4).Brad Smith
2006-11-15Quiet down debug output by default. Improve cmd response/result handling.Marcus Glocker
discussed with claudio@
2006-11-15Hook up acpi apic interrupt routing support to generic acpi code.Mark Kettenis
ok jordan@
2006-11-15dd pseudo-devices to handle acpi apic interrupt routing.Mark Kettenis
ok jordan@
2006-11-15Enable data packet transmission.Marcus Glocker
Diff done in co-operation with claudio, commited via malo(4). ok claudio@
2006-11-15Fix the loop in malo_tx_intr(). This fixes a infinit loop that happend afterClaudio Jeker
resetting the card. OK mglocker@
2006-11-15Fix an integer type promotion that can lead to wrong offsets on 64 bit arches.Marc Balmer
Problem and solution found by Christian "Naddy" Weisgerber <naddy@openbsd.org>, thanks!
2006-11-15Correct the WOL magic value and rename NFE_WOL_MAGIC to NFE_WOL_ENABLE.Brad Smith
WOL magic value from Peer Chen@NVIDIA via FreeBSD. ok jsg@ damien@
2006-11-14regenBrad Smith
2006-11-14add a handful of NVIDIA MCP51 and MCP55 PCI-ISA bridges.Brad Smith
2006-11-14Fix typos. From Pierre Riteau <pierre.riteau at free dot fr>.Mark Kettenis
2006-11-14don't always leave the mbuf on the if_snd queue if vge_encap() fails.Damien Bergamini
if the mbuf is coalesced in vge_encap(), the mbuf reference is no longer valid. drop the mbuf in this case. bug introduced in r1.28 tested by Frank Denis fixes kernel/5291 "go for it" deraadt@
2006-11-14Rework the transmit register handling. In em_encap() store the index ofBrad Smith
the EOP descriptor in the first descriptor of the packet. In em_txeof() search for the DD bit set only in the EOP descriptors, embedding the cleanup of all packet's descriptors into the inner loop. This change is important for future chips, where the DD bit is going to be set only in the EOP descriptors. From Jack Vogel@Intel Tested by brad@, mk@, reyk@, Gabriel Kihlman <gk at stacken dot kth dot se>, Johan Mson Lindman <tybollt at solace dot mh dot se>, Jason Dixon and a few others. Tested on i386/amd64/sparc64.
2006-11-13first round of commits for proper 11b/g protection support:Damien Bergamini
- use the newly introduced ieee80211_get_rts() and ieee80211_get_cts_to_self() functions. - use CTS-to-self instead of RTS/CTS to protect OFDM frames in a mixed 11b/g BSS. - make sure multicast frames are sent using CCK modulation. remove support for 5GHz radios in ral(4) RT2560 and ural(4). i'm not aware of any such adapters on the market and 11a code is known to be broken. some cleanup while i'm here.
2006-11-13add the zd1211b firmware.Brad Smith
ok jsg@
2006-11-13Add zd1211b firmware.Jonathan Gray
2006-11-12In malo_send_cmd_dma() reduce the poll loop to 10 and increase the delayClaudio Jeker
to 100. Even the slowest command take only about half of the time so this should be enough. Discussed with mglocker@
2006-11-12Rewrite part of malo_tx_mgt() to do the mbuf dance in a nicer way. ThisClaudio Jeker
is still ugly beyond any help but what do you expect from HW that needs to insert unused fields between header and data? OK mglocker@
2006-11-12Simplify code and remove a delay() by actually waiting for the command toClaudio Jeker
finish. OK mglocker@
2006-11-11regen. -mojMats O Jansson
2006-11-11Some ATI and NVIDIA devices. -mojMats O Jansson
2006-11-11Add acpi_sleep and acpi_stall functions.Marco Peereboom
ok jordan
2006-11-11regen -mojMats O Jansson
2006-11-11Add some USR Wlan adapters. -mojMats O Jansson
2006-11-11add quirk for the usb missile launcherJolan Luff
2006-11-11regenJolan Luff
2006-11-11usb missile launcherJolan Luff
2006-11-11Add support for 3Com 3CRWE154G72. -mojMats O Jansson
2006-11-11be silentTheo de Raadt
2006-11-10Fix typo.Mark Kettenis
2006-11-10Add support for Sun 1000baseSX cards.Mark Kettenis
ok deraadt@
2006-11-10Fix DMA firmware command interface (poll for command response), and get theMarcus Glocker
card to associate successfully with an AP. ok claudio@
2006-11-10Pre-allocate the TX DMA maps intead of creating and destroying a DMA mapBrad Smith
per packet sent. Tested by brad@, ckuethe@, Gabriel Kihlman <gk at stacken dot kth dot se> and Tim Wiess <tim at nop dot cx>. Tested with amd64/i386/sparc64. ok damien@
2006-11-10Defer setting of the valid bit in the first TX descriptor afterDamien Bergamini
all descriptors have been setup. Otherwise, hardware may start processing descriptors faster than us and crap out. Fixes "watchdog timeout" errors. Original idea from Matthew Dillon @DragonFly. ok deraadt@ jsg@ wim@ tested by many