]> git.baikalelectronics.ru Git - kernel.git/commit
net: dsa: use new port type in helpers
authorVivien Didelot <vivien.didelot@savoirfairelinux.com>
Thu, 26 Oct 2017 15:22:58 +0000 (11:22 -0400)
committerDavid S. Miller <davem@davemloft.net>
Fri, 27 Oct 2017 15:00:09 +0000 (00:00 +0900)
commitc078de61f79851e243c804c9e539266a02d3cc35
tree3e4fb0167bcaecb903f754b3df36bdf2b63572f9
parenta131944a663a0a3395609f23fdddde59d41eb643
net: dsa: use new port type in helpers

Now that DSA exposes an enumerated type for the ports, we can use them
directly instead of checking bitmaps, which is more consistent.

Signed-off-by: Vivien Didelot <vivien.didelot@savoirfairelinux.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
include/net/dsa.h