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>
This commit is contained in:
committed by
David S. Miller
parent
03b3be07c6
commit
71b200b388
@@ -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;
|
||||
|
||||
Reference in New Issue
Block a user