Commit 3259d2cf authored by Javen Xu's avatar Javen Xu Committed by Paolo Abeni
Browse files

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: default avatarJaven Xu <javen_xu@realsil.com.cn>
Link: https://patch.msgid.link/20260109070415.1115-2-javen_xu@realsil.com.cn


Signed-off-by: default avatarPaolo Abeni <pabeni@redhat.com>
parent cbe8e6be
Loading
Loading
Loading
Loading
+4 −0
Original line number Diff line number Diff line
@@ -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;
	}