[PATCH] IB/ipath: update some comments and fix typos

Signed-off-by: Robert Walsh <robert.walsh@qlogic.com>
Signed-off-by: Bryan O'Sullivan <bryan.osullivan@qlogic.com>
Cc: "Michael S. Tsirkin" <mst@mellanox.co.il>
Cc: Roland Dreier <rolandd@cisco.com>
Signed-off-by: Andrew Morton <akpm@osdl.org>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
This commit is contained in:
Bryan O'Sullivan 2006-07-01 04:35:53 -07:00 committed by Linus Torvalds
parent a2acb2ff36
commit 685f97e81b
2 changed files with 3 additions and 8 deletions

View File

@ -723,13 +723,8 @@ u64 ipath_read_kreg64_port(const struct ipath_devdata *, ipath_kreg,
* @port: port number * @port: port number
* *
* Return the contents of a register that is virtualized to be per port. * Return the contents of a register that is virtualized to be per port.
* Prints a debug message and returns -1 on errors (not distinguishable from * Returns -1 on errors (not distinguishable from valid contents at
* valid contents at runtime; we may add a separate error variable at some * runtime; we may add a separate error variable at some point).
* point).
*
* This is normally not used by the kernel, but may be for debugging, and
* has a different implementation than user mode, which is why it's not in
* _common.h.
*/ */
static inline u32 ipath_read_ureg32(const struct ipath_devdata *dd, static inline u32 ipath_read_ureg32(const struct ipath_devdata *dd,
ipath_ureg regno, int port) ipath_ureg regno, int port)

View File

@ -885,7 +885,7 @@ static void copy_io(u32 __iomem *piobuf, struct ipath_sge_state *ss,
/** /**
* ipath_verbs_send - send a packet from the verbs layer * ipath_verbs_send - send a packet from the verbs layer
* @dd: the infinipath device * @dd: the infinipath device
* @hdrwords: the number of works in the header * @hdrwords: the number of words in the header
* @hdr: the packet header * @hdr: the packet header
* @len: the length of the packet in bytes * @len: the length of the packet in bytes
* @ss: the SGE to send * @ss: the SGE to send