|
@@ -19,6 +19,9 @@ extern struct phy_device *of_phy_connect(struct net_device *dev,
|
|
|
struct device_node *phy_np,
|
|
|
void (*hndlr)(struct net_device *),
|
|
|
u32 flags, phy_interface_t iface);
|
|
|
+struct phy_device *of_phy_attach(struct net_device *dev,
|
|
|
+ struct device_node *phy_np, u32 flags,
|
|
|
+ phy_interface_t iface);
|
|
|
extern struct phy_device *of_phy_connect_fixed_link(struct net_device *dev,
|
|
|
void (*hndlr)(struct net_device *),
|
|
|
phy_interface_t iface);
|
|
@@ -44,6 +47,13 @@ static inline struct phy_device *of_phy_connect(struct net_device *dev,
|
|
|
return NULL;
|
|
|
}
|
|
|
|
|
|
+static inline struct phy_device *of_phy_attach(struct net_device *dev,
|
|
|
+ struct device_node *phy_np,
|
|
|
+ u32 flags, phy_interface_t iface)
|
|
|
+{
|
|
|
+ return NULL;
|
|
|
+}
|
|
|
+
|
|
|
static inline struct phy_device *of_phy_connect_fixed_link(struct net_device *dev,
|
|
|
void (*hndlr)(struct net_device *),
|
|
|
phy_interface_t iface)
|