amd-xgbe: Prepare for a new PCS register access method
Prepare the code to be able to support accessing of the PCS registers in a new way, while maintaining the current access method. Provide a version specific field that indicates the method to use. Signed-off-by: Tom Lendacky <thomas.lendacky@amd.com> Signed-off-by: David S. Miller <davem@davemloft.net>
This commit is contained in:
committed by
David S. Miller
parent
1bf40ada62
commit
b03a4a6fb3
@@ -785,6 +785,7 @@ static int xgbe_resume(struct device *dev)
|
||||
|
||||
static const struct xgbe_version_data xgbe_v1 = {
|
||||
.init_function_ptrs_phy_impl = xgbe_init_function_ptrs_phy_v1,
|
||||
.xpcs_access = XGBE_XPCS_ACCESS_V1,
|
||||
};
|
||||
|
||||
#ifdef CONFIG_ACPI
|
||||
|
||||
Reference in New Issue
Block a user