aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/scsi/aic7xxx/aic7xxx_osm.h
diff options
context:
space:
mode:
authorJames Bottomley <James.Bottomley@steeleye.com>2005-05-17 01:06:08 -0400
committerJames Bottomley <jejb@titanic.(none)>2005-05-20 16:54:40 -0400
commit8e45ebcc661069bfb002c56dd942aedf43ba9239 (patch)
tree215c5b710ee6cbd55b0a51f9267486b9c263e67a /drivers/scsi/aic7xxx/aic7xxx_osm.h
parent38c29ce06d24691d6e6dd786175fcc54efd5995b (diff)
[SCSI] aic7xxx: remove the completeq
This should finish the spurious queue removal from aic7xxx (there are other queues that are probably unnecessary, but at least the major and obviously unnecessary ones are done with). Signed-off-by: James Bottomley <James.Bottomley@SteelEye.com>
Diffstat (limited to 'drivers/scsi/aic7xxx/aic7xxx_osm.h')
-rw-r--r--drivers/scsi/aic7xxx/aic7xxx_osm.h17
1 files changed, 3 insertions, 14 deletions
diff --git a/drivers/scsi/aic7xxx/aic7xxx_osm.h b/drivers/scsi/aic7xxx/aic7xxx_osm.h
index 9ce7639dc739..e70c1fa47db2 100644
--- a/drivers/scsi/aic7xxx/aic7xxx_osm.h
+++ b/drivers/scsi/aic7xxx/aic7xxx_osm.h
@@ -436,16 +436,11 @@ struct ahc_linux_target {
436/* 436/*
437 * Per-SCB OSM storage. 437 * Per-SCB OSM storage.
438 */ 438 */
439typedef enum {
440 AHC_UP_EH_SEMAPHORE = 0x1
441} ahc_linux_scb_flags;
442
443struct scb_platform_data { 439struct scb_platform_data {
444 struct ahc_linux_device *dev; 440 struct ahc_linux_device *dev;
445 dma_addr_t buf_busaddr; 441 dma_addr_t buf_busaddr;
446 uint32_t xfer_len; 442 uint32_t xfer_len;
447 uint32_t sense_resid; /* Auto-Sense residual */ 443 uint32_t sense_resid; /* Auto-Sense residual */
448 ahc_linux_scb_flags flags;
449}; 444};
450 445
451/* 446/*
@@ -454,22 +449,14 @@ struct scb_platform_data {
454 * alignment restrictions of the various platforms supported by 449 * alignment restrictions of the various platforms supported by
455 * this driver. 450 * this driver.
456 */ 451 */
457typedef enum {
458 AHC_RUN_CMPLT_Q_TIMER = 0x10
459} ahc_linux_softc_flags;
460
461TAILQ_HEAD(ahc_completeq, ahc_cmd);
462
463struct ahc_platform_data { 452struct ahc_platform_data {
464 /* 453 /*
465 * Fields accessed from interrupt context. 454 * Fields accessed from interrupt context.
466 */ 455 */
467 struct ahc_linux_target *targets[AHC_NUM_TARGETS]; 456 struct ahc_linux_target *targets[AHC_NUM_TARGETS];
468 struct ahc_completeq completeq;
469 457
470 spinlock_t spin_lock; 458 spinlock_t spin_lock;
471 u_int qfrozen; 459 u_int qfrozen;
472 struct timer_list completeq_timer;
473 struct timer_list reset_timer; 460 struct timer_list reset_timer;
474 struct semaphore eh_sem; 461 struct semaphore eh_sem;
475 struct Scsi_Host *host; /* pointer to scsi host */ 462 struct Scsi_Host *host; /* pointer to scsi host */
@@ -477,7 +464,9 @@ struct ahc_platform_data {
477 uint32_t irq; /* IRQ for this adapter */ 464 uint32_t irq; /* IRQ for this adapter */
478 uint32_t bios_address; 465 uint32_t bios_address;
479 uint32_t mem_busaddr; /* Mem Base Addr */ 466 uint32_t mem_busaddr; /* Mem Base Addr */
480 ahc_linux_softc_flags flags; 467
468#define AHC_UP_EH_SEMAPHORE 0x1
469 uint32_t flags;
481}; 470};
482 471
483/************************** OS Utility Wrappers *******************************/ 472/************************** OS Utility Wrappers *******************************/