Print this page
8368 remove warlock leftovers from usr/src/uts


 486 
 487         /* MSI specific fields */
 488         ddi_intr_handle_t *htable;      /* For array of interrupts */
 489         int intr_type;                  /* What type of interrupt */
 490         int intr_cnt;                   /* # of intrs count returned */
 491         int intr_size;
 492         uint_t intr_pri;                /* Interrupt priority   */
 493         int intr_cap;                   /* Interrupt capabilities */
 494 
 495 #ifdef DEBUG
 496         /* UART trace printf variables */
 497         uint32_t debug_flags;           /* debug print flags bitmap */
 498         uint32_t debug_fib_flags;       /* debug FIB print flags bitmap */
 499         uint32_t debug_fw_flags;        /* FW debug flags */
 500         uint32_t debug_buf_offset;      /* offset from DPMEM start */
 501         uint32_t debug_buf_size;        /* FW debug buffer size in bytes */
 502         uint32_t debug_header_size;     /* size of debug header */
 503 #endif
 504 };
 505 
 506 /*
 507  * The following data are kept stable because they are only written at driver
 508  * initialization, and we do not allow them changed otherwise even at driver
 509  * re-initialization.
 510  */
 511 _NOTE(SCHEME_PROTECTS_DATA("stable data", aac_softstate::{flags slen \
 512     buf_dma_attr pci_mem_handle pci_mem_base_vaddr \
 513     comm_space_acc_handle comm_space_dma_handle aac_max_fib_size \
 514     aac_sg_tablesize aac_cmd_fib aac_cmd_fib_scsi debug_flags bus_max tgt_max}))
 515 
 516 #ifdef DEBUG
 517 
 518 #define AACDB_FLAGS_MASK                0x0000ffff
 519 #define AACDB_FLAGS_KERNEL_PRINT        0x00000001
 520 #define AACDB_FLAGS_FW_PRINT            0x00000002
 521 #define AACDB_FLAGS_NO_HEADERS          0x00000004
 522 
 523 #define AACDB_FLAGS_MISC                0x00000010
 524 #define AACDB_FLAGS_FUNC1               0x00000020
 525 #define AACDB_FLAGS_FUNC2               0x00000040
 526 #define AACDB_FLAGS_SCMD                0x00000080
 527 #define AACDB_FLAGS_AIF                 0x00000100
 528 #define AACDB_FLAGS_FIB                 0x00000200
 529 #define AACDB_FLAGS_IOCTL               0x00000400
 530 
 531 /*
 532  * Flags for FIB print
 533  */
 534 /* FIB sources */
 535 #define AACDB_FLAGS_FIB_SCMD            0x00000001




 486 
 487         /* MSI specific fields */
 488         ddi_intr_handle_t *htable;      /* For array of interrupts */
 489         int intr_type;                  /* What type of interrupt */
 490         int intr_cnt;                   /* # of intrs count returned */
 491         int intr_size;
 492         uint_t intr_pri;                /* Interrupt priority   */
 493         int intr_cap;                   /* Interrupt capabilities */
 494 
 495 #ifdef DEBUG
 496         /* UART trace printf variables */
 497         uint32_t debug_flags;           /* debug print flags bitmap */
 498         uint32_t debug_fib_flags;       /* debug FIB print flags bitmap */
 499         uint32_t debug_fw_flags;        /* FW debug flags */
 500         uint32_t debug_buf_offset;      /* offset from DPMEM start */
 501         uint32_t debug_buf_size;        /* FW debug buffer size in bytes */
 502         uint32_t debug_header_size;     /* size of debug header */
 503 #endif
 504 };
 505 










 506 #ifdef DEBUG
 507 
 508 #define AACDB_FLAGS_MASK                0x0000ffff
 509 #define AACDB_FLAGS_KERNEL_PRINT        0x00000001
 510 #define AACDB_FLAGS_FW_PRINT            0x00000002
 511 #define AACDB_FLAGS_NO_HEADERS          0x00000004
 512 
 513 #define AACDB_FLAGS_MISC                0x00000010
 514 #define AACDB_FLAGS_FUNC1               0x00000020
 515 #define AACDB_FLAGS_FUNC2               0x00000040
 516 #define AACDB_FLAGS_SCMD                0x00000080
 517 #define AACDB_FLAGS_AIF                 0x00000100
 518 #define AACDB_FLAGS_FIB                 0x00000200
 519 #define AACDB_FLAGS_IOCTL               0x00000400
 520 
 521 /*
 522  * Flags for FIB print
 523  */
 524 /* FIB sources */
 525 #define AACDB_FLAGS_FIB_SCMD            0x00000001