]> git.baikalelectronics.ru Git - kernel.git/commit
[SCSI] dpt_i2o: convert to SCSI hotplug model
authorMatthew Wilcox <matthew@wil.cx>
Mon, 30 Jul 2007 21:19:18 +0000 (15:19 -0600)
committerJames Bottomley <jejb@mulgrave.localdomain>
Tue, 31 Jul 2007 15:49:58 +0000 (10:49 -0500)
commit441722a0fb771fbc58b3969bbcfa4a55f7670e99
tree56b246fd99af590813f55dea8f886bd8da587979
parentc1fbb4a34a4b07b01f2e707c8f7b84e711b08ec4
[SCSI] dpt_i2o: convert to SCSI hotplug model

 - Delete refereces to HOSTS_C
 - Switch to module_init/module_exit instead of detect/release
 - Don't pass around the host template and rename it to adpt_template
 - Switch from scsi_register/scsi_unregister to scsi_host_alloc,
   scsi_add_host, scsi_scan_host and scsi_host_put.

Signed-off-by: Matthew Wilcox <matthew@wil.cx>
Acked-by: "Salyzyn, Mark" <mark_salyzyn@adaptec.com>
Signed-off-by: James Bottomley <James.Bottomley@SteelEye.com>
drivers/scsi/dpt_i2o.c
drivers/scsi/dpti.h