net: Fix recursive descent in __scm_destroy().
[linux-2.6/linux-acpi-2.6/ibm-acpi-2.6.git] / include / linux / phy_fixed.h
blob509d8f5f984e3985cffe178b8a335498f30bcf50
1 #ifndef __PHY_FIXED_H
2 #define __PHY_FIXED_H
4 struct fixed_phy_status {
5 int link;
6 int speed;
7 int duplex;
8 int pause;
9 int asym_pause;
12 #ifdef CONFIG_FIXED_PHY
13 extern int fixed_phy_add(unsigned int irq, int phy_id,
14 struct fixed_phy_status *status);
15 #else
16 static inline int fixed_phy_add(unsigned int irq, int phy_id,
17 struct fixed_phy_status *status)
19 return -ENODEV;
21 #endif /* CONFIG_FIXED_PHY */
24 * This function issued only by fixed_phy-aware drivers, no need
25 * protect it with #ifdef
27 extern int fixed_phy_set_link_update(struct phy_device *phydev,
28 int (*link_update)(struct net_device *,
29 struct fixed_phy_status *));
31 #endif /* __PHY_FIXED_H */