[TC] dec_esp: Driver model for the PMAZ-A
authorMaciej W. Rozycki <macro@linux-mips.org>
Tue, 6 Feb 2007 00:28:29 +0000 (16:28 -0800)
committerRalf Baechle <ralf@linux-mips.org>
Fri, 9 Feb 2007 16:23:17 +0000 (16:23 +0000)
commit4df4db5c6c6daeb10a8693d09ce872bce8cd84e6
tree7ec7632d88253f41c4b4a2faf0f404f661ed6f50
parent335dc50cec2891026bd51e46769fc12365b6e475
[TC] dec_esp: Driver model for the PMAZ-A

This is a set of changes that converts the PMAZ-A support to the driver model.

The use of the driver model required switching to the hotplug SCSI
initialization model, which in turn required a change to the core NCR53C9x
driver.  I decided not to break all the frontend drivers and introduced an
additional parameter for esp_allocate() to select between the old and the new
model.  I hope this is OK, but I would be fine with converting NCR53C9x to the
new model unconditionally as long as I do not have to fix all the other
frontends (OK, perhaps I could do some of them ;-) ).

Signed-off-by: Maciej W. Rozycki <macro@linux-mips.org>
Cc: James Bottomley <James.Bottomley@steeleye.com>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Ralf Baechle <ralf@linux-mips.org>
13 files changed:
drivers/scsi/NCR53C9x.c
drivers/scsi/NCR53C9x.h
drivers/scsi/blz1230.c
drivers/scsi/blz2060.c
drivers/scsi/cyberstorm.c
drivers/scsi/cyberstormII.c
drivers/scsi/dec_esp.c
drivers/scsi/fastlane.c
drivers/scsi/jazz_esp.c
drivers/scsi/mac_esp.c
drivers/scsi/mca_53c9x.c
drivers/scsi/oktagon_esp.c
drivers/scsi/sun3x_esp.c