aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/net/ethernet/emulex/benet/be_cmds.h
diff options
context:
space:
mode:
authorVasundhara Volam <vasundhara.volam@avagotech.com>2015-05-06 05:30:37 -0400
committerDavid S. Miller <davem@davemloft.net>2015-05-09 16:27:03 -0400
commita6e6ff6eee12f3edc7630e81993bf880a4f0d340 (patch)
tree959c2d9a29b8337fbe72281c6192c48a593825b0 /drivers/net/ethernet/emulex/benet/be_cmds.h
parentbe2net: post full RXQ on interface enable (diff)
downloadlinux-dev-a6e6ff6eee12f3edc7630e81993bf880a4f0d340.tar.xz
linux-dev-a6e6ff6eee12f3edc7630e81993bf880a4f0d340.zip
be2net: simplify UFI compatibility checking
The code in be_check_ufi_compatibility() checks to see if a UFI file meant for a lower rev of a chip is being flashed on a higher rev, which is disallowed. This patch re-writes the code needed for this check in a much simpler manner. Signed-off-by: Vasundhara Volam <vasundhara.volam@avagotech.com> Signed-off-by: Sathya Perla <sathya.perla@avagotech.com> Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to '')
-rw-r--r--drivers/net/ethernet/emulex/benet/be_cmds.h4
1 files changed, 0 insertions, 4 deletions
diff --git a/drivers/net/ethernet/emulex/benet/be_cmds.h b/drivers/net/ethernet/emulex/benet/be_cmds.h
index 5eccf877cf6b..269403303bf7 100644
--- a/drivers/net/ethernet/emulex/benet/be_cmds.h
+++ b/drivers/net/ethernet/emulex/benet/be_cmds.h
@@ -1110,10 +1110,6 @@ struct be_cmd_req_query_fw_cfg {
u32 rsvd[31];
};
-/* ASIC revisions */
-#define ASIC_REV_B0 0x10
-#define ASIC_REV_P2 0x11
-
struct be_cmd_resp_query_fw_cfg {
struct be_cmd_resp_hdr hdr;
u32 be_config_number;