[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)
commit55d9fcf57ba5ec427544fca7abc335cf3da78160
tree56b246fd99af590813f55dea8f886bd8da587979
parent53772a2cb40748ea0b26db8101d632ddb3875b51
[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