[SCSI] bfa: fix chip and memory initialization
authorJing Huang <huangj@brocade.com>
Fri, 9 Jul 2010 02:54:39 +0000 (19:54 -0700)
committerJames Bottomley <James.Bottomley@suse.de>
Tue, 27 Jul 2010 17:04:15 +0000 (12:04 -0500)
commitdf2a52a6c8c4995e0bec0b739ddb2f51664837dd
tree7599da343cb246d041cda0f9b38794859a077aeb
parent9aeb6802ddc06b66fc1a58a882fa54bba37040b3
[SCSI] bfa: fix chip and memory initialization

Clear PSS memory reset that is set as part of power-on-reset (pci reset).
Complete PMM memory reset before BISTR start. Clear EDRAM BISTR start bit
after fixed delay. BISTR DONE bit status is not getting set. Use a fixed
1ms delay for BISTR now. Expose PMM IT memory definitions to host.

Signed-off-by: Jing Huang <huangj@brocade.com>
Signed-off-by: James Bottomley <James.Bottomley@suse.de>
drivers/scsi/bfa/bfa_ioc_ct.c
drivers/scsi/bfa/include/bfi/bfi_ctreg.h