summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorVineeth Karumanchi <vineeth.karumanchi@amd.com>2024-06-21 07:57:33 +0300
committerPaolo Abeni <pabeni@redhat.com>2024-06-25 12:53:07 +0300
commit3650a8cc5b34b1032428724c1b74349a753237a4 (patch)
treec1f8c7b87a2c083789d82435ce1acaed6297e725
parent759cc793ebfc2d1a02f357ae97e5dcdcd63f758f (diff)
downloadlinux-3650a8cc5b34b1032428724c1b74349a753237a4.tar.xz
net: macb: Enable queue disable
Enable queue disable for Versal devices. Signed-off-by: Vineeth Karumanchi <vineeth.karumanchi@amd.com> Reviewed-by: Andrew Lunn <andrew@lunn.ch> Reviewed-by: Claudiu Beznea <claudiu.beznea@tuxon.dev> Signed-off-by: Paolo Abeni <pabeni@redhat.com>
-rw-r--r--drivers/net/ethernet/cadence/macb_main.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/drivers/net/ethernet/cadence/macb_main.c b/drivers/net/ethernet/cadence/macb_main.c
index 9fc8c5a82bf8..4007b291526f 100644
--- a/drivers/net/ethernet/cadence/macb_main.c
+++ b/drivers/net/ethernet/cadence/macb_main.c
@@ -4949,7 +4949,8 @@ static const struct macb_config sama7g5_emac_config = {
static const struct macb_config versal_config = {
.caps = MACB_CAPS_GIGABIT_MODE_AVAILABLE | MACB_CAPS_JUMBO |
- MACB_CAPS_GEM_HAS_PTP | MACB_CAPS_BD_RD_PREFETCH | MACB_CAPS_NEED_TSUCLK,
+ MACB_CAPS_GEM_HAS_PTP | MACB_CAPS_BD_RD_PREFETCH | MACB_CAPS_NEED_TSUCLK |
+ MACB_CAPS_QUEUE_DISABLE,
.dma_burst_length = 16,
.clk_init = macb_clk_init,
.init = init_reset_optional,