Open iuncuim opened 4 years ago
I do not have direct experience of using SGMII port as a host port but there are customers doing that before. The current driver supports using SGMII port in 3 modes: copper module, fiber module, and direct connect. The driver can detect whether copper or fiber module is being used, if not it has to be set manually. For direct connect you have to tell the driver by specifying driver parameter "sgmii=0." Inside the driver the variable sgmii_mode specifies how to setup the SGMII port. 0 means direct, 1 means fiber, and 2 means copper. You may want to double-check the driver can recognize the SGMII port in KSZ9897S.
Hello,
I plan to use the KSZ9897S switch to connect to the CPU through the SGMII port. The host processor is qualcomm arm with modificated linux kernel 3.18. SGMII provided by qcom_emac.
I don't need advanced switch functions right now, only vlan and tagging.
Is it possible? What drivers should I use?