aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/net/bnx2x.h
diff options
context:
space:
mode:
authorEilon Greenstein <eilong@broadcom.com>2008-08-13 18:56:59 -0400
committerDavid S. Miller <davem@davemloft.net>2008-08-13 19:05:32 -0400
commit17de50b7f71d176375e9d4d67ffce42482e5515f (patch)
tree199993119c876e9f421cdd714cf13d4fdb534e69 /drivers/net/bnx2x.h
parent8c99e7b0436473593a68e740d1032909bc5335a1 (diff)
bnx2x: Change GPIO for any port
Change GPIO for any port The set GPIO function should receive the port index to allow changing the GPIO of another port. This is needed for the common init phase (one the first driver is loaded for the chip) 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.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/net/bnx2x.h b/drivers/net/bnx2x.h
index 3b09ae623359..e15ecfbfc85e 100644
--- a/drivers/net/bnx2x.h
+++ b/drivers/net/bnx2x.h
@@ -924,7 +924,7 @@ struct bnx2x {
924void bnx2x_read_dmae(struct bnx2x *bp, u32 src_addr, u32 len32); 924void bnx2x_read_dmae(struct bnx2x *bp, u32 src_addr, u32 len32);
925void bnx2x_write_dmae(struct bnx2x *bp, dma_addr_t dma_addr, u32 dst_addr, 925void bnx2x_write_dmae(struct bnx2x *bp, dma_addr_t dma_addr, u32 dst_addr,
926 u32 len32); 926 u32 len32);
927int bnx2x_set_gpio(struct bnx2x *bp, int gpio_num, u32 mode); 927int bnx2x_set_gpio(struct bnx2x *bp, int gpio_num, u32 mode, u8 port);
928 928
929static inline u32 reg_poll(struct bnx2x *bp, u32 reg, u32 expected, int ms, 929static inline u32 reg_poll(struct bnx2x *bp, u32 reg, u32 expected, int ms,
930 int wait) 930 int wait)