diff options
author | Dean Luick <dean.luick@intel.com> | 2016-07-07 00:28:52 +0300 |
---|---|---|
committer | Doug Ledford <dledford@redhat.com> | 2016-08-02 22:47:42 +0300 |
commit | dba715f0c8b5daa1fca041c1c9011632c7a83105 (patch) | |
tree | c501ad38388ec750f4e70a0e005e1b25b5816563 /drivers/infiniband/hw/hfi1/qsfp.h | |
parent | b094a36f90975373c3a241839869217a65f17d81 (diff) | |
download | linux-dba715f0c8b5daa1fca041c1c9011632c7a83105.tar.xz |
IB/hfi1: Use built-in i2c bit-shift bus adapter
Use built-in i2c bit-shift bus adapter to control the
i2c busses on the chip.
Cc: Jason Gunthorpe <jgunthorpe@obsidianresearch.com>
Reviewed-by: Easwar Hariharan <easwar.hariharan@intel.com>
Reviewed-by: Dennis Dalessandro <dennis.dalessandro@intel.com>
Signed-off-by: Dean Luick <dean.luick@intel.com>
Signed-off-by: Dennis Dalessandro <dennis.dalessandro@intel.com>
Signed-off-by: Mike Marciniszyn <mike.marciniszyn@intel.com>
Signed-off-by: Doug Ledford <dledford@redhat.com>
Diffstat (limited to 'drivers/infiniband/hw/hfi1/qsfp.h')
-rw-r--r-- | drivers/infiniband/hw/hfi1/qsfp.h | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/drivers/infiniband/hw/hfi1/qsfp.h b/drivers/infiniband/hw/hfi1/qsfp.h index dadc66c442b9..69275ebd9597 100644 --- a/drivers/infiniband/hw/hfi1/qsfp.h +++ b/drivers/infiniband/hw/hfi1/qsfp.h @@ -238,3 +238,6 @@ int one_qsfp_write(struct hfi1_pportdata *ppd, u32 target, int addr, void *bp, int len); int one_qsfp_read(struct hfi1_pportdata *ppd, u32 target, int addr, void *bp, int len); +struct hfi1_asic_data; +int set_up_i2c(struct hfi1_devdata *dd, struct hfi1_asic_data *ad); +void clean_up_i2c(struct hfi1_devdata *dd, struct hfi1_asic_data *ad); |