[SCSI] ipr: Fixup device type check
authorBrian King <brking@us.ibm.com>
Wed, 29 Mar 2006 15:37:22 +0000 (09:37 -0600)
committerJames Bottomley <jejb@mulgrave.il.steeleye.com>
Thu, 13 Apr 2006 15:13:28 +0000 (10:13 -0500)
commite4fbf44ed0618acce4a06010ed9fa9c02e06e36a
treefea3359ad2e1281781a6cefb75c270a0a9ed0bd7
parent1121b794a384bc317fe36e967b82308b0e2c3852
[SCSI] ipr: Fixup device type check

Fixup a check used by the ipr driver to determine if a given
device is a SCSI disk. Due to the addition of support for
attaching SATA devices, this check needs to be more robust.

Signed-off-by: Brian King <brking@us.ibm.com>
Signed-off-by: James Bottomley <James.Bottomley@SteelEye.com>
drivers/scsi/ipr.c
drivers/scsi/ipr.h