diff options
author | Oleksij Rempel <o.rempel@pengutronix.de> | 2022-12-05 08:22:27 +0300 |
---|---|---|
committer | Paolo Abeni <pabeni@redhat.com> | 2022-12-07 13:57:58 +0300 |
commit | 838c19f89454cab177ed6f74ab61ad32db1764c5 (patch) | |
tree | 4cc3ed62aac02c767eb36228bc8fdb48ab88352e /drivers/net/dsa/microchip/ksz9477_reg.h | |
parent | e22dcbc9aa329e7902a8c9f8d11aba74f5d7c97d (diff) | |
download | linux-838c19f89454cab177ed6f74ab61ad32db1764c5.tar.xz |
net: dsa: microchip: move max mtu to one location
There are no HW specific registers, so we can process all of them
in one location.
Signed-off-by: Oleksij Rempel <o.rempel@pengutronix.de>
Tested-by: Arun Ramadoss <arun.ramadoss@microchip.com> (KSZ9893 and LAN937x)
Signed-off-by: Paolo Abeni <pabeni@redhat.com>
Diffstat (limited to 'drivers/net/dsa/microchip/ksz9477_reg.h')
-rw-r--r-- | drivers/net/dsa/microchip/ksz9477_reg.h | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/drivers/net/dsa/microchip/ksz9477_reg.h b/drivers/net/dsa/microchip/ksz9477_reg.h index 53c68d286dd3..cc457fa64939 100644 --- a/drivers/net/dsa/microchip/ksz9477_reg.h +++ b/drivers/net/dsa/microchip/ksz9477_reg.h @@ -1615,6 +1615,4 @@ #define PTP_TRIG_UNIT_M (BIT(MAX_TRIG_UNIT) - 1) #define PTP_TS_UNIT_M (BIT(MAX_TIMESTAMP_UNIT) - 1) -#define KSZ9477_MAX_FRAME_SIZE 9000 - #endif /* KSZ9477_REGS_H */ |