Changeset 35539
- Timestamp:
- 2013-02-10T14:18:48+01:00 (5 years ago)
- Location:
- trunk/target/linux/generic/files/drivers/net/phy
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/target/linux/generic/files/drivers/net/phy/ar8216.c
r35538 r35539 789 789 struct mii_bus *bus; 790 790 791 val = priv->read(priv, 0x8);791 val = priv->read(priv, AR8316_REG_POSTRIP); 792 792 793 793 if (priv->phy->interface == PHY_INTERFACE_MODE_RGMII) { … … 813 813 goto out; 814 814 815 priv->write(priv, 0x8, newval);815 priv->write(priv, AR8316_REG_POSTRIP, newval); 816 816 817 817 /* Initialize the ports */ -
trunk/target/linux/generic/files/drivers/net/phy/ar8216.h
r34881 r35539 256 256 #define AR8236_STATS_TXLATECOL 0xa4 257 257 258 #define AR8316_REG_POSTRIP 0x0008 259 #define AR8316_POSTRIP_MAC0_GMII_EN BIT(0) 260 #define AR8316_POSTRIP_MAC0_RGMII_EN BIT(1) 261 #define AR8316_POSTRIP_PHY4_GMII_EN BIT(2) 262 #define AR8316_POSTRIP_PHY4_RGMII_EN BIT(3) 263 #define AR8316_POSTRIP_MAC0_MAC_MODE BIT(4) 264 #define AR8316_POSTRIP_RTL_MODE BIT(5) 265 #define AR8316_POSTRIP_RGMII_RXCLK_DELAY_EN BIT(6) 266 #define AR8316_POSTRIP_RGMII_TXCLK_DELAY_EN BIT(7) 267 #define AR8316_POSTRIP_SERDES_EN BIT(8) 268 #define AR8316_POSTRIP_SEL_ANA_RST BIT(9) 269 #define AR8316_POSTRIP_GATE_25M_EN BIT(10) 270 #define AR8316_POSTRIP_SEL_CLK25M BIT(11) 271 #define AR8316_POSTRIP_HIB_PULSE_HW BIT(12) 272 #define AR8316_POSTRIP_DBG_MODE_I BIT(13) 273 #define AR8316_POSTRIP_MAC5_MAC_MODE BIT(14) 274 #define AR8316_POSTRIP_MAC5_PHY_MODE BIT(15) 275 #define AR8316_POSTRIP_POWER_DOWN_HW BIT(16) 276 #define AR8316_POSTRIP_LPW_STATE_EN BIT(17) 277 #define AR8316_POSTRIP_MAN_EN BIT(18) 278 #define AR8316_POSTRIP_PHY_PLL_ON BIT(19) 279 #define AR8316_POSTRIP_LPW_EXIT BIT(20) 280 #define AR8316_POSTRIP_TXDELAY_S0 BIT(21) 281 #define AR8316_POSTRIP_TXDELAY_S1 BIT(22) 282 #define AR8316_POSTRIP_RXDELAY_S0 BIT(23) 283 #define AR8316_POSTRIP_LED_OPEN_EN BIT(24) 284 #define AR8316_POSTRIP_SPI_EN BIT(25) 285 #define AR8316_POSTRIP_RXDELAY_S1 BIT(26) 286 #define AR8316_POSTRIP_POWER_ON_SEL BIT(31) 287 258 288 #define AR8327_NUM_PORTS 7 259 289 #define AR8327_NUM_PHYS 5
Note: See TracChangeset
for help on using the changeset viewer.