]> git.ipfire.org Git - thirdparty/kernel/linux.git/commit
net: fec: remove duplicate macros of the BD status
authorWei Fang <wei.fang@nxp.com>
Wed, 19 Nov 2025 02:51:48 +0000 (10:51 +0800)
committerJakub Kicinski <kuba@kernel.org>
Fri, 21 Nov 2025 02:40:07 +0000 (18:40 -0800)
commitbd31490718b47d91b0926619635ba967505457e7
tree19a452ed5a11cdcee0009e6a036e89276ba4b0c6
parent3bb06c8a461b8c8714eef5094b1fadd2d066dd1a
net: fec: remove duplicate macros of the BD status

There are two sets of macros used to define the status bits of TX and RX
BDs, one is the BD_SC_xx macros, the other one is the BD_ENET_xx macros.
For the BD_SC_xx macros, only BD_SC_WRAP is used in the driver. But the
BD_ENET_xx macros are more widely used in the driver, and they define
more bits of the BD status. Therefore, remove the BD_SC_xx macros from
now on.

Signed-off-by: Wei Fang <wei.fang@nxp.com>
Reviewed-by: Frank Li <Frank.Li@nxp.com>
Link: https://patch.msgid.link/20251119025148.2817602-6-wei.fang@nxp.com
Signed-off-by: Jakub Kicinski <kuba@kernel.org>
drivers/net/ethernet/freescale/fec.h
drivers/net/ethernet/freescale/fec_main.c