2 --- a/include/linux/ssb/ssb.h
3 +++ b/include/linux/ssb/ssb.h
4 @@ -32,6 +32,8 @@ struct ssb_sprom {
5 u8 et0mdcport; /* MDIO for enet0 */
6 u8 et1mdcport; /* MDIO for enet1 */
7 u16 board_rev; /* Board revision number from SPROM. */
8 + u16 board_num; /* Board number from SPROM. */
9 + u16 board_type; /* Board type from SPROM. */
10 u8 country_code; /* Country Code */
11 char alpha2[2]; /* Country Code as two chars like EU or US */
12 u8 leddc_on_time; /* LED Powersave Duty Cycle On Count */
13 @@ -112,7 +114,79 @@ struct ssb_sprom {
17 - /* TODO - add any parameters needed from rev 2, 3, 4, 5 or 8 SPROMs */
25 + u8 rxgainerr5gla[3];
26 + u8 rxgainerr5gma[3];
27 + u8 rxgainerr5gha[3];
28 + u8 rxgainerr5gua[3];
51 + u8 tempsense_option;
57 + u8 phycal_tempdelta;
59 + u8 temps_hysteresis;
64 + /* power per rate from sromrev 9 */
67 + u32 legofdmbw202gpo;
68 + u32 legofdmbw20ul2gpo;
69 + u32 legofdmbw205glpo;
70 + u32 legofdmbw20ul5glpo;
71 + u32 legofdmbw205gmpo;
72 + u32 legofdmbw20ul5gmpo;
73 + u32 legofdmbw205ghpo;
74 + u32 legofdmbw20ul5ghpo;
93 /* Information about the PCB the circuitry is soldered on. */