[PATCH] bcm43xx: fix for 4309
authorStefano Brivio <stefano.brivio@polimi.it>
Sat, 17 Feb 2007 17:24:44 +0000 (18:24 +0100)
committerJohn W. Linville <linville@tuxdriver.com>
Tue, 27 Feb 2007 15:58:40 +0000 (10:58 -0500)
BCM4309 devices aren't working properly as A PHYs aren't supported
yet, but we probe 802.11a cores anyway. This fixes it, while still
allowing for A PHY code to be developed in the future.

Signed-off-by: Stefano Brivio <stefano.brivio@polimi.it>
Signed-off-by: John W. Linville <linville@tuxdriver.com>
drivers/net/wireless/bcm43xx/bcm43xx_main.c

index 73c831a3b7479cd82b287863ddecd65934c1681a..e594af46ff055f2f59bca4555f64ea0321f3ef17 100644 (file)
@@ -2733,8 +2733,9 @@ static int bcm43xx_probe_cores(struct bcm43xx_private *bcm)
                                 * dangling pins on the second core. Be careful
                                 * and ignore these cores here.
                                 */
-                               if (bcm->pci_dev->device != 0x4324) {
-                                       dprintk(KERN_INFO PFX "Ignoring additional 802.11 core.\n");
+                               if (1 /*bcm->pci_dev->device != 0x4324*/ ) {
+                               /* TODO: A PHY */
+                                       dprintk(KERN_INFO PFX "Ignoring additional 802.11a core.\n");
                                        continue;
                                }
                        }