diff options
| author | Serge Semin <fancer.lancer@gmail.com> | 2024-07-01 21:28:34 +0300 |
|---|---|---|
| committer | David S. Miller <davem@davemloft.net> | 2024-07-05 09:35:49 +0100 |
| commit | 71b200b388ef2ff1b547114f17dc1fd088bfc2c6 (patch) | |
| tree | f545385e9be16ce007f06b6233fc7b59cd0de8b7 /include/linux/pcs/pcs-xpcs.h | |
| parent | 03b3be07c69a5fd71e4c01a35b511c13d2adb3c5 (diff) | |
| download | linux-71b200b388ef2ff1b547114f17dc1fd088bfc2c6.tar.gz linux-71b200b388ef2ff1b547114f17dc1fd088bfc2c6.tar.bz2 linux-71b200b388ef2ff1b547114f17dc1fd088bfc2c6.zip | |
net: pcs: xpcs: Convert xpcs_id to dw_xpcs_desc
A structure with the PCS/PMA MMD IDs data is being introduced in one of
the next commits. In order to prevent the names ambiguity let's convert
the xpcs_id structure name to dw_xpcs_desc. The later version is more
suitable since the structure content is indeed the device descriptor
containing the data and callbacks required for the driver to correctly set
the device up.
Signed-off-by: Serge Semin <fancer.lancer@gmail.com>
Reviewed-by: Andrew Lunn <andrew@lunn.ch>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'include/linux/pcs/pcs-xpcs.h')
| -rw-r--r-- | include/linux/pcs/pcs-xpcs.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/include/linux/pcs/pcs-xpcs.h b/include/linux/pcs/pcs-xpcs.h index 8dfe90295f12..e706bd16b986 100644 --- a/include/linux/pcs/pcs-xpcs.h +++ b/include/linux/pcs/pcs-xpcs.h @@ -28,11 +28,11 @@ /* dev_flag */ #define DW_DEV_TXGBE BIT(0) -struct xpcs_id; +struct dw_xpcs_desc; struct dw_xpcs { + const struct dw_xpcs_desc *desc; struct mdio_device *mdiodev; - const struct xpcs_id *id; struct phylink_pcs pcs; phy_interface_t interface; int dev_flag; |
