]> git.baikalelectronics.ru Git - kernel.git/commit
[SCSI] mptfusion: Added sanity to check B_T mapping for device before adding to OS
authorKashyap, Desai <kashyap.desai@lsi.com>
Thu, 17 Jun 2010 09:10:10 +0000 (14:40 +0530)
committerJames Bottomley <James.Bottomley@suse.de>
Tue, 27 Jul 2010 17:02:32 +0000 (12:02 -0500)
commit6d326040be50f9f9320a390c915f993717443622
tree0e8a12734f5c75b1478fd7bbc49193dec36a1517
parent73ac5e2d26f320fed29b111f3a221fa2b42a7561
[SCSI] mptfusion: Added sanity to check B_T mapping for device before adding to OS

Added sanity check before treating any device is a valid device.
It is possible that firmware can have device page0 in its table, but that
devicemay not be available in topology. Device will be available in topology
only if there is Bus Target mapping is done in firmware. Driver will always
check B_T mapping of firmware before reporting device to upper layer.

Signed-off-by: Kashyap Desai <kashyap.desai@lsi.com>
Signed-off-by: James Bottomley <James.Bottomley@suse.de>
drivers/message/fusion/mptsas.c
drivers/message/fusion/mptsas.h