diff options
author | Eilon Greenstein <eilong@broadcom.com> | 2008-08-14 00:56:59 +0200 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2008-08-14 01:05:32 +0200 |
commit | 17de50b7f71d176375e9d4d67ffce42482e5515f (patch) | |
tree | 199993119c876e9f421cdd714cf13d4fdb534e69 /drivers/net/bnx2x.h | |
parent | bnx2x: Pause settings (diff) | |
download | linux-17de50b7f71d176375e9d4d67ffce42482e5515f.tar.xz linux-17de50b7f71d176375e9d4d67ffce42482e5515f.zip |
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 { void bnx2x_read_dmae(struct bnx2x *bp, u32 src_addr, u32 len32); void bnx2x_write_dmae(struct bnx2x *bp, dma_addr_t dma_addr, u32 dst_addr, u32 len32); -int bnx2x_set_gpio(struct bnx2x *bp, int gpio_num, u32 mode); +int bnx2x_set_gpio(struct bnx2x *bp, int gpio_num, u32 mode, u8 port); static inline u32 reg_poll(struct bnx2x *bp, u32 reg, u32 expected, int ms, int wait) |