summaryrefslogtreecommitdiffstats
path: root/drivers
Commit message (Collapse)AuthorAgeFilesLines
* [PATCH] ixp2000: fix gcc4 breakageLennert Buytenhek2006-03-291-4/+1
| | | | | | | | | gcc4 doesn't like us declaring a static function inside another function. We can do away with this construct altogether and use BUILD_BUG_ON() instead (idea from Andi Kleen.) Signed-off-by: Lennert Buytenhek <buytenh@wantstofly.org> Signed-off-by: Jeff Garzik <jeff@garzik.org>
* [PATCH] b44: ensure valid mac addrGary Zambrano2006-03-291-0/+9
| | | | | | | Added code to check for invalid MAC address from eeprom or user input. Signed-off-by: Gary Zambrano <zambrano@broadcom.com> Signed-off-by: Jeff Garzik <jeff@garzik.org>
* [PATCH] Janitor: drivers/net/pcnet32: fix incorrect commentsLinas Vepstas2006-03-291-2/+2
| | | | | | | | | | | | The comments concerning how the pcnet32 ethernet device driver selects the MAC addr to use are incorrect. A recent patch (in the last 3 months) changed how the code worked, but did not change the comments. Side comment: the new behaviour is good; I've got a pcnet32 card which powers up with garbage in the CSR's, and a good MAC addr in the PROM. Signed-off-by: Linas Vepstas <linas@linas.org> Signed-off-by: Jeff Garzik <jeff@garzik.org>
* [PATCH] net: remove CONFIG_NET_CBUS conditional for NS8390Arthur Othieno2006-03-291-1/+1
| | | | | | | | | | Don't bother testing for CONFIG_NET_CBUS ("NEC PC-9800 C-bus cards"); it went out with the rest of PC98 subarch. Signed-off-by: Arthur Othieno <apgo@patchbomb.org> Cc: Jeff Garzik <jgarzik@pobox.com> Signed-off-by: Andrew Morton <akpm@osdl.org> Signed-off-by: Jeff Garzik <jeff@garzik.org>
* [PATCH] natsemi: Support oversized EEPROMsMark Brown2006-03-291-4/+14
| | | | | | | | | | | | The natsemi chip can have a larger EEPROM attached than it itself uses for configuration. This patch adds support for user space access to such an EEPROM. Signed-off-by: Mark Brown <broonie@sirena.org.uk> Cc: Tim Hockin <thockin@hockin.org> Cc: Jeff Garzik <jgarzik@pobox.com> Signed-off-by: Andrew Morton <akpm@osdl.org> Signed-off-by: Jeff Garzik <jeff@garzik.org>
* [PATCH] spidernet : enable tx checksum offloading by defaultJens Osterkamp2006-03-291-1/+1
| | | | | | | This enables TX checksum offloading for the spidernet driver by default. Signed-off-by: Jens Osterkamp <Jens.Osterkamp@de.ibm.com> Signed-off-by: Jeff Garzik <jeff@garzik.org>
* [PATCH] bonding: support carrier state for masterJay Vosburgh2006-03-294-28/+102
| | | | | | | | | | | | Add support for the bonding master to specify its carrier state based upon the state of the slaves. For 802.3ad, the bond is up if there is an active, parterned aggregator. For other modes, the bond is up if any slaves are up. Updates driver version to 3.0.3. Based on a patch by jamal <hadi@cyberus.ca>. Signed-off-by: Jay Vosburgh <fubar@us.ibm.com> Signed-off-by: Jeff Garzik <jeff@garzik.org>
* Merge branch 'upstream' of ↵Jeff Garzik2006-03-2934-9/+15547
|\ | | | | | | git://git.kernel.org/pub/scm/linux/kernel/git/linville/wireless-2.6
| * [PATCH] hostap: Fix EAPOL frame encryptionJouni Malinen2006-03-271-1/+1
| | | | | | | | | | | | | | | | | | | | | | | | Fixed encrypted of EAPOL frames from wlan#ap interface (hostapd). This was broken when moving to use new frame control field defines in net/ieee80211.h. hostapd uses Protected flag, not protocol version (which was cleared in this function anyway). This fixes WPA group key handshake and re-authentication. http://hostap.epitest.fi/bugz/show_bug.cgi?id=126 Signed-off-by: Jouni Malinen <jkmaline@cc.hut.fi> Signed-off-by: John W. Linville <linville@tuxdriver.com>
| * [PATCH] hostap: Make hostap_tx_encrypt() staticJouni Malinen2006-03-272-6/+3
| | | | | | | | | | | | | | | | | | | | hostap_tx_encrypt() is used only inside hostap_80211_tx.c and there are no plans to use it elsewhere in the future either, so let's make it static. As a bonus, this should silence Coverity scanner from complaining about bogus FORWARD_NULL case (CID: 274). Signed-off-by: Jouni Malinen <jkmaline@cc.hut.fi> Signed-off-by: John W. Linville <linville@tuxdriver.com>
| * [PATCH] zd1201 wireless stat updateJean Tourrilhes2006-03-271-1/+1
| | | | | | | | | | | | | | | | | | | | The "dev->get_wireless_stats" field is deprecated and slowly be surely going away. Most drivers have been updated months ago. Actually, there is an annoying message for driver still using it, but it seems that user of zd1201 were not annoyed enough ;-) Signed-off-by: Jean Tourrilhes <jt@hpl.hp.com> Signed-off-by: John W. Linville <linville@tuxdriver.com>
| * [PATCH] PCMCIA_SPECTRUM must select FW_LOADERAdrian Bunk2006-03-271-0/+1
| | | | | | | | | | | | | | | | | | PCMCIA_SPECTRUM must select FW_LOADER. Reported by "Alexander E. Patrakov" <patrakov@ums.usu.ru>. Signed-off-by: Adrian Bunk <bunk@stusta.de> Signed-off-by: John W. Linville <linville@tuxdriver.com>
| * [PATCH] bcm43xx: don't set the channel on a device, which is down.Michael Buesch2006-03-271-3/+9
| | | | | | | | | | | | | | | | Initial patch by David Woodhouse and Michael Marineau. Locking fix by me. Signed-off-by: Michael Buesch <mbuesch@freenet.de> Signed-off-by: John W. Linville <linville@tuxdriver.com>
| * [PATCH] bcm43xx: sync GPHY init with the specs.Michael Buesch2006-03-273-29/+255
| | | | | | | | | | Signed-off-by: Michael Buesch <mbuesch@freenet.de> Signed-off-by: John W. Linville <linville@tuxdriver.com>
| * [PATCH] bcm43xx: fix the remaining sparse warnings.Michael Buesch2006-03-272-5/+10
| | | | | | | | | | Signed-off-by: Michael Buesch <mbuesch@freenet.de> Signed-off-by: John W. Linville <linville@tuxdriver.com>
| * [PATCH] bcm43xx: remove some compilerwarnings.Michael Buesch2006-03-274-60/+13
| | | | | | | | | | Signed-off-by: Michael Buesch <mbuesch@freenet.de> Signed-off-by: John W. Linville <linville@tuxdriver.com>
| * [PATCH] bcm43xx: fix "include" issues on some platforms.Michael Buesch2006-03-272-2/+2
| | | | | | | | | | Signed-off-by: Michael Buesch <mbuesch@freenet.de> Signed-off-by: John W. Linville <linville@tuxdriver.com>
| * [PATCH] bcm43xx: get rid of "/* vim: ..." lines at the end of several files.Michael Buesch2006-03-278-16/+0
| | | | | | | | | | Signed-off-by: Michael Buesch <mbuesch@freenet.de> Signed-off-by: John W. Linville <linville@tuxdriver.com>
| * [PATCH] bcm43xx: add useless and broken statistics stuff. People seem to ↵Michael Buesch2006-03-273-4/+53
| | | | | | | | | | | | | | want it. well... Signed-off-by: Michael Buesch <mbuesch@freenet.de> Signed-off-by: John W. Linville <linville@tuxdriver.com>
| * [PATCH] bcm43xx: fix nrssi_threshold calculation.Michael Buesch2006-03-271-39/+33
| | | | | | | | | | | | | | patch by doctorzoidberg. Signed-off-by: Michael Buesch <mbuesch@freenet.de> Signed-off-by: John W. Linville <linville@tuxdriver.com>
| * [PATCH] bcm43xx: sync interference mitigation code to the specs.Michael Buesch2006-03-272-150/+309
| | | | | | | | | | | | | | This also includes a rewritten valuesave-stack. Signed-off-by: Michael Buesch <mbuesch@freenet.de> Signed-off-by: John W. Linville <linville@tuxdriver.com>
| * [PATCH] bcm43xx: set default attenuation values.Michael Buesch2006-03-275-38/+158
| | | | | | | | | | Signed-off-by: Michael Buesch <mbuesch@freenet.de> Signed-off-by: John W. Linville <linville@tuxdriver.com>
| * [PATCH] bcm43xx: some IRQ handler cleanups.Michael Buesch2006-03-271-35/+30
| | | | | | | | | | Signed-off-by: Michael Buesch <mbuesch@freenet.de> Signed-off-by: John W. Linville <linville@tuxdriver.com>
| * [PATCH] bcm43xx: merge all iwmode code into the set_iwmode function.Michael Buesch2006-03-271-36/+29
| | | | | | | | | | Signed-off-by: Michael Buesch <mbuesch@freenet.de> Signed-off-by: John W. Linville <linville@tuxdriver.com>
| * [PATCH] bcm43xx: fix some gpio register trashing (hopefully :D)Michael Buesch2006-03-273-43/+46
| | | | | | | | | | Signed-off-by: Michael Buesch <mbuesch@freenet.de> Signed-off-by: John W. Linville <linville@tuxdriver.com>
| * [PATCH] bcm43xx: remove check for mmio length, as it differs among ↵Michael Buesch2006-03-271-26/+4
| | | | | | | | | | | | | | platforms. (especially embedded) Signed-off-by: Michael Buesch <mbuesch@freenet.de> Signed-off-by: John W. Linville <linville@tuxdriver.com>
| * [PATCH] bcm43xx: properly mask txctl1 before writing it to hardware.Michael Buesch2006-03-271-2/+2
| | | | | | | | | | | | | | This should not make a difference, but be careful to not trash the register. Signed-off-by: Michael Buesch <mbuesch@freenet.de> Signed-off-by: John W. Linville <linville@tuxdriver.com>
| * [PATCH] bcm43xx: Do boardflags workarounds for specific boards.Michael Buesch2006-03-272-0/+13
| | | | | | | | | | Signed-off-by: Michael Buesch <mbuesch@freenet.de> Signed-off-by: John W. Linville <linville@tuxdriver.com>
| * [PATCH] bcm43xx: Remove the workaround in dummy_transmission,Michael Buesch2006-03-271-7/+0
| | | | | | | | | | | | | | as it causes more trouble than it solves Signed-off-by: Michael Buesch <mbuesch@freenet.de> Signed-off-by: John W. Linville <linville@tuxdriver.com>
| * [PATCH] bcm43xx: Fix crash on ifdown, by being careful in pio/dma freeing.Michael Buesch2006-03-272-2/+10
| | | | | | | | | | | | | | | | This bug was caused by the packing of the bcm43xx_dma and bcm43xx_pio structures into a union. Signed-off-by: Michael Buesch <mbuesch@freenet.de> Signed-off-by: John W. Linville <linville@tuxdriver.com>
| * [PATCH] bcm43xx: reduce the size of bcm43xx_private by removing unneeded ↵Michael Buesch2006-03-2713-301/+320
| | | | | | | | | | | | | | members. Signed-off-by: Michael Buesch <mbuesch@freenet.de> Signed-off-by: John W. Linville <linville@tuxdriver.com>
| * [PATCH] bcm43xx: add functions bcm43xx_dma_read/write, ↵Michael Buesch2006-03-272-28/+51
| | | | | | | | | | | | | | bcm43xx_dma_tx_suspend/resume. Signed-off-by: Michael Buesch <mbuesch@freenet.de> Signed-off-by: John W. Linville <linville@tuxdriver.com>
| * [PATCH] bcm43xx: receive TX status on MMIO or DMA unconditionally regarding ↵Michael Buesch2006-03-271-12/+7
| | | | | | | | | | | | | | the 80211 core rev. Signed-off-by: Michael Buesch <mbuesch@freenet.de> Signed-off-by: John W. Linville <linville@tuxdriver.com>
| * [PATCH] bcm43xx: fix some stuff, add a few missing mmiowb(), remove dead code.Michael Buesch2006-03-276-187/+167
| | | | | | | | | | | | | | This may workaround the XMIT ERRORs some people are getting. Signed-off-by: Michael Buesch <mbuesch@freenet.de> Signed-off-by: John W. Linville <linville@tuxdriver.com>
| * [PATCH] bcm43xx: Remove the mmio access printing facility overhead.Michael Buesch2006-03-272-130/+6
| | | | | | | | | | Signed-off-by: Michael Buesch <mbuesch@freenet.de> Signed-off-by: John W. Linville <linville@tuxdriver.com>
| * [PATCH] bcm43xx: Abstract the locking mechanism.Michael Buesch2006-03-277-124/+142
| | | | | | | | | | | | | | | | This is the starting point to make the driver out-of-order-MMIO-stores safe. There are more mmiowb() needed. Signed-off-by: Michael Buesch <mbuesch@freenet.de> Signed-off-by: John W. Linville <linville@tuxdriver.com>
| * [PATCH] bcm43xx: Set both, the DMAmask and the coherent DMAmask.Michael Buesch2006-03-271-3/+6
| | | | | | | | | | | | | | This has a potential to fix the >1G bug. But I can not test that, yet. Signed-off-by: Michael Buesch <mbuesch@freenet.de> Signed-off-by: John W. Linville <linville@tuxdriver.com>
| * [PATCH] bcm43xx: fix DMA TX skb freeing in case of fragmented packets.Pete Zaitcev2006-03-272-40/+8
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | It seems to me that the today's wireless-2.6 git contains bcm43xx which does not free txb's correctly, if I understand it right. Consider a situation where a txb with two skb's is sent down. The dma_tx_fragment will save the pointer to meta->txb of the first fragment. If fragments are freed in order, ieee80211_txb_free frees both skb's when the first fragment is processed. This may result in reuse of the second skb's memory. This danger is rather remote, but it seems to me that the patch below not only fixes the problem, but also makes the code simpler, which is good, right? Signed-off-by: Michael Buesch <mbuesch@freenet.de> Signed-off-by: John W. Linville <linville@tuxdriver.com>
| * [PATCH] bcm43xx: Add sysfs attributes for device specific tunables.Michael Buesch2006-03-275-1/+356
| | | | | | | | | | Signed-off-by: Michael Buesch <mbuesch@freenet.de> Signed-off-by: John W. Linville <linville@tuxdriver.com>
| * [PATCH] bcm43xx: Move TX/RX related functions to its own file. Add basic ↵Michael Buesch2006-03-279-577/+746
| | | | | | | | | | | | | | RTS/CTS code. Signed-off-by: Michael Buesch <mbuesch@freenet.de> Signed-off-by: John W. Linville <linville@tuxdriver.com>
| * [PATCH] bcm43xx: add assert(bcm->initialized) to periodic_tasks_setup().Michael Buesch2006-03-271-0/+1
| | | | | | | | | | Signed-off-by: Michael Buesch <mbuesch@freenet.de> Signed-off-by: John W. Linville <linville@tuxdriver.com>
| * [PATCH] bcm43xx: move initialized = 1 to the end of init_board.Michael Buesch2006-03-271-4/+6
| | | | | | | | | | | | | | Note that the periodic work has to be started with initialized==1 Signed-off-by: Michael Buesch <mbuesch@freenet.de> Signed-off-by: John W. Linville <linville@tuxdriver.com>
| * [PATCH] bcm43xx: Workaround init_board vs IRQ race.Michael Buesch2006-03-271-6/+13
| | | | | | | | | | | | | | | | | | The proper fix for this is to move IRQ enabling to the end of init_board. But this is nontrivial and needs to be done with care. Stay with this cheap workaround for now. Signed-off-by: Michael Buesch <mbuesch@freenet.de> Signed-off-by: John W. Linville <linville@tuxdriver.com>
| * [PATCH] bcm43xx: Fix Kconfig typo (transfer mode default)Michael Buesch2006-03-271-1/+1
| | | | | | | | | | Signed-off-by: Michael Buesch <mbuesch@freenet.de> Signed-off-by: John W. Linville <linville@tuxdriver.com>
| * [PATCH] bcm43xx: remove old unused struct.Michael Buesch2006-03-271-5/+0
| | | | | | | | | | Signed-off-by: Michael Buesch <mbuesch@freenet.de> Signed-off-by: John W. Linville <linville@tuxdriver.com>
| * [PATCH] bcm43xx: split the channel helper functions, so that they can be ↵Michael Buesch2006-03-273-37/+59
| | | | | | | | | | | | | | used without a valid running core. Signed-off-by: Michael Buesch <mbuesch@freenet.de> Signed-off-by: John W. Linville <linville@tuxdriver.com>
| * [PATCH] bcm43xx: make bcm43xx_sprom_crc() static.Michael Buesch2006-03-272-3/+1
| | | | | | | | | | Signed-off-by: Michael Buesch <mbuesch@freenet.de> Signed-off-by: John W. Linville <linville@tuxdriver.com>
| * [PATCH] bcm43xx: Move sprom lowlevel reading/writing to its own functions.Michael Buesch2006-03-273-76/+86
| | | | | | | | | | Signed-off-by: Michael Buesch <mbuesch@freenet.de> Signed-off-by: John W. Linville <linville@tuxdriver.com>
| * [PATCH] bcm43xx: Code cleanups. This removes various "inline" statements and ↵Michael Buesch2006-03-273-181/+127
| | | | | | | | | | | | | | reduces codesize. Signed-off-by: Michael Buesch <mbuesch@freenet.de> Signed-off-by: John W. Linville <linville@tuxdriver.com>
| * [PATCH] bcm43xx: rewrite and simplify the periodic task handling.Michael Buesch2006-03-272-134/+73
| | | | | | | | | | Signed-off-by: Michael Buesch <mbuesch@freenet.de> Signed-off-by: John W. Linville <linville@tuxdriver.com>