iscsi_ibft: search for broadcom specific ibft sign (v2)
authorMike Christie <michaelc@cs.wisc.edu>
Fri, 15 Apr 2011 03:50:57 +0000 (23:50 -0400)
committerKonrad Rzeszutek Wilk <konrad@kernel.org>
Fri, 15 Apr 2011 03:53:09 +0000 (23:53 -0400)
commit140363500ddadad0c09cb512cc0c96a4d3efa053
tree00c392b4c2082bc3420bcde31f4ed91792e90c58
parent3c0eee3fe6a3a1c745379547c7e7c904aa64f6d5
iscsi_ibft: search for broadcom specific ibft sign (v2)

Broadcom iscsi offload firmware uses a non standard ibft sign of "BIFT".
When we added support for boot, the anaconda team and I were using
older firmware (I guess 4 years old), so boot does not work on current
cards.

This patch modifies the ibft search code to search for "BIFT" along
with the other possible values.

Broadcom has tested the patch and reported it works with their
firmware. Mike has tested Chelsio and Intel cards.

[v2:
- Add ACPI_SIG_IBFT to ibft_signs
- replace break with goto in find_ibft_in_mem innner loop.]
Signed-off-by: Mike Christie <michaelc@cs.wisc.edu>
Signed-off-by: Peter Jones <pjones@redhat.com>
Signed-off-by: Konrad Rzeszutek Wilk <konrad@kernel.org>
drivers/firmware/iscsi_ibft_find.c