summaryrefslogtreecommitdiffstats
path: root/drivers/ntb/ntb_transport.c
diff options
context:
space:
mode:
authorJon Mason <jon.mason@intel.com>2013-07-16 00:53:54 +0200
committerJon Mason <jon.mason@intel.com>2013-09-05 20:07:58 +0200
commit497938890a0121d040683aa1db42cad8daf7ae97 (patch)
tree50abe4b7cd4de14bab11f3a0801490df404367e4 /drivers/ntb/ntb_transport.c
parentNTB: Use DMA Engine to Transmit and Receive (diff)
downloadlinux-497938890a0121d040683aa1db42cad8daf7ae97.tar.xz
linux-497938890a0121d040683aa1db42cad8daf7ae97.zip
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 ae8657259ca0..ae61b443f412 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