summaryrefslogtreecommitdiffstats
path: root/drivers/net/ethernet/cadence/macb.h
diff options
context:
space:
mode:
authorJoachim Eastwood <manabian@gmail.com>2012-10-18 11:01:12 +0000
committerDavid S. Miller <davem@davemloft.net>2012-10-19 13:18:29 -0400
commit0005f54102a7bcaffc9caa73db7d04d7587ab3c3 (patch)
tree3423c506626319b13bbcd87175ab8ccb4f964f5a /drivers/net/ethernet/cadence/macb.h
parent54f14e4b4d4759ddb0e1c61cb7469bea33842f78 (diff)
downloadblackbird-obmc-linux-0005f54102a7bcaffc9caa73db7d04d7587ab3c3.tar.gz
blackbird-obmc-linux-0005f54102a7bcaffc9caa73db7d04d7587ab3c3.zip
net/macb: export some symbols for at91_ether
Export some symbols to start sharing code between macb and at91_ether drivers. Signed-off-by: Joachim Eastwood <manabian@gmail.com>
Diffstat (limited to 'drivers/net/ethernet/cadence/macb.h')
-rw-r--r--drivers/net/ethernet/cadence/macb.h5
1 files changed, 5 insertions, 0 deletions
diff --git a/drivers/net/ethernet/cadence/macb.h b/drivers/net/ethernet/cadence/macb.h
index 138311f9be9a..335d1119774d 100644
--- a/drivers/net/ethernet/cadence/macb.h
+++ b/drivers/net/ethernet/cadence/macb.h
@@ -577,6 +577,11 @@ struct macb {
struct recv_desc_bufs *dlist_phys; /* descriptor list physical address */
};
+extern const struct ethtool_ops macb_ethtool_ops;
+
+int macb_mii_init(struct macb *bp);
+int macb_ioctl(struct net_device *dev, struct ifreq *rq, int cmd);
+
static inline bool macb_is_gem(struct macb *bp)
{
return MACB_BFEXT(IDNUM, macb_readl(bp, MID)) == 0x2;
OpenPOWER on IntegriCloud