summaryrefslogtreecommitdiff
path: root/sys/dev
AgeCommit message (Collapse)Author
2006-11-25Don't handle acpiev events inside the gpe handler since this causes deadlocks.Marco Peereboom
ok jordan@
2006-11-25Fixed acpiec code for deadlockJordan Hargrave
acpiec events are handled at GPE/thread context, no longer need wakeup cVS: ----------------------------------------------------------------------
2006-11-25initial stab at an SBus front end for gem(4). currently untested.Brad Smith
From martin@NetBSD
2006-11-25Initial NAND flash support for Zaurus, not enabled yet; prodded by many.Uwe Stuehler
2006-11-25Cleanup obsolete rate bits and pass right value to the TX rate descriptor.Marcus Glocker
ok claudio@
2006-11-25If no TX rate has been calculated yet, set rate value to autoselectMarcus Glocker
instead DS1. Add 'mode' informations to malo_media_status(). Some KNF.
2006-11-25fix use of gem_bitwait().Brad Smith
2006-11-25Split the GEM registers into two halfs and provide a bus_space_handle_tBrad Smith
for each. While there, fix a typo in gem_bitwait(). From martin@NetBSD
2006-11-25additional registers and some comment fixes.Brad Smith
From NetBSD
2006-11-25Fix a copy and pasto.Brad Smith
From martin@NetBSD
2006-11-24Small KNF fix.Marcus Glocker
2006-11-24Enable setting of fixed rates.Marcus Glocker
2006-11-24Enable automatic rate adapation (done by firmware and hardware).Marcus Glocker
ok claudio@
2006-11-24From Jon Simola <jsimola@gmail.com>:Marcus Glocker
Completely rewrote bcw_reset() based on new specs, this cleared up the random attach warning I occasionally had during warm boots. Also change the license, as nearly nothing is left of the original bce code.
2006-11-24regenBrad Smith
2006-11-24add the Broadcom BCM5709 PCI id.Brad Smith
2006-11-24replace a magic number (reserved TX descs?) with macroBrad Smith
From tsutsui@NetBSD
2006-11-24regenBrad Smith
2006-11-24add the DLink DWL-G120 product id.Brad Smith
2006-11-23Remove 802.11a stuff. There is one RF chip (88W8030) which supports 5GHz,Marcus Glocker
but it seems rarely used and we don't know in connecton with which chip. 88W8335/88W8310 uses 88W8000G RF (2.4GHz).
2006-11-23Do not attach second port on dual port cards for now.Mark Kettenis
This makes the first port work. ok brad@
2006-11-23Set some more power management bits; makes Yukon-2 XL work somewhat.Mark Kettenis
ok brad@
2006-11-23The duration field is calculated by the firmware. Remove malo_txtime()Marcus Glocker
therefore. ok claudio@
2006-11-23OpenBSD-ify the HW VLAN tag insertion code.Brad Smith
2006-11-22add the BCM4312 PCI id.Brad Smith
2006-11-22style(9): remove variables names from prototypes.Damien Bergamini
ok mglocker@
2006-11-22Remove rssadapt(9) bits; Firmware supports rate adaption. Also,Marcus Glocker
remove unused arguments in the TX descriptor setup routine. ok claudio@
2006-11-22don't write to BBP before it is ready and fully initializedDamien Bergamini
-> move rt2560_set{tx,rx}antenna() after rt2560_bbp_init(). from <sephe at dragonflybsd dot org>
2006-11-22Some more minor cleanup in the PCI hookup.Marcus Glocker
From Jon Simola <jon@mecha.ca>.
2006-11-22From Jon Simola <jon@mecha.ca>:Marcus Glocker
Attach to cardbus based bcw cards, and more cleanup. This should help with a few of the card lockup reports I've received.
2006-11-21Fail wi_get_txpower() on USB wi(4), so that we don't CSR_READ on them.Miod Vallat
ok mickey@ jsg@
2006-11-21Free allocated mbufs at TX done. While there also reset some TX descriptorMarcus Glocker
values. Fixes "WARNING: mclpool limit reached; increase kern.maxclusters" ok claudio@
2006-11-21fix dmesg printing for the artisea chipset.Brad Smith
2006-11-21From Jon Simola <simola@mecha.com>:Marcus Glocker
Lots of help from Jonathan Gray. bcw_regs has been removed, and DMA/descriptor style changes that look more normal. Tested, no loss in current unfunctionality.
2006-11-21Remove watchdog handler workaround introduced in rev 1.149 which is noBrad Smith
longer necessary.
2006-11-21style changes. no op.Brad Smith
2006-11-20Re-enable HW VLAN tagging.Brad Smith
2006-11-20set the IFCAP_VLAN_HWTAGGING capabilities flag.Brad Smith
2006-11-20Added 2nd pass for interrupt override scanningJordan Hargrave
ok kettenis@
2006-11-20Fix register number definitions.Mark Kettenis
ok deraadt@
2006-11-20only try to do HW checksum offload for TCP and UDP.Brad Smith
2006-11-20Due to an incorrect macro, it appears that the driver has always beenBrad Smith
accidentally truncating off the VLAN tag field in the TX descriptor. Fix this by splitting up the vlan_tag and flags fields into separate fields, and handling them appropriately. From scottl@FreeBSD
2006-11-20Add support for LM63.Mark Kettenis
tested by niklas@
2006-11-19Re-enable the Intel i31244 support now that real hardware actually exists.Brad Smith
2006-11-19some additional registers for the Artisea chipset operating in DPA mode.Brad Smith
From rearnsha@NetBSD
2006-11-19In bnx_start, check the used_tx_bd count rather than the descriptorsBrad Smith
mbuf pointer to see if the transmit ring is full. The mbuf pointer is set only in the last descriptor of a multi-descriptor packet. By relying on the mbuf pointers of the earlier descriptors, the driver would sometimes overwrite a descriptor belonging to a packet that wasn't completed yet. Also, tx_chain_prod wasn't updated inside the loop, causing the wrong descriptor to be checked after the first iteration. The upshot of all this was the loss of some transmitted packets at medium to high packet rates. In bnx_tx_encap, remove a couple of old statements that shuffled around the tx_mbuf_map pointers. These now correspond 1-to-1 with the transmit descriptors, and they are not supposed to be changed. Correct a couple of inaccurate comments. From jdp@FreeBSD
2006-11-19regenBrad Smith
2006-11-19add the Broadcom BCM4312 PCI id.Brad Smith
2006-11-19restore the workaround for rate==0 bug.Damien Bergamini
i removed it in my last commit because i thought it was gone. looks like it's not the case. pointed out by niallo@
2006-11-19Probe for National Semiconductor LM63.Mark Kettenis