svn commit: r289266 - in head/sys/dev/ntb: if_ntb ntb_hw
Conrad E. Meyer
cem at FreeBSD.org
Tue Oct 13 20:55:22 UTC 2015
Author: cem
Date: Tue Oct 13 20:55:21 2015
New Revision: 289266
URL: https://svnweb.freebsd.org/changeset/base/289266
Log:
NTB: MFV f9a2cf89: Comment Fix
Add "data" ntb_register_db_callback parameter description comment and
correct poor speling.
Authored by: Jon Mason
Obtained from: Linux (Dual BSD/GPL driver)
Sponsored by: EMC / Isilon Storage Division
Modified:
head/sys/dev/ntb/if_ntb/if_ntb.c
head/sys/dev/ntb/ntb_hw/ntb_hw.c
Modified: head/sys/dev/ntb/if_ntb/if_ntb.c
==============================================================================
--- head/sys/dev/ntb/if_ntb/if_ntb.c Tue Oct 13 20:54:38 2015 (r289265)
+++ head/sys/dev/ntb/if_ntb/if_ntb.c Tue Oct 13 20:55:21 2015 (r289266)
@@ -715,7 +715,7 @@ ntb_transport_link_up(struct ntb_transpo
* @len: length of the data buffer
*
* Enqueue a new transmit buffer onto the transport queue from which a NTB
- * payload will be transmitted. This assumes that a lock is behing held to
+ * payload will be transmitted. This assumes that a lock is being held to
* serialize access to the qp.
*
* RETURNS: An appropriate ERRNO error value on error, or zero for success.
@@ -1311,7 +1311,7 @@ ntb_qp_link_cleanup(struct ntb_transport
*
* Notify NTB transport layer of client's desire to no longer receive data on
* transport queue specified. It is the client's responsibility to ensure all
- * entries on queue are purged or otherwise handled appropraitely.
+ * entries on queue are purged or otherwise handled appropriately.
*/
static void
ntb_transport_link_down(struct ntb_transport_qp *qp)
Modified: head/sys/dev/ntb/ntb_hw/ntb_hw.c
==============================================================================
--- head/sys/dev/ntb/ntb_hw/ntb_hw.c Tue Oct 13 20:54:38 2015 (r289265)
+++ head/sys/dev/ntb/ntb_hw/ntb_hw.c Tue Oct 13 20:55:21 2015 (r289266)
@@ -1140,6 +1140,7 @@ ntb_unregister_event_callback(struct ntb
* ntb_register_db_callback() - register a callback for doorbell interrupt
* @ntb: pointer to ntb_softc instance
* @idx: doorbell index to register callback, zero based
+ * @data: pointer to be returned to caller with every callback
* @func: callback function to register
*
* This function registers a callback function for the doorbell interrupt
More information about the svn-src-all
mailing list