summaryrefslogtreecommitdiff
path: root/drivers/tsec.c
diff options
context:
space:
mode:
authorJon Loeliger <jdl@freescale.com>2007-11-20 14:34:57 -0600
committerJon Loeliger <jdl@freescale.com>2007-11-20 14:34:57 -0600
commit890e9413c0af74a3d74f37d9ab6d19784990fa0c (patch)
tree0e802d5d143e09751f85c76bf02f94aca023d077 /drivers/tsec.c
parent1d8a49eca1c7bdc8db1c47a92f9014a29ead03ae (diff)
parent9a337ddc154a10a26f117fd147b009abcdeba75a (diff)
Merge commit 'remotes/wd/master'
Diffstat (limited to 'drivers/tsec.c')
-rw-r--r--drivers/tsec.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/drivers/tsec.c b/drivers/tsec.c
index 7ba8f0cace..ca6284b726 100644
--- a/drivers/tsec.c
+++ b/drivers/tsec.c
@@ -117,10 +117,13 @@ struct phy_info *get_phy_info(struct eth_device *dev);
void phy_run_commands(struct tsec_private *priv, struct phy_cmd *cmd);
static void adjust_link(struct eth_device *dev);
static void relocate_cmds(void);
+#if defined(CONFIG_MII) || defined(CONFIG_CMD_MII) \
+ && !defined(BITBANGMII)
static int tsec_miiphy_write(char *devname, unsigned char addr,
unsigned char reg, unsigned short value);
static int tsec_miiphy_read(char *devname, unsigned char addr,
unsigned char reg, unsigned short *value);
+#endif
#ifdef CONFIG_MCAST_TFTP
static int tsec_mcast_addr (struct eth_device *dev, u8 mcast_mac, u8 set);
#endif