diff options
author | Dave Jiang <dave.jiang@intel.com> | 2014-08-28 20:53:18 (GMT) |
---|---|---|
committer | Jon Mason <jdmason@kudzu.us> | 2014-10-17 11:08:51 (GMT) |
commit | 069684e888da73f175da0f10fe26da4f450d8c18 (patch) | |
tree | 1942ceebcd12b321e20a5372fd039343c6b233e4 /drivers/ntb/ntb_hw.h | |
parent | 1db97f258966878317ece10868eaca99201d5884 (diff) | |
download | linux-069684e888da73f175da0f10fe26da4f450d8c18.tar.xz |
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.h | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/drivers/ntb/ntb_hw.h b/drivers/ntb/ntb_hw.h index ddbcbfd..5380ca1 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; }; /** |