[bwn] rename TGS low registers to be consistent with naming scheme.

This commit is contained in:
Adrian Chadd 2016-05-19 04:22:58 +00:00
parent af8366c448
commit 923840c646
2 changed files with 4 additions and 4 deletions

View File

@ -186,9 +186,9 @@ bwn_mac_phy_clock_set(struct bwn_mac *mac, int enabled)
if (bwn_is_bus_siba(mac)) {
val = siba_read_4(sc->sc_dev, SIBA_TGSLOW);
if (enabled)
val |= BWN_TMSLOW_MACPHYCLKEN;
val |= BWN_TGSLOW_MACPHYCLKEN;
else
val &= ~BWN_TMSLOW_MACPHYCLKEN;
val &= ~BWN_TGSLOW_MACPHYCLKEN;
siba_write_4(sc->sc_dev, SIBA_TGSLOW, val);
}
}

View File

@ -97,8 +97,8 @@
/* SIBA control registers */
#define BWN_TGSLOW_PHYCLOCK_ENABLE 0x00040000
#define BWN_TGSLOW_PHYRESET 0x00080000
#define BWN_TMSLOW_MACPHYCLKEN 0x00100000 /* MAC PHY Clock Control Enable (rev >= 5) */
#define BWN_TMSLOW_PLLREFSEL 0x00200000 /* PLL Frequency Reference Select (rev >= 5) */
#define BWN_TGSLOW_MACPHYCLKEN 0x00100000 /* MAC PHY Clock Control Enable (rev >= 5) */
#define BWN_TGSLOW_PLLREFSEL 0x00200000 /* PLL Frequency Reference Select (rev >= 5) */
/* PHY_BANDWIDTH: N-PHY only */
#define BWN_TGSLOW_PHY_BANDWIDTH 0x00C00000
#define BWN_TGSLOW_PHY_BANDWIDTH_10MHZ 0x00000000