]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commita28cdf06b4d9a9c7de79adc7bc438541dcdbdad9
tree00c392b4c2082bc3420bcde31f4ed91792e90c58
parentb1d6256ab80481c7e660520326c38f375686235c
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