diff options
Diffstat (limited to 'drivers/scsi/aic7xxx/aic7xxx_osm.h')
-rw-r--r-- | drivers/scsi/aic7xxx/aic7xxx_osm.h | 40 |
1 files changed, 0 insertions, 40 deletions
diff --git a/drivers/scsi/aic7xxx/aic7xxx_osm.h b/drivers/scsi/aic7xxx/aic7xxx_osm.h index db3bd6321dd4..c401537067b6 100644 --- a/drivers/scsi/aic7xxx/aic7xxx_osm.h +++ b/drivers/scsi/aic7xxx/aic7xxx_osm.h | |||
@@ -424,27 +424,9 @@ struct ahc_linux_device { | |||
424 | }; | 424 | }; |
425 | 425 | ||
426 | typedef enum { | 426 | typedef enum { |
427 | AHC_DV_REQUIRED = 0x01, | ||
428 | AHC_INQ_VALID = 0x02, | 427 | AHC_INQ_VALID = 0x02, |
429 | AHC_BASIC_DV = 0x04, | ||
430 | AHC_ENHANCED_DV = 0x08 | ||
431 | } ahc_linux_targ_flags; | 428 | } ahc_linux_targ_flags; |
432 | 429 | ||
433 | /* DV States */ | ||
434 | typedef enum { | ||
435 | AHC_DV_STATE_EXIT = 0, | ||
436 | AHC_DV_STATE_INQ_SHORT_ASYNC, | ||
437 | AHC_DV_STATE_INQ_ASYNC, | ||
438 | AHC_DV_STATE_INQ_ASYNC_VERIFY, | ||
439 | AHC_DV_STATE_TUR, | ||
440 | AHC_DV_STATE_REBD, | ||
441 | AHC_DV_STATE_INQ_VERIFY, | ||
442 | AHC_DV_STATE_WEB, | ||
443 | AHC_DV_STATE_REB, | ||
444 | AHC_DV_STATE_SU, | ||
445 | AHC_DV_STATE_BUSY | ||
446 | } ahc_dv_state; | ||
447 | |||
448 | struct ahc_linux_target { | 430 | struct ahc_linux_target { |
449 | struct ahc_linux_device *devices[AHC_NUM_LUNS]; | 431 | struct ahc_linux_device *devices[AHC_NUM_LUNS]; |
450 | int channel; | 432 | int channel; |
@@ -454,19 +436,6 @@ struct ahc_linux_target { | |||
454 | struct ahc_softc *ahc; | 436 | struct ahc_softc *ahc; |
455 | ahc_linux_targ_flags flags; | 437 | ahc_linux_targ_flags flags; |
456 | struct scsi_inquiry_data *inq_data; | 438 | struct scsi_inquiry_data *inq_data; |
457 | /* | ||
458 | * The next "fallback" period to use for narrow/wide transfers. | ||
459 | */ | ||
460 | uint8_t dv_next_narrow_period; | ||
461 | uint8_t dv_next_wide_period; | ||
462 | uint8_t dv_max_width; | ||
463 | uint8_t dv_max_ppr_options; | ||
464 | uint8_t dv_last_ppr_options; | ||
465 | u_int dv_echo_size; | ||
466 | ahc_dv_state dv_state; | ||
467 | u_int dv_state_retry; | ||
468 | char *dv_buffer; | ||
469 | char *dv_buffer1; | ||
470 | }; | 439 | }; |
471 | 440 | ||
472 | /********************* Definitions Required by the Core ***********************/ | 441 | /********************* Definitions Required by the Core ***********************/ |
@@ -511,10 +480,6 @@ struct scb_platform_data { | |||
511 | * this driver. | 480 | * this driver. |
512 | */ | 481 | */ |
513 | typedef enum { | 482 | typedef enum { |
514 | AHC_DV_WAIT_SIMQ_EMPTY = 0x01, | ||
515 | AHC_DV_WAIT_SIMQ_RELEASE = 0x02, | ||
516 | AHC_DV_ACTIVE = 0x04, | ||
517 | AHC_DV_SHUTDOWN = 0x08, | ||
518 | AHC_RUN_CMPLT_Q_TIMER = 0x10 | 483 | AHC_RUN_CMPLT_Q_TIMER = 0x10 |
519 | } ahc_linux_softc_flags; | 484 | } ahc_linux_softc_flags; |
520 | 485 | ||
@@ -937,11 +902,6 @@ int ahc_linux_proc_info(struct Scsi_Host *, char *, char **, | |||
937 | #endif | 902 | #endif |
938 | 903 | ||
939 | /*************************** Domain Validation ********************************/ | 904 | /*************************** Domain Validation ********************************/ |
940 | #define AHC_DV_CMD(cmd) ((cmd)->scsi_done == ahc_linux_dv_complete) | ||
941 | #define AHC_DV_SIMQ_FROZEN(ahc) \ | ||
942 | ((((ahc)->platform_data->flags & AHC_DV_ACTIVE) != 0) \ | ||
943 | && (ahc)->platform_data->qfrozen == 1) | ||
944 | |||
945 | /*********************** Transaction Access Wrappers *************************/ | 905 | /*********************** Transaction Access Wrappers *************************/ |
946 | static __inline void ahc_cmd_set_transaction_status(Scsi_Cmnd *, uint32_t); | 906 | static __inline void ahc_cmd_set_transaction_status(Scsi_Cmnd *, uint32_t); |
947 | static __inline void ahc_set_transaction_status(struct scb *, uint32_t); | 907 | static __inline void ahc_set_transaction_status(struct scb *, uint32_t); |