diff options
author | David S. Miller <davem@davemloft.net> | 2009-07-23 22:03:51 -0400 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2009-07-23 22:03:51 -0400 |
commit | 74d154189d597b91da4322996dbf4f5c3d1544ab (patch) | |
tree | 6f09861b5e2f875d2d8ea2127b16add9103221c6 /drivers/net/bnx2x_link.c | |
parent | 5a6338db37885af06760d40cad589316e48431e9 (diff) | |
parent | ffafa60d496f80c250f2ae0340ae94434c0b0b4d (diff) |
Merge branch 'master' of master.kernel.org:/pub/scm/linux/kernel/git/davem/net-2.6
Conflicts:
drivers/net/wireless/iwmc3200wifi/netdev.c
net/wireless/scan.c
Diffstat (limited to 'drivers/net/bnx2x_link.c')
-rw-r--r-- | drivers/net/bnx2x_link.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/drivers/net/bnx2x_link.c b/drivers/net/bnx2x_link.c index a24bc51c9855..1f17334c8f02 100644 --- a/drivers/net/bnx2x_link.c +++ b/drivers/net/bnx2x_link.c | |||
@@ -4916,13 +4916,14 @@ static void bnx2x_turn_off_sf(struct bnx2x *bp, u8 port) | |||
4916 | u8 bnx2x_get_ext_phy_fw_version(struct link_params *params, u8 driver_loaded, | 4916 | u8 bnx2x_get_ext_phy_fw_version(struct link_params *params, u8 driver_loaded, |
4917 | u8 *version, u16 len) | 4917 | u8 *version, u16 len) |
4918 | { | 4918 | { |
4919 | struct bnx2x *bp = params->bp; | 4919 | struct bnx2x *bp; |
4920 | u32 ext_phy_type = 0; | 4920 | u32 ext_phy_type = 0; |
4921 | u32 spirom_ver = 0; | 4921 | u32 spirom_ver = 0; |
4922 | u8 status = 0 ; | 4922 | u8 status = 0 ; |
4923 | 4923 | ||
4924 | if (version == NULL || params == NULL) | 4924 | if (version == NULL || params == NULL) |
4925 | return -EINVAL; | 4925 | return -EINVAL; |
4926 | bp = params->bp; | ||
4926 | 4927 | ||
4927 | spirom_ver = REG_RD(bp, params->shmem_base + | 4928 | spirom_ver = REG_RD(bp, params->shmem_base + |
4928 | offsetof(struct shmem_region, | 4929 | offsetof(struct shmem_region, |