summaryrefslogtreecommitdiffstats
path: root/drivers/scsi/NCR53C9x.h
diff options
context:
space:
mode:
authorMaciej W. Rozycki <macro@linux-mips.org>2007-02-05 16:28:29 -0800
committerRalf Baechle <ralf@linux-mips.org>2007-02-09 16:23:17 +0000
commit4df4db5c6c6daeb10a8693d09ce872bce8cd84e6 (patch)
tree7ec7632d88253f41c4b4a2faf0f404f661ed6f50 /drivers/scsi/NCR53C9x.h
parent335dc50cec2891026bd51e46769fc12365b6e475 (diff)
downloadlinux-4df4db5c6c6daeb10a8693d09ce872bce8cd84e6.tar.gz
linux-4df4db5c6c6daeb10a8693d09ce872bce8cd84e6.tar.bz2
linux-4df4db5c6c6daeb10a8693d09ce872bce8cd84e6.zip
[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>
Diffstat (limited to 'drivers/scsi/NCR53C9x.h')
-rw-r--r--drivers/scsi/NCR53C9x.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/scsi/NCR53C9x.h b/drivers/scsi/NCR53C9x.h
index 521e3f842cfd..d85cb73a9f69 100644
--- a/drivers/scsi/NCR53C9x.h
+++ b/drivers/scsi/NCR53C9x.h
@@ -652,7 +652,7 @@ extern int nesps, esps_in_use, esps_running;
/* External functions */
extern void esp_bootup_reset(struct NCR_ESP *esp, struct ESP_regs *eregs);
-extern struct NCR_ESP *esp_allocate(struct scsi_host_template *, void *);
+extern struct NCR_ESP *esp_allocate(struct scsi_host_template *, void *, int);
extern void esp_deallocate(struct NCR_ESP *);
extern void esp_release(void);
extern void esp_initialize(struct NCR_ESP *);