diff options
Diffstat (limited to 'drivers/scsi/aic7xxx/aic79xx_osm.h')
-rw-r--r-- | drivers/scsi/aic7xxx/aic79xx_osm.h | 11 |
1 files changed, 2 insertions, 9 deletions
diff --git a/drivers/scsi/aic7xxx/aic79xx_osm.h b/drivers/scsi/aic7xxx/aic79xx_osm.h index 92c6154575e7..9e871de23835 100644 --- a/drivers/scsi/aic7xxx/aic79xx_osm.h +++ b/drivers/scsi/aic7xxx/aic79xx_osm.h | |||
@@ -262,7 +262,6 @@ typedef enum { | |||
262 | AHD_DEV_PERIODIC_OTAG = 0x40, /* Send OTAG to prevent starvation */ | 262 | AHD_DEV_PERIODIC_OTAG = 0x40, /* Send OTAG to prevent starvation */ |
263 | } ahd_linux_dev_flags; | 263 | } ahd_linux_dev_flags; |
264 | 264 | ||
265 | struct ahd_linux_target; | ||
266 | struct ahd_linux_device { | 265 | struct ahd_linux_device { |
267 | TAILQ_ENTRY(ahd_linux_device) links; | 266 | TAILQ_ENTRY(ahd_linux_device) links; |
268 | 267 | ||
@@ -342,12 +341,6 @@ struct ahd_linux_device { | |||
342 | #define AHD_OTAG_THRESH 500 | 341 | #define AHD_OTAG_THRESH 500 |
343 | }; | 342 | }; |
344 | 343 | ||
345 | struct ahd_linux_target { | ||
346 | struct scsi_device *sdev[AHD_NUM_LUNS]; | ||
347 | struct ahd_transinfo last_tinfo; | ||
348 | struct ahd_softc *ahd; | ||
349 | }; | ||
350 | |||
351 | /********************* Definitions Required by the Core ***********************/ | 344 | /********************* Definitions Required by the Core ***********************/ |
352 | /* | 345 | /* |
353 | * Number of SG segments we require. So long as the S/G segments for | 346 | * Number of SG segments we require. So long as the S/G segments for |
@@ -864,7 +857,7 @@ ahd_freeze_scb(struct scb *scb) | |||
864 | } | 857 | } |
865 | } | 858 | } |
866 | 859 | ||
867 | void ahd_platform_set_tags(struct ahd_softc *ahd, | 860 | void ahd_platform_set_tags(struct ahd_softc *ahd, struct scsi_device *sdev, |
868 | struct ahd_devinfo *devinfo, ahd_queue_alg); | 861 | struct ahd_devinfo *devinfo, ahd_queue_alg); |
869 | int ahd_platform_abort_scbs(struct ahd_softc *ahd, int target, | 862 | int ahd_platform_abort_scbs(struct ahd_softc *ahd, int target, |
870 | char channel, int lun, u_int tag, | 863 | char channel, int lun, u_int tag, |
@@ -873,7 +866,7 @@ irqreturn_t | |||
873 | ahd_linux_isr(int irq, void *dev_id, struct pt_regs * regs); | 866 | ahd_linux_isr(int irq, void *dev_id, struct pt_regs * regs); |
874 | void ahd_done(struct ahd_softc*, struct scb*); | 867 | void ahd_done(struct ahd_softc*, struct scb*); |
875 | void ahd_send_async(struct ahd_softc *, char channel, | 868 | void ahd_send_async(struct ahd_softc *, char channel, |
876 | u_int target, u_int lun, ac_code, void *); | 869 | u_int target, u_int lun, ac_code); |
877 | void ahd_print_path(struct ahd_softc *, struct scb *); | 870 | void ahd_print_path(struct ahd_softc *, struct scb *); |
878 | 871 | ||
879 | #ifdef CONFIG_PCI | 872 | #ifdef CONFIG_PCI |