diff options
Diffstat (limited to 'drivers/scsi/aic7xxx_old.c')
-rw-r--r-- | drivers/scsi/aic7xxx_old.c | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/drivers/scsi/aic7xxx_old.c b/drivers/scsi/aic7xxx_old.c index 38f4bb06ac14..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; |