[SCSI] scsi_dh: Implement common device table handling
authorHannes Reinecke <hare@suse.de>
Thu, 17 Jul 2008 23:52:51 +0000 (16:52 -0700)
committerJames Bottomley <James.Bottomley@HansenPartnership.com>
Sat, 26 Jul 2008 19:14:51 +0000 (15:14 -0400)
commit765cbc6dad16b87724803e359d6be792ddf08614
tree2cedfbe6b55c9f7a3e4cc3fb4f0d1f4d9d18f625
parent6d49f63b415ca02223e01e187076cb69a5a38eaf
[SCSI] scsi_dh: Implement common device table handling

Instead of having each and every driver implement its own
device table scanning code we should rather implement a common
routine and scan the device tables there.
This allows us also to implement a general notifier chain
callback for all device handler instead for one per handler.

[sekharan: Fix rejections caused by conflicting bug fix]
Signed-off-by: Hannes Reinecke <hare@suse.de>
Signed-off-by: Chandra Seetharaman <sekharan@us.ibm.com>
Signed-off-by: James Bottomley <James.Bottomley@HansenPartnership.com>
drivers/scsi/device_handler/scsi_dh.c
drivers/scsi/device_handler/scsi_dh_emc.c
drivers/scsi/device_handler/scsi_dh_hp_sw.c
drivers/scsi/device_handler/scsi_dh_rdac.c
include/scsi/scsi_device.h