diff options
Diffstat (limited to 'drivers/scsi/aic7xxx_old.c')
-rw-r--r-- | drivers/scsi/aic7xxx_old.c | 18 |
1 files changed, 9 insertions, 9 deletions
diff --git a/drivers/scsi/aic7xxx_old.c b/drivers/scsi/aic7xxx_old.c index 880e2d9ffe9b..33d56c344944 100644 --- a/drivers/scsi/aic7xxx_old.c +++ b/drivers/scsi/aic7xxx_old.c | |||
@@ -6514,7 +6514,7 @@ do_aic7xxx_isr(int irq, void *dev_id, struct pt_regs *regs) | |||
6514 | static void | 6514 | static void |
6515 | aic7xxx_init_transinfo(struct aic7xxx_host *p, struct aic_dev_data *aic_dev) | 6515 | aic7xxx_init_transinfo(struct aic7xxx_host *p, struct aic_dev_data *aic_dev) |
6516 | { | 6516 | { |
6517 | Scsi_Device *sdpnt = aic_dev->SDptr; | 6517 | struct scsi_device *sdpnt = aic_dev->SDptr; |
6518 | unsigned char tindex; | 6518 | unsigned char tindex; |
6519 | 6519 | ||
6520 | tindex = sdpnt->id | (sdpnt->channel << 3); | 6520 | tindex = sdpnt->id | (sdpnt->channel << 3); |
@@ -6581,7 +6581,7 @@ aic7xxx_init_transinfo(struct aic7xxx_host *p, struct aic_dev_data *aic_dev) | |||
6581 | * Set up the initial aic_dev struct pointers | 6581 | * Set up the initial aic_dev struct pointers |
6582 | *-F*************************************************************************/ | 6582 | *-F*************************************************************************/ |
6583 | static int | 6583 | static int |
6584 | aic7xxx_slave_alloc(Scsi_Device *SDptr) | 6584 | aic7xxx_slave_alloc(struct scsi_device *SDptr) |
6585 | { | 6585 | { |
6586 | struct aic7xxx_host *p = (struct aic7xxx_host *)SDptr->host->hostdata; | 6586 | struct aic7xxx_host *p = (struct aic7xxx_host *)SDptr->host->hostdata; |
6587 | struct aic_dev_data *aic_dev; | 6587 | struct aic_dev_data *aic_dev; |
@@ -6644,7 +6644,7 @@ aic7xxx_slave_alloc(Scsi_Device *SDptr) | |||
6644 | * queueing to be [en|dis]abled for a specific adapter. | 6644 | * queueing to be [en|dis]abled for a specific adapter. |
6645 | *-F*************************************************************************/ | 6645 | *-F*************************************************************************/ |
6646 | static void | 6646 | static void |
6647 | aic7xxx_device_queue_depth(struct aic7xxx_host *p, Scsi_Device *device) | 6647 | aic7xxx_device_queue_depth(struct aic7xxx_host *p, struct scsi_device *device) |
6648 | { | 6648 | { |
6649 | int tag_enabled = FALSE; | 6649 | int tag_enabled = FALSE; |
6650 | struct aic_dev_data *aic_dev = device->hostdata; | 6650 | struct aic_dev_data *aic_dev = device->hostdata; |
@@ -6734,7 +6734,7 @@ aic7xxx_device_queue_depth(struct aic7xxx_host *p, Scsi_Device *device) | |||
6734 | * prepare for this device to go away | 6734 | * prepare for this device to go away |
6735 | *-F*************************************************************************/ | 6735 | *-F*************************************************************************/ |
6736 | static void | 6736 | static void |
6737 | aic7xxx_slave_destroy(Scsi_Device *SDptr) | 6737 | aic7xxx_slave_destroy(struct scsi_device *SDptr) |
6738 | { | 6738 | { |
6739 | struct aic_dev_data *aic_dev = SDptr->hostdata; | 6739 | struct aic_dev_data *aic_dev = SDptr->hostdata; |
6740 | 6740 | ||
@@ -6754,7 +6754,7 @@ aic7xxx_slave_destroy(Scsi_Device *SDptr) | |||
6754 | * depths, allocate command structs, etc. | 6754 | * depths, allocate command structs, etc. |
6755 | *-F*************************************************************************/ | 6755 | *-F*************************************************************************/ |
6756 | static int | 6756 | static int |
6757 | aic7xxx_slave_configure(Scsi_Device *SDptr) | 6757 | aic7xxx_slave_configure(struct scsi_device *SDptr) |
6758 | { | 6758 | { |
6759 | struct aic7xxx_host *p = (struct aic7xxx_host *) SDptr->host->hostdata; | 6759 | struct aic7xxx_host *p = (struct aic7xxx_host *) SDptr->host->hostdata; |
6760 | struct aic_dev_data *aic_dev; | 6760 | struct aic_dev_data *aic_dev; |
@@ -7865,7 +7865,7 @@ detect_maxscb(struct aic7xxx_host *p) | |||
7865 | * Register a Adaptec aic7xxx chip SCSI controller with the kernel. | 7865 | * Register a Adaptec aic7xxx chip SCSI controller with the kernel. |
7866 | *-F*************************************************************************/ | 7866 | *-F*************************************************************************/ |
7867 | static int | 7867 | static int |
7868 | aic7xxx_register(Scsi_Host_Template *template, struct aic7xxx_host *p, | 7868 | aic7xxx_register(struct scsi_host_template *template, struct aic7xxx_host *p, |
7869 | int reset_delay) | 7869 | int reset_delay) |
7870 | { | 7870 | { |
7871 | int i, result; | 7871 | int i, result; |
@@ -8412,7 +8412,7 @@ aic7xxx_chip_reset(struct aic7xxx_host *p) | |||
8412 | * and a pointer to a aic7xxx_host struct upon success. | 8412 | * and a pointer to a aic7xxx_host struct upon success. |
8413 | *-F*************************************************************************/ | 8413 | *-F*************************************************************************/ |
8414 | static struct aic7xxx_host * | 8414 | static struct aic7xxx_host * |
8415 | aic7xxx_alloc(Scsi_Host_Template *sht, struct aic7xxx_host *temp) | 8415 | aic7xxx_alloc(struct scsi_host_template *sht, struct aic7xxx_host *temp) |
8416 | { | 8416 | { |
8417 | struct aic7xxx_host *p = NULL; | 8417 | struct aic7xxx_host *p = NULL; |
8418 | struct Scsi_Host *host; | 8418 | struct Scsi_Host *host; |
@@ -8991,7 +8991,7 @@ aic7xxx_configure_bugs(struct aic7xxx_host *p) | |||
8991 | * mid-level SCSI code is overhauled. | 8991 | * mid-level SCSI code is overhauled. |
8992 | *-F*************************************************************************/ | 8992 | *-F*************************************************************************/ |
8993 | static int | 8993 | static int |
8994 | aic7xxx_detect(Scsi_Host_Template *template) | 8994 | aic7xxx_detect(struct scsi_host_template *template) |
8995 | { | 8995 | { |
8996 | struct aic7xxx_host *temp_p = NULL; | 8996 | struct aic7xxx_host *temp_p = NULL; |
8997 | struct aic7xxx_host *current_p = NULL; | 8997 | struct aic7xxx_host *current_p = NULL; |
@@ -11161,7 +11161,7 @@ MODULE_LICENSE("Dual BSD/GPL"); | |||
11161 | MODULE_VERSION(AIC7XXX_H_VERSION); | 11161 | MODULE_VERSION(AIC7XXX_H_VERSION); |
11162 | 11162 | ||
11163 | 11163 | ||
11164 | static Scsi_Host_Template driver_template = { | 11164 | static struct scsi_host_template driver_template = { |
11165 | .proc_info = aic7xxx_proc_info, | 11165 | .proc_info = aic7xxx_proc_info, |
11166 | .detect = aic7xxx_detect, | 11166 | .detect = aic7xxx_detect, |
11167 | .release = aic7xxx_release, | 11167 | .release = aic7xxx_release, |