ar71xx: use modules for LED triggers
[openwrt.git] / target / linux / brcm47xx / patches-3.2 / 190-ssb-sprom-fix-some-sizes-signedness.patch
1 --- a/include/linux/ssb/ssb.h
2 +++ b/include/linux/ssb/ssb.h
3 @@ -33,8 +33,8 @@ struct ssb_sprom {
4 u8 et1mdcport; /* MDIO for enet1 */
5 u16 board_rev; /* Board revision number from SPROM. */
6 u8 country_code; /* Country Code */
7 - u16 leddc_on_time; /* LED Powersave Duty Cycle On Count */
8 - u16 leddc_off_time; /* LED Powersave Duty Cycle Off Count */
9 + u8 leddc_on_time; /* LED Powersave Duty Cycle On Count */
10 + u8 leddc_off_time; /* LED Powersave Duty Cycle Off Count */
11 u8 ant_available_a; /* 2GHz antenna available bits (up to 4) */
12 u8 ant_available_bg; /* 5GHz antenna available bits (up to 4) */
13 u16 pa0b0;
14 @@ -53,10 +53,10 @@ struct ssb_sprom {
15 u8 gpio1; /* GPIO pin 1 */
16 u8 gpio2; /* GPIO pin 2 */
17 u8 gpio3; /* GPIO pin 3 */
18 - u16 maxpwr_bg; /* 2.4GHz Amplifier Max Power (in dBm Q5.2) */
19 - u16 maxpwr_al; /* 5.2GHz Amplifier Max Power (in dBm Q5.2) */
20 - u16 maxpwr_a; /* 5.3GHz Amplifier Max Power (in dBm Q5.2) */
21 - u16 maxpwr_ah; /* 5.8GHz Amplifier Max Power (in dBm Q5.2) */
22 + u8 maxpwr_bg; /* 2.4GHz Amplifier Max Power (in dBm Q5.2) */
23 + u8 maxpwr_al; /* 5.2GHz Amplifier Max Power (in dBm Q5.2) */
24 + u8 maxpwr_a; /* 5.3GHz Amplifier Max Power (in dBm Q5.2) */
25 + u8 maxpwr_ah; /* 5.8GHz Amplifier Max Power (in dBm Q5.2) */
26 u8 itssi_a; /* Idle TSSI Target for A-PHY */
27 u8 itssi_bg; /* Idle TSSI Target for B/G-PHY */
28 u8 tri2g; /* 2.4GHz TX isolation */
29 @@ -67,8 +67,8 @@ struct ssb_sprom {
30 u8 txpid5gl[4]; /* 4.9 - 5.1GHz TX power index */
31 u8 txpid5g[4]; /* 5.1 - 5.5GHz TX power index */
32 u8 txpid5gh[4]; /* 5.5 - ...GHz TX power index */
33 - u8 rxpo2g; /* 2GHz RX power offset */
34 - u8 rxpo5g; /* 5GHz RX power offset */
35 + s8 rxpo2g; /* 2GHz RX power offset */
36 + s8 rxpo5g; /* 5GHz RX power offset */
37 u8 rssisav2g; /* 2GHz RSSI params */
38 u8 rssismc2g;
39 u8 rssismf2g;
This page took 0.04989 seconds and 5 git commands to generate.