Search Linux Wireless

[PATCH] b43: Add N-PHY related initvals firmware filenames.

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



This adds the initval filenames for the N-PHY firmware.

Signed-off-by: Michael Buesch <mb@xxxxxxxxx>

---

Stuff for 2.6.25

Index: wireless-2.6/drivers/net/wireless/b43/main.c
===================================================================
--- wireless-2.6.orig/drivers/net/wireless/b43/main.c	2008-01-06 00:12:08.000000000 +0100
+++ wireless-2.6/drivers/net/wireless/b43/main.c	2008-01-06 00:12:08.000000000 +0100
@@ -1671,12 +1671,18 @@ static int b43_request_firmware(struct b
 				filename = "b0g0initvals5";
 			else if (rev >= 13)
 				filename = "lp0initvals13";
 			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;
 		}
 		err = do_request_fw(dev, filename, &fw->initvals);
 		if (err)
 			goto err_load;
@@ -1699,12 +1705,18 @@ static int b43_request_firmware(struct b
 				filename = "b0g0bsinitvals5";
 			else if (rev >= 11)
 				filename = NULL;
 			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;
 		}
 		err = do_request_fw(dev, filename, &fw->initvals_band);
 		if (err)
 			goto err_load;
-
To unsubscribe from this list: send the line "unsubscribe linux-wireless" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html

[Index of Archives]     [Linux Host AP]     [ATH6KL]     [Linux Bluetooth]     [Linux Netdev]     [Kernel Newbies]     [Linux Kernel]     [IDE]     [Security]     [Git]     [Netfilter]     [Bugtraq]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Linux ATA RAID]     [Samba]     [Device Mapper]
  Powered by Linux