spidernet: enable support for bcm5461 ethernet phy
A newer board revision changed the type of ethernet phy. Moreover, this generalizes the way that a phy gets switched into fiber mode when autodetection is not available. Signed-off-by: Jens Osterkamp <Jens.Osterkamp@de.ibm.com> Signed-off-by: Arnd Bergmann <arnd.bergmann@de.ibm.com> Signed-off-by: Stephen Hemminger <shemminger@osdl.org>
This commit is contained in:

committed by
Stephen Hemminger

parent
b636d17a3b
commit
8ec9345965
@@ -12,6 +12,7 @@ struct mii_phy_ops
|
||||
int (*setup_forced)(struct mii_phy *phy, int speed, int fd);
|
||||
int (*poll_link)(struct mii_phy *phy);
|
||||
int (*read_link)(struct mii_phy *phy);
|
||||
int (*enable_fiber)(struct mii_phy *phy);
|
||||
};
|
||||
|
||||
/* Structure used to statically define an mii/gii based PHY */
|
||||
|
Reference in New Issue
Block a user