diff options
author | Bryan O'Sullivan <bos@pathscale.com> | 2006-07-01 07:35:53 -0400 |
---|---|---|
committer | Linus Torvalds <torvalds@g5.osdl.org> | 2006-07-01 12:55:59 -0400 |
commit | 685f97e81b5510cfcbeccf6ae0400d3664ba8ea3 (patch) | |
tree | cd10ce87e00a61f5ca52ab770d716b6c9fac801e /drivers/infiniband/hw/ipath | |
parent | a2acb2ff36876fdfa5f7a8bf811765aadc74c1c1 (diff) |
[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>
Diffstat (limited to 'drivers/infiniband/hw/ipath')
-rw-r--r-- | drivers/infiniband/hw/ipath/ipath_kernel.h | 9 | ||||
-rw-r--r-- | drivers/infiniband/hw/ipath/ipath_layer.c | 2 |
2 files changed, 3 insertions, 8 deletions
diff --git a/drivers/infiniband/hw/ipath/ipath_kernel.h b/drivers/infiniband/hw/ipath/ipath_kernel.h index 412480d1109f..751648222825 100644 --- a/drivers/infiniband/hw/ipath/ipath_kernel.h +++ b/drivers/infiniband/hw/ipath/ipath_kernel.h | |||
@@ -723,13 +723,8 @@ u64 ipath_read_kreg64_port(const struct ipath_devdata *, ipath_kreg, | |||
723 | * @port: port number | 723 | * @port: port number |
724 | * | 724 | * |
725 | * Return the contents of a register that is virtualized to be per port. | 725 | * Return the contents of a register that is virtualized to be per port. |
726 | * Prints a debug message and returns -1 on errors (not distinguishable from | 726 | * Returns -1 on errors (not distinguishable from valid contents at |
727 | * valid contents at runtime; we may add a separate error variable at some | 727 | * runtime; we may add a separate error variable at some point). |
728 | * point). | ||
729 | * | ||
730 | * This is normally not used by the kernel, but may be for debugging, and | ||
731 | * has a different implementation than user mode, which is why it's not in | ||
732 | * _common.h. | ||
733 | */ | 728 | */ |
734 | static inline u32 ipath_read_ureg32(const struct ipath_devdata *dd, | 729 | static inline u32 ipath_read_ureg32(const struct ipath_devdata *dd, |
735 | ipath_ureg regno, int port) | 730 | ipath_ureg regno, int port) |
diff --git a/drivers/infiniband/hw/ipath/ipath_layer.c b/drivers/infiniband/hw/ipath/ipath_layer.c index bb15b17a4225..4b51b97de899 100644 --- a/drivers/infiniband/hw/ipath/ipath_layer.c +++ b/drivers/infiniband/hw/ipath/ipath_layer.c | |||
@@ -885,7 +885,7 @@ static void copy_io(u32 __iomem *piobuf, struct ipath_sge_state *ss, | |||
885 | /** | 885 | /** |
886 | * ipath_verbs_send - send a packet from the verbs layer | 886 | * ipath_verbs_send - send a packet from the verbs layer |
887 | * @dd: the infinipath device | 887 | * @dd: the infinipath device |
888 | * @hdrwords: the number of works in the header | 888 | * @hdrwords: the number of words in the header |
889 | * @hdr: the packet header | 889 | * @hdr: the packet header |
890 | * @len: the length of the packet in bytes | 890 | * @len: the length of the packet in bytes |
891 | * @ss: the SGE to send | 891 | * @ss: the SGE to send |