summaryrefslogtreecommitdiffstats
path: root/drivers/net
diff options
context:
space:
mode:
authorFlorian Fainelli <f.fainelli@gmail.com>2020-07-19 20:49:54 -0700
committerDavid S. Miller <davem@davemloft.net>2020-07-20 16:48:22 -0700
commit9c0c7014f38206a2b63e7e832edf2e881a7b49ad (patch)
treec0624b765dec69ddd84fda731835322feaca29b7 /drivers/net
parent3369afba1e46b0f7f33b4853a9d06616be6e22d5 (diff)
net: dsa: Setup dsa_netdev_ops
Now that we have all the infrastructure in place for calling into the dsa_ptr->netdev_ops function pointers, install them when we configure the DSA CPU/management interface and tear them down. The flow is unchanged from before, but now we preserve equality of tests when network device drivers do tests like dev->netdev_ops == &foo_ops which was not the case before since we were allocating an entirely new structure. Signed-off-by: Florian Fainelli <f.fainelli@gmail.com> Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'drivers/net')
0 files changed, 0 insertions, 0 deletions