diff options
author | Rafał Miłecki <zajec5@gmail.com> | 2013-02-12 23:14:51 +0000 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2013-02-13 13:58:18 -0500 |
commit | 217a55a338262521d5106dafda2fe7bfff6583be (patch) | |
tree | 4845cb6ee3ebf888c29e7d522c6e65489ed4fbd2 /drivers/net/ethernet/broadcom/bgmac.h | |
parent | 9e9ff4b766e25624198b623fe3eda0b3e6c669cd (diff) |
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.h | 3 |
1 files changed, 0 insertions, 3 deletions
diff --git a/drivers/net/ethernet/broadcom/bgmac.h b/drivers/net/ethernet/broadcom/bgmac.h index 3dd6f6f7a09..4ede614c81f 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 */ |