Skip to content

Commit

Permalink
net: macb: Correct WOL CAPS value
Browse files Browse the repository at this point in the history
Currently MACB_CAPS_WOL and MACB_CAPS_MIIONRGMII are the same.
Make MACB_CAPS_WOL unique to fix the same.
This could only be a potential issue on systems with phy-mode
as "mii".

Signed-off-by: Harini Katakam <harini.katakam@amd.com>
Reviewed-by: Radhey Shyam Pandey <radhey.shyam.pandey@amd.com>
  • Loading branch information
HariniKatakamX authored and michalsimek committed Mar 21, 2024
1 parent e3a5d2a commit 611b72d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion drivers/net/ethernet/cadence/macb.h
Original file line number Diff line number Diff line change
Expand Up @@ -737,9 +737,9 @@
#define MACB_CAPS_MIIONRGMII 0x00000200
#define MACB_CAPS_NEED_TSUCLK 0x00000400
#define MACB_CAPS_QUEUE_DISABLE 0x00000800
#define MACB_CAPS_WOL 0x00001000
#define MACB_CAPS_PCS 0x01000000
#define MACB_CAPS_HIGH_SPEED 0x02000000
#define MACB_CAPS_WOL 0x00000200
#define MACB_CAPS_CLK_HW_CHG 0x04000000
#define MACB_CAPS_MACB_IS_EMAC 0x08000000
#define MACB_CAPS_FIFO_MODE 0x10000000
Expand Down

0 comments on commit 611b72d

Please sign in to comment.