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>
This commit is contained in:

committed by
David S. Miller

parent
54f14e4b4d
commit
0005f54102
@@ -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;
|
||||
|
Reference in New Issue
Block a user