diff options
author | Eilon Greenstein <eilong@broadcom.com> | 2009-07-21 01:47:47 -0400 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2009-07-21 14:18:30 -0400 |
commit | 4d295db0efd2ccf06edb7a45ad885b40c56b7161 (patch) | |
tree | fb545833c5c3618d58754d50ba899b62dd37abef /drivers/net/bnx2x.h | |
parent | 5316bc0b9adbefe24f149b12caeddc30df6f04e1 (diff) |
bnx2x: Supporting BCM8727 PHY
Adding support for BCM8727 - a dual port SFP+ PHY. That includes verification of
the optic module vendor and part number - the list of approved modules resides
on the nvram and the module is verified by the FW. Since not all users would
like to use this verification feature, it can be disabled. The default behavior
is to issue a warning if the module is not approved, but still allow using it -
but it is also possible to disable the link if the module is not approved.
Signed-off-by: Yaniv Rosner <yanivr@broadcom.com>
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 | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/net/bnx2x.h b/drivers/net/bnx2x.h index 85a737c5c23f..8b6e83d03f97 100644 --- a/drivers/net/bnx2x.h +++ b/drivers/net/bnx2x.h | |||
@@ -1006,6 +1006,7 @@ void bnx2x_write_dmae(struct bnx2x *bp, dma_addr_t dma_addr, u32 dst_addr, | |||
1006 | int bnx2x_get_gpio(struct bnx2x *bp, int gpio_num, u8 port); | 1006 | int bnx2x_get_gpio(struct bnx2x *bp, int gpio_num, u8 port); |
1007 | int bnx2x_set_gpio(struct bnx2x *bp, int gpio_num, u32 mode, u8 port); | 1007 | int bnx2x_set_gpio(struct bnx2x *bp, int gpio_num, u32 mode, u8 port); |
1008 | int bnx2x_set_gpio_int(struct bnx2x *bp, int gpio_num, u32 mode, u8 port); | 1008 | int bnx2x_set_gpio_int(struct bnx2x *bp, int gpio_num, u32 mode, u8 port); |
1009 | u32 bnx2x_fw_command(struct bnx2x *bp, u32 command); | ||
1009 | 1010 | ||
1010 | static inline u32 reg_poll(struct bnx2x *bp, u32 reg, u32 expected, int ms, | 1011 | static inline u32 reg_poll(struct bnx2x *bp, u32 reg, u32 expected, int ms, |
1011 | int wait) | 1012 | int wait) |