I'm developing with LS1046 custom board without CPLD.
In LS1046A Reference Design Board Reference Manual 3.1.20,
SFP+ module status register is.
How does it get status information?
As no CPLD in my custom board, I like to make kernel driver to get the status.
Is it possible?
The CPLD registers are REG_SFP_TXEN (controls the XFI1_TX_DISABLE SFP+ signal) and REG_SFP_STATUS (by design can show levels of several SFP+ status signals - actually not implemented in CPLD).
Control for the XFI1_TX_DISABLE could be implemented by a GPIO signal.
So is there no way to check SFP+ status(REG_SFP_STATUS)?
What about using drivers/net/phy/sfp.c in linux kernel?