> The registers writing code is where? switchdev driver? > All I care about is that all the switch specific code should be in one > place.
The switch specific code is in the switch specific driver. Take a look under drivers/net/dsa for the switches which are currently supported by DSA. Andrew