I have an SOC with linux running on it. It has EMAC - controller to which Marvell switch is connected. The switch is containing 6 ports. How these 6 ports are represented in Linux File system ? How the driver structure would be ? To which driver stack i need to make the registrations ?
I know the structure of an ethernet controller driver - how this ethernet switch driver is different from it ?