[PATCH net-next v3 0/3] net: ethernet: mediatek: check the hw lro capability by the chip id instead of the dtsi

Nelson Chang nelson.chang at mediatek.com
Thu Oct 6 04:44:00 PDT 2016


The series modify to check if hw lro is supported by the chip id.

changes since v3:
- Refine mtk_is_hwlro_supported() function

changes since v2:
- Refine mtk_get_chip_id() function

changes since v1:
- Because hw lro started to be supported from MT7623, the proper way to check if the feature is capable is to judge by the chip id instead of by the dtsi.

Nelson Chang (3):
  net: ethernet: mediatek: get the chip id by ETHDMASYS registers
  net: ethernet: mediatek: get hw lro capability by the chip id instead
    of by the dtsi
  net: ethernet: mediatek: remove hwlro property in the device tree

 .../devicetree/bindings/net/mediatek-net.txt       |  2 -
 drivers/net/ethernet/mediatek/mtk_eth_soc.c        | 43 +++++++++++++++++++++-
 drivers/net/ethernet/mediatek/mtk_eth_soc.h        |  6 +++
 3 files changed, 47 insertions(+), 4 deletions(-)

-- 
1.9.1




More information about the Linux-mediatek mailing list