brcm47xx: sprom for nvram parsing
[openwrt/svn-archive/archive.git] / target / linux / brcm47xx / patches-3.2 / 192-ssb-add-ccode.patch
1 From b0a2a5c4a88f5d83046b408714ec9b86772fa75d Mon Sep 17 00:00:00 2001
2 From: Hauke Mehrtens <hauke@hauke-m.de>
3 Date: Sat, 18 Feb 2012 17:16:28 +0100
4 Subject: [PATCH 192/202] ssb: add ccode
5
6 This member contains the country code encoded with two chars
7
8 Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de>
9 ---
10 include/linux/ssb/ssb.h | 1 +
11 1 files changed, 1 insertions(+), 0 deletions(-)
12
13 --- a/include/linux/ssb/ssb.h
14 +++ b/include/linux/ssb/ssb.h
15 @@ -35,6 +35,7 @@ struct ssb_sprom {
16 u8 country_code; /* Country Code */
17 u8 leddc_on_time; /* LED Powersave Duty Cycle On Count */
18 u8 leddc_off_time; /* LED Powersave Duty Cycle Off Count */
19 + char ccode[2];
20 u8 ant_available_a; /* 2GHz antenna available bits (up to 4) */
21 u8 ant_available_bg; /* 5GHz antenna available bits (up to 4) */
22 u16 pa0b0;