summaryrefslogtreecommitdiffstats
path: root/drivers/ntb/ntb_hw.h
diff options
context:
space:
mode:
authorDave Jiang <dave.jiang@intel.com>2014-08-28 13:53:18 -0700
committerJon Mason <jdmason@kudzu.us>2014-10-17 07:08:51 -0400
commit069684e888da73f175da0f10fe26da4f450d8c18 (patch)
tree1942ceebcd12b321e20a5372fd039343c6b233e4 /drivers/ntb/ntb_hw.h
parent1db97f258966878317ece10868eaca99201d5884 (diff)
downloadlinux-069684e888da73f175da0f10fe26da4f450d8c18.tar.bz2
ntb: use errata flag set via DID to implement workaround
Instead of using a module parameter, we should detect the errata via PCI DID and then set an appropriate flag. This will be used for additional errata later on. Signed-off-by: Dave Jiang <dave.jiang@intel.com> Signed-off-by: Jon Mason <jdmason@kudzu.us>
Diffstat (limited to 'drivers/ntb/ntb_hw.h')
-rw-r--r--drivers/ntb/ntb_hw.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/drivers/ntb/ntb_hw.h b/drivers/ntb/ntb_hw.h
index ddbcbfda0f49..5380ca16198a 100644
--- a/drivers/ntb/ntb_hw.h
+++ b/drivers/ntb/ntb_hw.h
@@ -109,6 +109,8 @@ struct ntb_db_cb {
struct tasklet_struct irq_work;
};
+#define WA_SNB_ERR 0x00000001
+
struct ntb_device {
struct pci_dev *pdev;
struct msix_entry *msix_entries;
@@ -153,6 +155,8 @@ struct ntb_device {
struct dentry *debugfs_dir;
struct dentry *debugfs_info;
+
+ unsigned int wa_flags;
};
/**