]> git.ipfire.org Git - thirdparty/kernel/stable-queue.git/blame - releases/2.6.20.2/bcm43xx-fix-for-4309.patch
drop queue-4.14/mips-make-sure-dt-memory-regions-are-valid.patch
[thirdparty/kernel/stable-queue.git] / releases / 2.6.20.2 / bcm43xx-fix-for-4309.patch
CommitLineData
a8ba13cd
GKH
1From stable-bounces@linux.kernel.org Sat Feb 17 09:45:44 2007
2From: Stefano Brivio <stefano.brivio@polimi.it>
3Date: Sat, 17 Feb 2007 18:43:14 +0100
4Subject: bcm43xx: fix for 4309
5To: stable@kernel.org
6Cc: John Linville <linville@tuxdriver.com>, Stefano Brivio <stefano.brivio@polimi.it>, Larry Finger <larry.finger@lwfinger.net>
7Message-ID: <200702171843.14872.mb@bu3sch.de>
8Content-Disposition: inline
9
10From: Stefano Brivio <stefano.brivio@polimi.it>
11
12BCM4309 devices aren't working properly as A PHYs aren't supported yet, but
13we probe 802.11a cores anyway. This fixes it, while still allowing for A PHY code
14to be developed in the future.
15
16Signed-off-by: Stefano Brivio <stefano.brivio@polimi.it>
17Cc: Michael Buesch <mb@bu3sch.de>
18Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
19
20---
21 drivers/net/wireless/bcm43xx/bcm43xx_main.c | 5 +++--
22 1 file changed, 3 insertions(+), 2 deletions(-)
23
24--- linux-2.6.20.1.orig/drivers/net/wireless/bcm43xx/bcm43xx_main.c
25+++ linux-2.6.20.1/drivers/net/wireless/bcm43xx/bcm43xx_main.c
26@@ -2736,8 +2736,9 @@ static int bcm43xx_probe_cores(struct bc
27 * dangling pins on the second core. Be careful
28 * and ignore these cores here.
29 */
30- if (bcm->pci_dev->device != 0x4324) {
31- dprintk(KERN_INFO PFX "Ignoring additional 802.11 core.\n");
32+ if (1 /*bcm->pci_dev->device != 0x4324*/ ) {
33+ /* TODO: A PHY */
34+ dprintk(KERN_INFO PFX "Ignoring additional 802.11a core.\n");
35 continue;
36 }
37 }