]> err.no Git - linux-2.6/commitdiff
b43: Add N-PHY related initvals firmware filenames.
authorMichael Buesch <mb@bu3sch.de>
Mon, 7 Jan 2008 11:55:14 +0000 (12:55 +0100)
committerDavid S. Miller <davem@davemloft.net>
Mon, 28 Jan 2008 23:09:47 +0000 (15:09 -0800)
This adds the initval filenames for the N-PHY firmware.

Signed-off-by: Michael Buesch <mb@bu3sch.de>
Signed-off-by: John W. Linville <linville@tuxdriver.com>
drivers/net/wireless/b43/main.c

index a15a45b789b117c5c14da3e9ce4b49476100b87b..257640a921a376c660a82e771d4aaf77b4b37c2a 100644 (file)
@@ -1674,6 +1674,12 @@ static int b43_request_firmware(struct b43_wldev *dev)
                        else
                                goto err_no_initvals;
                        break;
+               case B43_PHYTYPE_N:
+                       if ((rev >= 11) && (rev <= 12))
+                               filename = "n0initvals11";
+                       else
+                               goto err_no_initvals;
+                       break;
                default:
                        goto err_no_initvals;
                }
@@ -1702,6 +1708,12 @@ static int b43_request_firmware(struct b43_wldev *dev)
                        else
                                goto err_no_initvals;
                        break;
+               case B43_PHYTYPE_N:
+                       if ((rev >= 11) && (rev <= 12))
+                               filename = "n0bsinitvals11";
+                       else
+                               goto err_no_initvals;
+                       break;
                default:
                        goto err_no_initvals;
                }