aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/net/skge.h
diff options
context:
space:
mode:
authorStephen Hemminger <shemminger@osdl.org>2005-07-22 16:26:08 -0700
committerJeff Garzik <jgarzik@pobox.com>2005-07-31 00:40:53 -0400
commitd8a09943ebbaca9befd995d8fe10dd9885256dbf (patch)
treeb530330e5d8833f86a148c0acb9bf611ff8aeeb4 /drivers/net/skge.h
parent[PATCH] skge: whitespace fixes (diff)
downloadlinux-dev-d8a09943ebbaca9befd995d8fe10dd9885256dbf.tar.xz
linux-dev-d8a09943ebbaca9befd995d8fe10dd9885256dbf.zip
[PATCH] skge: fifo control register access fix
The code to clear fifo errors was incorrect and sending garbage to the external phy. Removed the no longer used inline's funcs. Signed-off-by: Stephen Hemminger <shemminger@osdl.org> Signed-off-by: Jeff Garzik <jgarzik@pobox.com>
Diffstat (limited to '')
-rw-r--r--drivers/net/skge.h11
1 files changed, 0 insertions, 11 deletions
diff --git a/drivers/net/skge.h b/drivers/net/skge.h
index 2086809f4b03..e2546950bf55 100644
--- a/drivers/net/skge.h
+++ b/drivers/net/skge.h
@@ -2606,17 +2606,6 @@ static inline void gma_write16(const struct skge_hw *hw, int port, int r, u16 v)
skge_write16(hw, SK_GMAC_REG(port,r), v);
}
-static inline void gma_write32(const struct skge_hw *hw, int port, int r, u32 v)
-{
- skge_write16(hw, SK_GMAC_REG(port, r), (u16) v);
- skge_write32(hw, SK_GMAC_REG(port, r+4), (u16)(v >> 16));
-}
-
-static inline void gma_write8(const struct skge_hw *hw, int port, int r, u8 v)
-{
- skge_write8(hw, SK_GMAC_REG(port,r), v);
-}
-
static inline void gma_set_addr(struct skge_hw *hw, int port, int reg,
const u8 *addr)
{