| .. | .. |
|---|
| 217 | 217 | int stmmac_mdio_unregister(struct net_device *ndev); |
|---|
| 218 | 218 | int stmmac_mdio_register(struct net_device *ndev); |
|---|
| 219 | 219 | int stmmac_mdio_reset(struct mii_bus *mii); |
|---|
| 220 | | - |
|---|
| 221 | | -#ifdef CONFIG_STMMAC_ETHTOOL |
|---|
| 222 | 220 | void stmmac_set_ethtool_ops(struct net_device *netdev); |
|---|
| 223 | | -#else |
|---|
| 224 | | -static inline void stmmac_set_ethtool_ops(struct net_device *netdev) |
|---|
| 225 | | -{ |
|---|
| 226 | | -} |
|---|
| 227 | | -#endif |
|---|
| 228 | 221 | |
|---|
| 229 | | -#ifdef CONFIG_STMMAC_PTP |
|---|
| 230 | 222 | void stmmac_ptp_register(struct stmmac_priv *priv); |
|---|
| 231 | 223 | void stmmac_ptp_unregister(struct stmmac_priv *priv); |
|---|
| 232 | | -#else |
|---|
| 233 | | -static inline void stmmac_ptp_register(struct stmmac_priv *priv) |
|---|
| 234 | | -{ |
|---|
| 235 | | -} |
|---|
| 236 | | - |
|---|
| 237 | | -static inline void stmmac_ptp_unregister(struct stmmac_priv *priv) |
|---|
| 238 | | -{ |
|---|
| 239 | | -} |
|---|
| 240 | | -#endif |
|---|
| 241 | 224 | int stmmac_resume(struct device *dev); |
|---|
| 242 | 225 | int stmmac_suspend(struct device *dev); |
|---|
| 243 | 226 | int stmmac_dvr_remove(struct device *dev); |
|---|