summaryrefslogtreecommitdiffstats
path: root/drivers/ntb/ntb_transport.c
diff options
context:
space:
mode:
authorJon Mason <jon.mason@intel.com>2013-07-15 15:53:54 -0700
committerJon Mason <jon.mason@intel.com>2013-09-05 11:07:58 -0700
commit497938890a0121d040683aa1db42cad8daf7ae97 (patch)
tree50abe4b7cd4de14bab11f3a0801490df404367e4 /drivers/ntb/ntb_transport.c
parent282a2feeb9bfb1d1dfbad93df206b74eaf80d564 (diff)
downloadop-kernel-dev-497938890a0121d040683aa1db42cad8daf7ae97.zip
op-kernel-dev-497938890a0121d040683aa1db42cad8daf7ae97.tar.gz
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_transport.c')
-rw-r--r--drivers/ntb/ntb_transport.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/ntb/ntb_transport.c b/drivers/ntb/ntb_transport.c
index ae86572..ae61b44 100644
--- a/drivers/ntb/ntb_transport.c
+++ b/drivers/ntb/ntb_transport.c
@@ -1216,7 +1216,7 @@ static void ntb_tx_copy_callback(void *data)
wmb();
iowrite32(entry->flags | DESC_DONE_FLAG, &hdr->flags);
- ntb_ring_sdb(qp->ndev, qp->qp_num);
+ ntb_ring_doorbell(qp->ndev, qp->qp_num);
/* The entry length can only be zero if the packet is intended to be a
* "link down" or similar. Since no payload is being sent in these
OpenPOWER on IntegriCloud