]> www.infradead.org Git - users/jedix/linux-maple.git/commit
be2net: simplify UFI compatibility checking
authorVasundhara Volam <vasundhara.volam@avagotech.com>
Wed, 6 May 2015 09:30:37 +0000 (05:30 -0400)
committerManjunath Govindashetty <manjunath.govindashetty@oracle.com>
Fri, 16 Oct 2015 00:07:52 +0000 (17:07 -0700)
commit8a5ee5d4fbd5649ced33d5a30b9c52edbd659409
tree3787dd35a9fde10c2b149a465682e2146ec7c5f3
parentd78c4ac1c086662d5bb6c4a45d36223a9c16b1df
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>
drivers/net/ethernet/emulex/benet/be_cmds.h
drivers/net/ethernet/emulex/benet/be_main.c