]> git.proxmox.com Git - mirror_ubuntu-kernels.git/commit
ravb: Add magic_pkt to struct ravb_hw_info
authorBiju Das <biju.das.jz@bp.renesas.com>
Fri, 1 Oct 2021 15:06:34 +0000 (16:06 +0100)
committerDavid S. Miller <davem@davemloft.net>
Sat, 2 Oct 2021 12:52:46 +0000 (13:52 +0100)
commitebd5df063ce4a98553875e5b75eb8c0ab0584936
tree072f9d74796445d8a6d63a78a00cb4dc02192026
parent0b395f289451b4674c1db8949f0c441d7a2ff4fe
ravb: Add magic_pkt to struct ravb_hw_info

E-MAC on R-Car supports magic packet detection, whereas RZ/G2L
does not support this feature. Add magic_pkt to struct ravb_hw_info
and enable this feature only for R-Car.

Signed-off-by: Biju Das <biju.das.jz@bp.renesas.com>
Reviewed-by: Lad Prabhakar <prabhakar.mahadev-lad.rj@bp.renesas.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/ethernet/renesas/ravb.h
drivers/net/ethernet/renesas/ravb_main.c