r8169: add DASH support for RTL8127AP

This adds DASH support for chip RTL8127AP. Its mac version is
RTL_GIGA_MAC_VER_80 and revision id is 0x04. DASH is a standard for
remote management of network device, allowing out-of-band control.

Signed-off-by: Javen Xu <javen_xu@realsil.com.cn>
Link: https://patch.msgid.link/20260109070415.1115-2-javen_xu@realsil.com.cn
Signed-off-by: Paolo Abeni <pabeni@redhat.com>
This commit is contained in:
Javen Xu 2026-01-09 15:04:14 +08:00 committed by Paolo Abeni
parent cbe8e6bef6
commit 3259d2cf94

View File

@ -1559,6 +1559,10 @@ static enum rtl_dash_type rtl_get_dash_type(struct rtl8169_private *tp)
return RTL_DASH_EP;
case RTL_GIGA_MAC_VER_66:
return RTL_DASH_25_BP;
case RTL_GIGA_MAC_VER_80:
return (tp->pci_dev->revision == 0x04)
? RTL_DASH_25_BP
: RTL_DASH_NONE;
default:
return RTL_DASH_NONE;
}