diff options
| author | Vasundhara Volam <vasundhara.volam@emulex.com> | 2015-02-06 08:18:37 -0500 |
|---|---|---|
| committer | David S. Miller <davem@davemloft.net> | 2015-02-07 22:50:58 -0800 |
| commit | 5d3acd0d161012caee0a8be2d03ac04ba901df09 (patch) | |
| tree | 38263055fa66a11bbb3cde82b4458f433747d8b0 /lib/mpi/mpiutil.c | |
| parent | 83b06116994a8c3648b03da92d7fc0ac839c8ced (diff) | |
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 'lib/mpi/mpiutil.c')
0 files changed, 0 insertions, 0 deletions
