diff options
author | 2015-02-06 08:18:37 -0500 | |
---|---|---|
committer | 2015-02-07 22:50:58 -0800 | |
commit | 5d3acd0d161012caee0a8be2d03ac04ba901df09 (patch) | |
tree | 38263055fa66a11bbb3cde82b4458f433747d8b0 /tools/perf/scripts/python/export-to-postgresql.py | |
parent | be2net: replace (1 << x) with BIT(x) (diff) | |
download | linux-dev-5d3acd0d161012caee0a8be2d03ac04ba901df09.tar.xz linux-dev-5d3acd0d161012caee0a8be2d03ac04ba901df09.zip |
be2net: refactor code that checks flash file compatibility
This patch re-factors the code that checks for flash file compatibility with
the chip type, for better readability, as follows:
- be_get_ufi_type() returns the UFI type from the flash file
- be_check_ufi_compatibility() checks if the UFI type is compatible
with the adapter/chip that is being flashed
Signed-off-by: Vasundhara Volam <vasundhara.volam@emulex.com>
Signed-off-by: Sathya Perla <sathya.perla@emulex.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'tools/perf/scripts/python/export-to-postgresql.py')
0 files changed, 0 insertions, 0 deletions