Merge branch 'for-linus' of git://github.com/cmetcalf-tilera/linux-tile
[pandora-kernel.git] / drivers / scsi / lpfc / lpfc.h
index c088a36..bb4c8e0 100644 (file)
@@ -846,8 +846,24 @@ struct lpfc_hba {
        struct dentry *debug_hbqinfo;
        struct dentry *debug_dumpHostSlim;
        struct dentry *debug_dumpHBASlim;
-       struct dentry *debug_dumpData;   /* BlockGuard BPL*/
-       struct dentry *debug_dumpDif;    /* BlockGuard BPL*/
+       struct dentry *debug_dumpData;   /* BlockGuard BPL */
+       struct dentry *debug_dumpDif;    /* BlockGuard BPL */
+       struct dentry *debug_InjErrLBA;  /* LBA to inject errors at */
+       struct dentry *debug_writeGuard; /* inject write guard_tag errors */
+       struct dentry *debug_writeApp;   /* inject write app_tag errors */
+       struct dentry *debug_writeRef;   /* inject write ref_tag errors */
+       struct dentry *debug_readApp;    /* inject read app_tag errors */
+       struct dentry *debug_readRef;    /* inject read ref_tag errors */
+
+       /* T10 DIF error injection */
+       uint32_t lpfc_injerr_wgrd_cnt;
+       uint32_t lpfc_injerr_wapp_cnt;
+       uint32_t lpfc_injerr_wref_cnt;
+       uint32_t lpfc_injerr_rapp_cnt;
+       uint32_t lpfc_injerr_rref_cnt;
+       sector_t lpfc_injerr_lba;
+#define LPFC_INJERR_LBA_OFF    (sector_t)0xffffffffffffffff
+
        struct dentry *debug_slow_ring_trc;
        struct lpfc_debugfs_trc *slow_ring_trc;
        atomic_t slow_ring_trc_cnt;