]>
Commit | Line | Data |
---|---|---|
a8ba13cd GKH |
1 | From stable-bounces@linux.kernel.org Sat Feb 17 09:45:44 2007 |
2 | From: Stefano Brivio <stefano.brivio@polimi.it> | |
3 | Date: Sat, 17 Feb 2007 18:43:14 +0100 | |
4 | Subject: bcm43xx: fix for 4309 | |
5 | To: stable@kernel.org | |
6 | Cc: John Linville <linville@tuxdriver.com>, Stefano Brivio <stefano.brivio@polimi.it>, Larry Finger <larry.finger@lwfinger.net> | |
7 | Message-ID: <200702171843.14872.mb@bu3sch.de> | |
8 | Content-Disposition: inline | |
9 | ||
10 | From: Stefano Brivio <stefano.brivio@polimi.it> | |
11 | ||
12 | BCM4309 devices aren't working properly as A PHYs aren't supported yet, but | |
13 | we probe 802.11a cores anyway. This fixes it, while still allowing for A PHY code | |
14 | to be developed in the future. | |
15 | ||
16 | Signed-off-by: Stefano Brivio <stefano.brivio@polimi.it> | |
17 | Cc: Michael Buesch <mb@bu3sch.de> | |
18 | Signed-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 | } |