summaryrefslogtreecommitdiffstats
path: root/drivers/infiniband/hw/hfi1/chip.h
diff options
context:
space:
mode:
authorDoug Ledford <dledford@redhat.com>2017-10-18 10:15:14 -0400
committerDoug Ledford <dledford@redhat.com>2017-10-18 10:15:14 -0400
commite527ff92b69f0fc184b22038fd600aec7bf0ce61 (patch)
tree43b72d694e2deab25a2f9d0cd5d9cf8d381b9ae5 /drivers/infiniband/hw/hfi1/chip.h
parentbd8c2021ab1e2891e393e7cf2fb6f3842449c742 (diff)
parentf9586abfa333143d67e3362dfb2a19ae45d82441 (diff)
downloadtalos-obmc-linux-e527ff92b69f0fc184b22038fd600aec7bf0ce61.tar.gz
talos-obmc-linux-e527ff92b69f0fc184b22038fd600aec7bf0ce61.zip
Merge branch 'hfi1' into k.o/for-next
Signed-off-by: Doug Ledford <dledford@redhat.com>
Diffstat (limited to 'drivers/infiniband/hw/hfi1/chip.h')
-rw-r--r--drivers/infiniband/hw/hfi1/chip.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/drivers/infiniband/hw/hfi1/chip.h b/drivers/infiniband/hw/hfi1/chip.h
index 579a6c70b93e..9dd5c5c29bf6 100644
--- a/drivers/infiniband/hw/hfi1/chip.h
+++ b/drivers/infiniband/hw/hfi1/chip.h
@@ -582,6 +582,9 @@ enum {
#define LOOPBACK_LCB 2
#define LOOPBACK_CABLE 3 /* external cable */
+/* set up serdes bit in MISC_CONFIG_BITS */
+#define LOOPBACK_SERDES_CONFIG_BIT_MASK_SHIFT 0
+
/* read and write hardware registers */
u64 read_csr(const struct hfi1_devdata *dd, u32 offset);
void write_csr(const struct hfi1_devdata *dd, u32 offset, u64 value);
OpenPOWER on IntegriCloud