summaryrefslogtreecommitdiffstats
path: root/drivers
Commit message (Collapse)AuthorAgeFilesLines
* [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>
* [PATCH] bcm43xx: fix LED code.Michael Buesch2006-03-273-33/+68
| | | | | Signed-off-by: Michael Buesch <mbuesch@freenet.de> Signed-off-by: John W. Linville <linville@tuxdriver.com>
* [PATCH] Apple Airport: Add Kconfig note that the bcm43xx driver has to be ↵Michael Buesch2006-03-271-1/+4
| | | | | | | used for Airport Extreme cards. Signed-off-by: Michael Buesch <mbuesch@freenet.de> Signed-off-by: John W. Linville <linville@tuxdriver.com>
* [PATCH] bcm43xx: add a note that not all devices support PIO.Michael Buesch2006-03-271-0/+5
| | | | | Signed-off-by: Michael Buesch <mbuesch@freenet.de> Signed-off-by: John W. Linville <linville@tuxdriver.com>
* [PATCH] bcm43xx: Partially fix PIO code. Add Kconfig option for PIO or DMA ↵Michael Buesch2006-03-278-248/+438
| | | | | | | mode (or both). Signed-off-by: Michael Buesch <mbuesch@freenet.de> Signed-off-by: John W. Linville <linville@tuxdriver.com>
* [PATCH] bcm43xx: remove WX debugging.Michael Buesch2006-03-271-68/+0
| | | | | Signed-off-by: Michael Buesch <mbuesch@freenet.de> Signed-off-by: John W. Linville <linville@tuxdriver.com>
* [PATCH] bcm43xx: fix compiletime warning (phy_xmitpower)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: heavily increase mac_suspend timeout.Michael Buesch2006-03-271-7/+4
| | | | | Signed-off-by: Michael Buesch <mbuesch@freenet.de> Signed-off-by: John W. Linville <linville@tuxdriver.com>
* [PATCH] bcm43xx: enable SPROM writing.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: fix txpower reporting in WE.Michael Buesch2006-03-274-15/+44
| | | | | Signed-off-by: Michael Buesch <mbuesch@freenet.de> Signed-off-by: John W. Linville <linville@tuxdriver.com>
* [PATCH] Sync bcm43xx_phy_initb6() with specsDanny van Dyk2006-03-273-6/+12
| | | | Signed-off-by: John W. Linville <linville@tuxdriver.com>
* [PATCH] bcm43xx: Wireless Ext updateMichael Buesch2006-03-271-1/+11
| | | | | | | | | Wireless Ext update: update we_version_source set enc_capa Signed-off-by: Michael Buesch <mbuesch@freenet.de> Signed-off-by: John W. Linville <linville@tuxdriver.com>
* [PATCH] bcm43xx: basic ethtool supportMichael Buesch2006-03-274-1/+62
| | | | | | | | | | | | This patch contains the beginnings of ethtool support for bcm43xx. It only implements get_drvinfo and get_link, but that's enough for ifplugd to use ethtool to know whether we're associated or not and then start or stop dhcp as necessary. Signed-off-by: Jason Lunz <lunz@falooley.org> Signed-off-by: Michael Buesch <mbuesch@freenet.de> Signed-off-by: John W. Linville <linville@tuxdriver.com>
* [PATCH] bcm43xx: Remove function bcm43xx_channel_is_allowed()Michael Buesch2006-03-271-165/+1
| | | | | | | | Geographical restriction should become part of the 80211 stack, so every driver does not have to duplicate it. Signed-off-by: Michael Buesch <mbuesch@freenet.de> Signed-off-by: John W. Linville <linville@tuxdriver.com>
* [PATCH] bcm43xx: Add more initvals sanity checks and error out, if one ↵Michael Buesch2006-03-271-19/+43
| | | | | | | sanity check fails. Signed-off-by: Michael Buesch <mbuesch@freenet.de> Signed-off-by: John W. Linville <linville@tuxdriver.com>
* [PATCH] bcm43xx: Fix makefile. Remove all the "out-of-tree" stuff.Michael Buesch2006-03-274-98/+14
| | | | | Signed-off-by: Michael Buesch <mbuesch@freenet.de> Signed-off-by: John W. Linville <linville@tuxdriver.com>
* [PATCH] bcm43xx: add DEBUG Kconfig option. Also fix indention.Michael Buesch2006-03-271-5/+14
| | | | | Signed-off-by: Michael Buesch <mbuesch@freenet.de> Signed-off-by: John W. Linville <linville@tuxdriver.com>
* [PATCH] bcm43xx: remove redundant COPYING file.Michael Buesch2006-03-271-340/+0
| | | | | Signed-off-by: Michael Buesch <mbuesch@freenet.de> Signed-off-by: John W. Linville <linville@tuxdriver.com>
* [PATCH] bcm43xx: Move README file to Documentation directory.Michael Buesch2006-03-271-36/+0
| | | | | Signed-off-by: Michael Buesch <mbuesch@freenet.de> Signed-off-by: John W. Linville <linville@tuxdriver.com>
* [PATCH] bcm43xx: remove linux version compatibility code.Michael Buesch2006-03-271-23/+0
| | | | | Signed-off-by: Michael Buesch <mbuesch@freenet.de> Signed-off-by: John W. Linville <linville@tuxdriver.com>
* [PATCH] bcm43xx: sync with svn.berlios.deMichael Buesch2006-03-275-124/+102
| | | | | Signed-off-by: Michael Buesch <mbuesch@freenet.de> Signed-off-by: John W. Linville <linville@tuxdriver.com>
* [PATCH] bcm43xx: patch Kconfig and wireless/Makefile for importJohn W. Linville2006-03-272-0/+9
| | | | | | Patch Kconfig and wireless/Makefile to merge bcm43xx 'properly' Signed-off-by: John W. Linville <linville@tuxdriver.com>
* [PATCH] wireless: import bcm43xx sourcesJohn W. Linville2006-03-2724-0/+15093
| | | | | | | | Import the bcm43xx driver from the upstream sources here: ftp://ftp.berlios.de/pub/bcm43xx/snapshots/bcm43xx/bcm43xx-20060123.tar.bz2 Signed-off-by: John W. Linville <linville@tuxdriver.com>
* Merge git://git.kernel.org/pub/scm/linux/kernel/git/bunk/trivialLinus Torvalds2006-03-2616-57/+33
|\ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * git://git.kernel.org/pub/scm/linux/kernel/git/bunk/trivial: drivers/char/ftape/lowlevel/fdc-io.c: Correct a comment Kconfig help: MTD_JEDECPROBE already supports Intel Remove ugly debugging stuff do_mounts.c: Minor ROOT_DEV comment cleanup BUG_ON() Conversion in drivers/s390/block/dasd_devmap.c BUG_ON() Conversion in mm/mempool.c BUG_ON() Conversion in mm/memory.c BUG_ON() Conversion in kernel/fork.c BUG_ON() Conversion in ipc/sem.c BUG_ON() Conversion in fs/ext2/ BUG_ON() Conversion in fs/hfs/ BUG_ON() Conversion in fs/dcache.c BUG_ON() Conversion in fs/buffer.c BUG_ON() Conversion in input/serio/hp_sdc_mlc.c BUG_ON() Conversion in md/dm-table.c BUG_ON() Conversion in md/dm-path-selector.c BUG_ON() Conversion in drivers/isdn BUG_ON() Conversion in drivers/char BUG_ON() Conversion in drivers/mtd/
| * drivers/char/ftape/lowlevel/fdc-io.c: Correct a commentBastien Roucaries2006-03-261-1/+1
| | | | | | | | | | | | | | This patch correct a comment about cli(). Signed-off-by: Bastien Roucaries <roucaries.bastien@gmail.com> Signed-off-by: Adrian Bunk <bunk@stusta.de>
| * Kconfig help: MTD_JEDECPROBE already supports IntelAdrian Bunk2006-03-261-3/+2
| | | | | | | | | | | | | | Intel chips are already supported. Signed-off-by: Adrian Bunk <bunk@stusta.de> Acked-by: David Woodhouse <dwmw2@infradead.org>
| * BUG_ON() Conversion in drivers/s390/block/dasd_devmap.cEric Sesterhenn2006-03-261-4/+2
| | | | | | | | | | | | | | | | this changes if() BUG(); constructs to BUG_ON() which is cleaner, contains unlikely() and can better optimized away. Signed-off-by: Eric Sesterhenn <snakebyte@gmx.de> Signed-off-by: Adrian Bunk <bunk@stusta.de>
| * BUG_ON() Conversion in input/serio/hp_sdc_mlc.cEric Sesterhenn2006-03-261-3/+4
| | | | | | | | | | | | | | | | this changes if() BUG(); constructs to BUG_ON() which is cleaner and can better optimized away Signed-off-by: Eric Sesterhenn <snakebyte@gmx.de> Signed-off-by: Adrian Bunk <bunk@stusta.de>
| * BUG_ON() Conversion in md/dm-table.cEric Sesterhenn2006-03-261-4/+2
| | | | | | | | | | | | | | | | this changes if() BUG(); constructs to BUG_ON() which is cleaner and can better optimized away Signed-off-by: Eric Sesterhenn <snakebyte@gmx.de> Signed-off-by: Adrian Bunk <bunk@stusta.de>
| * BUG_ON() Conversion in md/dm-path-selector.cEric Sesterhenn2006-03-261-2/+1
| | | | | | | | | | | | | | | | this changes if() BUG(); constructs to BUG_ON() which is cleaner and can better optimized away Signed-off-by: Eric Sesterhenn <snakebyte@gmx.de> Signed-off-by: Adrian Bunk <bunk@stusta.de>
| * BUG_ON() Conversion in drivers/isdnEric Sesterhenn2006-03-265-21/+9
| | | | | | | | | | | | | | | | this changes if() BUG(); constructs to BUG_ON() which is cleaner, contains unlikely() and can better optimized away. Signed-off-by: Eric Sesterhenn <snakebyte@gmx.de> Signed-off-by: Adrian Bunk <bunk@stusta.de>
| * BUG_ON() Conversion in drivers/charEric Sesterhenn2006-03-262-9/+5
| | | | | | | | | | | | | | | | this changes if() BUG(); constructs to BUG_ON() which is cleaner, contains unlikely() and can better optimized away. Signed-off-by: Eric Sesterhenn <snakebyte@gmx.de> Signed-off-by: Adrian Bunk <bunk@stusta.de>
| * BUG_ON() Conversion in drivers/mtd/Eric Sesterhenn2006-03-263-10/+7
| | | | | | | | | | | | | | | | this changes if() BUG(); constructs to BUG_ON() which is cleaner, contains unlikely() and can better optimized away. Signed-off-by: Eric Sesterhenn <snakebyte@gmx.de> Signed-off-by: Adrian Bunk <bunk@stusta.de>
* | [PATCH] bitops: hweight() related cleanupAkinobu Mita2006-03-261-2/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | By defining generic hweight*() routines - hweight64() will be defined on all architectures - hweight_long() will use architecture optimized hweight32() or hweight64() I found two possible cleanups by these reasons. Signed-off-by: Akinobu Mita <mita@miraclelinux.com> Signed-off-by: Andrew Morton <akpm@osdl.org> Signed-off-by: Linus Torvalds <torvalds@osdl.org>