summaryrefslogtreecommitdiff
path: root/drivers/net/ethernet/broadcom/bgmac.h
diff options
context:
space:
mode:
authorRafał Miłecki <zajec5@gmail.com>2013-02-13 03:14:51 +0400
committerDavid S. Miller <davem@davemloft.net>2013-02-13 22:58:18 +0400
commit217a55a338262521d5106dafda2fe7bfff6583be (patch)
tree4845cb6ee3ebf888c29e7d522c6e65489ed4fbd2 /drivers/net/ethernet/broadcom/bgmac.h
parent9e9ff4b766e25624198b623fe3eda0b3e6c669cd (diff)
downloadlinux-217a55a338262521d5106dafda2fe7bfff6583be.tar.xz
bgmac: return error on failed PHY write
Some callers may want to know if PHY write succeed. Also make PHY functions static, they are not exported anywhere. Signed-off-by: Rafał Miłecki <zajec5@gmail.com> Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'drivers/net/ethernet/broadcom/bgmac.h')
-rw-r--r--drivers/net/ethernet/broadcom/bgmac.h3
1 files changed, 0 insertions, 3 deletions
diff --git a/drivers/net/ethernet/broadcom/bgmac.h b/drivers/net/ethernet/broadcom/bgmac.h
index 3dd6f6f7a098..4ede614c81f8 100644
--- a/drivers/net/ethernet/broadcom/bgmac.h
+++ b/drivers/net/ethernet/broadcom/bgmac.h
@@ -450,7 +450,4 @@ static inline void bgmac_set(struct bgmac *bgmac, u16 offset, u32 set)
bgmac_maskset(bgmac, offset, ~0, set);
}
-u16 bgmac_phy_read(struct bgmac *bgmac, u8 phyaddr, u8 reg);
-void bgmac_phy_write(struct bgmac *bgmac, u8 phyaddr, u8 reg, u16 value);
-
#endif /* _BGMAC_H */