brcm47xx: board detection WNDR3400v2
[openwrt/openwrt.git] / target / linux / brcm47xx / patches-3.6 / 270-ssb-fix-unaligned-access-to-mac-address.patch
1 --- a/include/linux/ssb/ssb.h
2 +++ b/include/linux/ssb/ssb.h
3 @@ -26,6 +26,7 @@ struct ssb_sprom_core_pwr_info {
4
5 struct ssb_sprom {
6 u8 revision;
7 + u8 country_code; /* Country Code */
8 u8 il0mac[6]; /* MAC address for 802.11b/g */
9 u8 et0mac[6]; /* MAC address for Ethernet */
10 u8 et1mac[6]; /* MAC address for 802.11a */
11 @@ -36,7 +37,6 @@ struct ssb_sprom {
12 u16 board_rev; /* Board revision number from SPROM. */
13 u16 board_num; /* Board number from SPROM. */
14 u16 board_type; /* Board type from SPROM. */
15 - u8 country_code; /* Country Code */
16 char alpha2[2]; /* Country Code as two chars like EU or US */
17 u8 leddc_on_time; /* LED Powersave Duty Cycle On Count */
18 u8 leddc_off_time; /* LED Powersave Duty Cycle Off Count */