1
0
Fork 0
mirror of synced 2025-03-06 20:59:54 +01:00
linux/drivers/net/ethernet/mscc
Antoine Tenart 495083807f net: mscc: simplify retrieving the tag type from the frame header
The tag type in the frame extraction header is only a bit wide. There's
no need to use GENMASK when retrieving the information. This patch
simplify the code by dropping GENMASK and using BIT instead.

Signed-off-by: Antoine Tenart <antoine.tenart@bootlin.com>
Reviewed-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
2018-07-16 13:43:31 -07:00
..
Kconfig net: mscc: Add initial Ocelot switch support 2018-05-15 16:41:15 -04:00
Makefile net: mscc: Add initial Ocelot switch support 2018-05-15 16:41:15 -04:00
ocelot.c net: mscc: ocelot: add VLAN filtering 2018-06-28 14:18:49 +09:00
ocelot.h net: mscc: ocelot: add bonding support 2018-06-28 14:18:49 +09:00
ocelot_ana.h net: mscc: Add initial Ocelot switch support 2018-05-15 16:41:15 -04:00
ocelot_board.c net: mscc: simplify retrieving the tag type from the frame header 2018-07-16 13:43:31 -07:00
ocelot_dev.h net: mscc: Add initial Ocelot switch support 2018-05-15 16:41:15 -04:00
ocelot_dev_gmii.h net: mscc: Add initial Ocelot switch support 2018-05-15 16:41:15 -04:00
ocelot_hsio.h net: mscc: Add initial Ocelot switch support 2018-05-15 16:41:15 -04:00
ocelot_io.c net: mscc: Add initial Ocelot switch support 2018-05-15 16:41:15 -04:00
ocelot_qs.h net: mscc: Add initial Ocelot switch support 2018-05-15 16:41:15 -04:00
ocelot_qsys.h net: mscc: Add SPDX identifier 2018-05-18 11:30:25 -04:00
ocelot_regs.c net: mscc: Add initial Ocelot switch support 2018-05-15 16:41:15 -04:00
ocelot_rew.h net: mscc: Add initial Ocelot switch support 2018-05-15 16:41:15 -04:00
ocelot_sys.h net: mscc: Add initial Ocelot switch support 2018-05-15 16:41:15 -04:00