[SCSI] mpt2sas: User resource_size_t instead of unsigned long
authorKashyap, Desai <kashyap.desai@lsi.com>
Wed, 16 Dec 2009 13:21:45 +0000 (18:51 +0530)
committerJames Bottomley <James.Bottomley@suse.de>
Tue, 9 Feb 2010 00:19:38 +0000 (18:19 -0600)
commit6846e75cdfa76c6609ac0381a6739c9f4af8fd3b
tree7bec8c4e35f1bf73ebe34dc55fe89d6b9653f242
parentb2ff36ba19dec02b05d3e26e36923b71ab64f34a
[SCSI] mpt2sas: User resource_size_t instead of unsigned long

Use resource_size_t to define the type resource for the system interface
register set.
The existing implementation was using "unsigned long" which would be 32 bit
in 32 bit OS.  If 32 bit OS is using 64 bit physical
address space for the system interface register set, we need to shift to
using resource_size_t which takes care of physical address space.

Signed-off-by: Kashyap Desai <kashyap.desai@lsi.com>
Reviewed-by: Eric Moore <eric.moore@lsi.com>
Signed-off-by: James Bottomley <James.Bottomley@suse.de>
drivers/scsi/mpt2sas/mpt2sas_base.c
drivers/scsi/mpt2sas/mpt2sas_base.h