lpfc.h (ab11b487402f97975f3ac1eeea09c82f4431481e) lpfc.h (bc73905abf7701920fe687564ecd3c6b316b9a2e)
1/*******************************************************************
2 * This file is part of the Emulex Linux Device Driver for *
3 * Fibre Channel Host Bus Adapters. *
4 * Copyright (C) 2004-2010 Emulex. All rights reserved. *
5 * EMULEX and SLI are trademarks of Emulex. *
6 * www.emulex.com *
7 * Portions Copyright (C) 2004-2005 Christoph Hellwig *
8 * *

--- 761 unchanged lines hidden (view full) ---

770 /* Used for deferred freeing of ELS data buffers */
771 struct list_head elsbuf;
772 int elsbuf_cnt;
773 int elsbuf_prev_cnt;
774
775 uint8_t temp_sensor_support;
776 /* Fields used for heart beat. */
777 unsigned long last_completion_time;
1/*******************************************************************
2 * This file is part of the Emulex Linux Device Driver for *
3 * Fibre Channel Host Bus Adapters. *
4 * Copyright (C) 2004-2010 Emulex. All rights reserved. *
5 * EMULEX and SLI are trademarks of Emulex. *
6 * www.emulex.com *
7 * Portions Copyright (C) 2004-2005 Christoph Hellwig *
8 * *

--- 761 unchanged lines hidden (view full) ---

770 /* Used for deferred freeing of ELS data buffers */
771 struct list_head elsbuf;
772 int elsbuf_cnt;
773 int elsbuf_prev_cnt;
774
775 uint8_t temp_sensor_support;
776 /* Fields used for heart beat. */
777 unsigned long last_completion_time;
778 unsigned long skipped_hb;
778 struct timer_list hb_tmofunc;
779 uint8_t hb_outstanding;
780 enum hba_temp_state over_temp_state;
781 /* ndlp reference management */
782 spinlock_t ndlp_lock;
783 /*
784 * Following bit will be set for all buffer tags which are not
785 * associated with any HBQ.

--- 26 unchanged lines hidden (view full) ---

812 struct unsol_rcv_ct_ctx ct_ctx[64];
813 uint32_t ctx_idx;
814
815 uint8_t menlo_flag; /* menlo generic flags */
816#define HBA_MENLO_SUPPORT 0x1 /* HBA supports menlo commands */
817 uint32_t iocb_cnt;
818 uint32_t iocb_max;
819 atomic_t sdev_cnt;
779 struct timer_list hb_tmofunc;
780 uint8_t hb_outstanding;
781 enum hba_temp_state over_temp_state;
782 /* ndlp reference management */
783 spinlock_t ndlp_lock;
784 /*
785 * Following bit will be set for all buffer tags which are not
786 * associated with any HBQ.

--- 26 unchanged lines hidden (view full) ---

813 struct unsol_rcv_ct_ctx ct_ctx[64];
814 uint32_t ctx_idx;
815
816 uint8_t menlo_flag; /* menlo generic flags */
817#define HBA_MENLO_SUPPORT 0x1 /* HBA supports menlo commands */
818 uint32_t iocb_cnt;
819 uint32_t iocb_max;
820 atomic_t sdev_cnt;
821 uint8_t fips_spec_rev;
822 uint8_t fips_level;
820};
821
822static inline struct Scsi_Host *
823lpfc_shost_from_vport(struct lpfc_vport *vport)
824{
825 return container_of((void *) vport, struct Scsi_Host, hostdata[0]);
826}
827

--- 49 unchanged lines hidden ---
823};
824
825static inline struct Scsi_Host *
826lpfc_shost_from_vport(struct lpfc_vport *vport)
827{
828 return container_of((void *) vport, struct Scsi_Host, hostdata[0]);
829}
830

--- 49 unchanged lines hidden ---