diff --git a/docs/source/devicelist.rst b/docs/source/devicelist.rst index 7181f7a51..6eb5c6d91 100644 --- a/docs/source/devicelist.rst +++ b/docs/source/devicelist.rst @@ -74,10 +74,10 @@ This section details PCIe form-factor targets, which interface with a separate h ======================= ============ ============ ========== Board I2C :sup:`1` MAC :sup:`2` FW update ======================= ============ ============ ========== - ADM-PCIE-9V3 N :sup:`3` Y :sup:`5` Y + ADM-PCIE-9V3 Y Y :sup:`5` Y DNPCIe_40G_KU_LL_2QSFP Y N :sup:`3` Y - Nexus K35-S N :sup:`3` Y Y - Nexus K3P-S N :sup:`3` Y Y + Nexus K35-S Y Y Y + Nexus K3P-S Y Y Y Nexus K3P-Q Y Y Y fb2CG\@KU15P Y Y Y NetFPGA SUME Y N :sup:`7` N :sup:`8` diff --git a/modules/mqnic/mqnic_board.c b/modules/mqnic/mqnic_board.c index ad62f0893..f976339ae 100644 --- a/modules/mqnic/mqnic_board.c +++ b/modules/mqnic/mqnic_board.c @@ -578,6 +578,20 @@ static int mqnic_generic_board_init(struct mqnic_dev *mqnic) request_module("at24"); + // I2C adapter + adapter = mqnic_i2c_adapter_create(mqnic, 0); + + // Virtual I2C MUX + mux = create_i2c_client(adapter, "pca9543", 0x74); + + // QSFP0 + mqnic->mod_i2c_client[0] = create_i2c_client(get_i2c_mux_channel(mux, 0), "24c02", 0x50); + + // QSFP1 + mqnic->mod_i2c_client[1] = create_i2c_client(get_i2c_mux_channel(mux, 1), "24c02", 0x50); + + mqnic->mod_i2c_client_count = 2; + // create I2C adapter adapter = mqnic_i2c_adapter_create(mqnic, 1);