linux 2.6.16.38 w/ vs2.0.3-rc1
[linux-2.6.git] / drivers / scsi / lpfc / lpfc_sli.h
index a52d6c6..b7a9f97 100644 (file)
@@ -1,7 +1,7 @@
 /*******************************************************************
  * This file is part of the Emulex Linux Device Driver for         *
  * Fibre Channel Host Bus Adapters.                                *
- * Copyright (C) 2004-2006 Emulex.  All rights reserved.           *
+ * Copyright (C) 2004-2005 Emulex.  All rights reserved.           *
  * EMULEX and SLI are trademarks of Emulex.                        *
  * www.emulex.com                                                  *
  *                                                                 *
@@ -61,6 +61,7 @@ struct lpfc_iocbq {
 };
 
 #define SLI_IOCB_RET_IOCB      1       /* Return IOCB if cmd ring full */
+#define SLI_IOCB_HIGH_PRIORITY 2       /* High priority command */
 
 #define IOCB_SUCCESS        0
 #define IOCB_BUSY           1
@@ -199,6 +200,8 @@ struct lpfc_sli {
        struct timer_list mbox_tmo;     /* Hold clk to timeout active mbox
                                           cmd */
 
+       uint32_t *MBhostaddr;   /* virtual address for mbox cmds */
+
 #define LPFC_IOCBQ_LOOKUP_INCREMENT  1024
        struct lpfc_iocbq ** iocbq_lookup; /* array to lookup IOCB by IOTAG */
        size_t iocbq_lookup_len;           /* current lengs of the array */