diff options
Diffstat (limited to 'drivers/net/netxen/netxen_nic_init.c')
-rw-r--r-- | drivers/net/netxen/netxen_nic_init.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/net/netxen/netxen_nic_init.c b/drivers/net/netxen/netxen_nic_init.c index 439f3e859693..ecb6eed1d8e2 100644 --- a/drivers/net/netxen/netxen_nic_init.c +++ b/drivers/net/netxen/netxen_nic_init.c | |||
@@ -891,7 +891,7 @@ nx_get_bios_version(struct netxen_adapter *adapter) | |||
891 | if (adapter->fw_type == NX_UNIFIED_ROMIMAGE) { | 891 | if (adapter->fw_type == NX_UNIFIED_ROMIMAGE) { |
892 | bios_ver = cpu_to_le32(*((u32 *) (&fw->data[prd_off]) | 892 | bios_ver = cpu_to_le32(*((u32 *) (&fw->data[prd_off]) |
893 | + NX_UNI_BIOS_VERSION_OFF)); | 893 | + NX_UNI_BIOS_VERSION_OFF)); |
894 | return (bios_ver << 24) + ((bios_ver >> 8) & 0xff00) + | 894 | return (bios_ver << 16) + ((bios_ver >> 8) & 0xff00) + |
895 | (bios_ver >> 24); | 895 | (bios_ver >> 24); |
896 | } else | 896 | } else |
897 | return cpu_to_le32(*(u32 *)&fw->data[NX_BIOS_VERSION_OFFSET]); | 897 | return cpu_to_le32(*(u32 *)&fw->data[NX_BIOS_VERSION_OFFSET]); |