aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/ntb/ntb_hw.h
diff options
context:
space:
mode:
authorJon Mason <jon.mason@intel.com>2013-07-15 18:53:54 -0400
committerJon Mason <jon.mason@intel.com>2013-09-05 14:07:58 -0400
commit497938890a0121d040683aa1db42cad8daf7ae97 (patch)
tree50abe4b7cd4de14bab11f3a0801490df404367e4 /drivers/ntb/ntb_hw.h
parent282a2feeb9bfb1d1dfbad93df206b74eaf80d564 (diff)
NTB: Rename Variables for NTB-RP
Many variable names in the NTB driver refer to the primary or secondary side. However, these variables will be used to access the reverse case when in NTB-RP mode. Make these names more generic in anticipation of NTB-RP support. Signed-off-by: Jon Mason <jon.mason@intel.com>
Diffstat (limited to 'drivers/ntb/ntb_hw.h')
-rw-r--r--drivers/ntb/ntb_hw.h12
1 files changed, 6 insertions, 6 deletions
diff --git a/drivers/ntb/ntb_hw.h b/drivers/ntb/ntb_hw.h
index 4f42ed18103a..0a31cedae7d4 100644
--- a/drivers/ntb/ntb_hw.h
+++ b/drivers/ntb/ntb_hw.h
@@ -124,11 +124,11 @@ struct ntb_device {
124 unsigned char msix_cnt; 124 unsigned char msix_cnt;
125 } limits; 125 } limits;
126 struct { 126 struct {
127 void __iomem *pdb; 127 void __iomem *ldb;
128 void __iomem *pdb_mask; 128 void __iomem *ldb_mask;
129 void __iomem *sdb; 129 void __iomem *rdb;
130 void __iomem *sbar2_xlat; 130 void __iomem *bar2_xlat;
131 void __iomem *sbar4_xlat; 131 void __iomem *bar4_xlat;
132 void __iomem *spad_write; 132 void __iomem *spad_write;
133 void __iomem *spad_read; 133 void __iomem *spad_read;
134 void __iomem *lnk_cntl; 134 void __iomem *lnk_cntl;
@@ -243,7 +243,7 @@ int ntb_read_remote_spad(struct ntb_device *ndev, unsigned int idx, u32 *val);
243resource_size_t ntb_get_mw_base(struct ntb_device *ndev, unsigned int mw); 243resource_size_t ntb_get_mw_base(struct ntb_device *ndev, unsigned int mw);
244void __iomem *ntb_get_mw_vbase(struct ntb_device *ndev, unsigned int mw); 244void __iomem *ntb_get_mw_vbase(struct ntb_device *ndev, unsigned int mw);
245u64 ntb_get_mw_size(struct ntb_device *ndev, unsigned int mw); 245u64 ntb_get_mw_size(struct ntb_device *ndev, unsigned int mw);
246void ntb_ring_sdb(struct ntb_device *ndev, unsigned int idx); 246void ntb_ring_doorbell(struct ntb_device *ndev, unsigned int idx);
247void *ntb_find_transport(struct pci_dev *pdev); 247void *ntb_find_transport(struct pci_dev *pdev);
248 248
249int ntb_transport_init(struct pci_dev *pdev); 249int ntb_transport_init(struct pci_dev *pdev);