I am searching for a bit of advice. We have a functioning system with an 8313 and are adding a second PHY to the second TSEC, which in Linux is controlled by the gianfar.c ethernet driver.
The advice I am seeking is the best way to setup a driver for TSEC2. Should this be a copy of gianfar.c named gianfar2.c with the appropriate changed constants? Does gianfar.c support multiple instances of itself for use by multiple TSECs?