/* SPDX-License-Identifier: GPL-2.0 */ #ifndef __PHY_FIXED_H #define __PHY_FIXED_H #include struct fixed_phy_status { int link; int speed; int duplex; int pause; int asym_pause; }; struct device_node; struct net_device; #if IS_ENABLED(CONFIG_FIXED_PHY) extern int fixed_phy_change_carrier(struct net_device *dev, bool new_carrier); void fixed_phy_add(const struct fixed_phy_status *status); struct phy_device *fixed_phy_register(const struct fixed_phy_status *status, struct device_node *np); extern void fixed_phy_unregister(struct phy_device *phydev); extern int fixed_phy_set_link_update(struct phy_device *phydev, int (*link_update)(struct net_device *, struct fixed_phy_status *)); #else static inline void fixed_phy_add(const struct fixed_phy_status *status) {} static inline struct phy_device * fixed_phy_register(const struct fixed_phy_status *status, struct device_node *np) { return ERR_PTR(-ENODEV); } static inline void fixed_phy_unregister(struct phy_device *phydev) { } #endif /* CONFIG_FIXED_PHY */ #endif /* __PHY_FIXED_H */ n value='linux-2.6.13.y'>linux-2.6.13.y Hosts the 0x221E linux distro kernel.Ubuntu
summaryrefslogtreecommitdiff
path: root/arch/arm/mach-ep93xx/include/mach
AgeCommit message (Expand)Author
2019-05-30treewide: Replace GPLv2 boilerplate/reference with SPDX - rule 152Thomas Gleixner
2019-04-28ARM: ep93xx: move private headers out of mach/*Arnd Bergmann
2019-04-28ARM: ep93xx: move pinctrl interfaces into include/linux/socArnd Bergmann
2019-04-28ARM: ep93xx: move network platform data to separate headerArnd Bergmann
2017-11-14Merge branch 'i2c/for-4.15' of ssh://gitolite.kernel.org/pub/scm/linux/kernel...Linus Torvalds
2017-11-02License cleanup: add SPDX GPL-2.0 license identifier to files with no licenseGreg Kroah-Hartman
2017-10-30i2c: gpio: Convert to use descriptorsLinus Walleij
2017-07-28ARM: ep93xx: Add ADC platform device support to coreAlexander Sverdlin
2017-02-07ARM: ep93xx: Disable TS-72xx watchdog before uncompressingFlorian Fainelli