From: Andrew Lunn <andrew@lunn.ch> Date: 2016-06-07 18:44:24
quoted
With the legacy interface it is tricky. When would you call such a
remove/tairdown function when using the old binding?
That'd go in dsa_switch_destroy I guess, but it just covers the case
where the whole DSA code is unloaded...
I don't think that helps you. It should not be possible to unload the
DSA core while there is an active driver. The drivers needs to unload
first....
Andrew