summary refs log tree commit diff
path: root/drivers/net/sungem_phy.h
diff options
context:
space:
mode:
authorJens Osterkamp <Jens.Osterkamp@de.ibm.com>2006-05-04 05:59:41 -0400
committerStephen Hemminger <shemminger@osdl.org>2006-05-08 16:01:12 -0700
commit8ec93459655a3618dedec6360bb28d63f0010ef6 (patch)
tree48a3599fd2701a507bdc9e3308c970b28cb99086 /drivers/net/sungem_phy.h
parentb636d17a3bee8ba988e78e4bc8262f0dc3fad8ab (diff)
downloadlinux-8ec93459655a3618dedec6360bb28d63f0010ef6.tar.gz
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>
Diffstat (limited to 'drivers/net/sungem_phy.h')
-rw-r--r--drivers/net/sungem_phy.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/net/sungem_phy.h b/drivers/net/sungem_phy.h
index 430544496c52..69e125197fcf 100644
--- a/drivers/net/sungem_phy.h
+++ b/drivers/net/sungem_phy.h
@@ -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 */