summaryrefslogtreecommitdiffstats
path: root/drivers/net/bnx2x.h
diff options
context:
space:
mode:
authorEilon Greenstein <eilong@broadcom.com>2008-08-14 00:58:12 +0200
committerDavid S. Miller <davem@davemloft.net>2008-08-14 01:05:34 +0200
commit345b5d52b93113d3ce82f97c2a783319fbf0fdfd (patch)
treee4ee0913af19da208b3faf2553cdbad0b3f03f2a /drivers/net/bnx2x.h
parentbnx2x: 8073 PHY changes (diff)
downloadlinux-345b5d52b93113d3ce82f97c2a783319fbf0fdfd.tar.xz
linux-345b5d52b93113d3ce82f97c2a783319fbf0fdfd.zip
bnx2x: 1G LED does not turn off
1G LED does not turn off The 1G LED was not switched to off when the link was lost Signed-off-by: Eilon Greenstein <eilong@broadcom.com> Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'drivers/net/bnx2x.h')
-rw-r--r--drivers/net/bnx2x.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/net/bnx2x.h b/drivers/net/bnx2x.h
index e15ecfbfc85e..98d6f85fdeb5 100644
--- a/drivers/net/bnx2x.h
+++ b/drivers/net/bnx2x.h
@@ -120,6 +120,7 @@
#define SHMEM_RD(bp, field) REG_RD(bp, SHMEM_ADDR(bp, field))
#define SHMEM_WR(bp, field, val) REG_WR(bp, SHMEM_ADDR(bp, field), val)
+#define EMAC_RD(bp, reg) REG_RD(bp, emac_base + reg)
#define NIG_WR(reg, val) REG_WR(bp, reg, val)
#define EMAC_WR(reg, val) REG_WR(bp, emac_base + reg, val)
#define BMAC_WR(reg, val) REG_WR(bp, GRCBASE_NIG + bmac_addr + reg, val)