[SCSI] mpt fusion: Avoid racing when mptsas and mptcl module are loaded in parallel
authorPrakash, Sathya <sathya.prakash@lsi.com>
Fri, 8 Feb 2008 11:05:40 +0000 (16:35 +0530)
committerJames Bottomley <James.Bottomley@HansenPartnership.com>
Mon, 11 Feb 2008 16:20:53 +0000 (10:20 -0600)
This patch sets the IOC pointer in drvrdata of pcidev before adding
the IOC into the list of IOCs. Without this patch the driver oops when
the mptsas and mptctl modules are loaded in parallel.

Signed-off-by: Sathya Prakash <sathya.prakash@lsi.com>
Signed-off-by: James Bottomley <James.Bottomley@HansenPartnership.com>

No differences found