diff options
author | Eilon Greenstein <eilong@broadcom.com> | 2008-08-13 18:56:59 -0400 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2008-08-13 19:05:32 -0400 |
commit | 17de50b7f71d176375e9d4d67ffce42482e5515f (patch) | |
tree | 199993119c876e9f421cdd714cf13d4fdb534e69 /drivers/net/bnx2x.h | |
parent | 8c99e7b0436473593a68e740d1032909bc5335a1 (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.h | 2 |
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 { | |||
924 | void bnx2x_read_dmae(struct bnx2x *bp, u32 src_addr, u32 len32); | 924 | void bnx2x_read_dmae(struct bnx2x *bp, u32 src_addr, u32 len32); |
925 | void bnx2x_write_dmae(struct bnx2x *bp, dma_addr_t dma_addr, u32 dst_addr, | 925 | void bnx2x_write_dmae(struct bnx2x *bp, dma_addr_t dma_addr, u32 dst_addr, |
926 | u32 len32); | 926 | u32 len32); |
927 | int bnx2x_set_gpio(struct bnx2x *bp, int gpio_num, u32 mode); | 927 | int bnx2x_set_gpio(struct bnx2x *bp, int gpio_num, u32 mode, u8 port); |
928 | 928 | ||
929 | static inline u32 reg_poll(struct bnx2x *bp, u32 reg, u32 expected, int ms, | 929 | static inline u32 reg_poll(struct bnx2x *bp, u32 reg, u32 expected, int ms, |
930 | int wait) | 930 | int wait) |