mirror of
https://github.com/lkl/linux.git
synced 2025-12-19 08:03:01 +09:00
net: pcs: rearrange C73 functions to prepare for C37 support later
The current implementation for XPCS is validated for C73, so we rename them to have _c73 suffix and introduce a set of functions to use an_mode flag to switch between C73 and C37 AN later. Signed-off-by: Ong Boon Leong <boon.leong.ong@intel.com> Signed-off-by: David S. Miller <davem@davemloft.net>
This commit is contained in:
committed by
David S. Miller
parent
29c35da103
commit
07a4bc51fc
@@ -10,10 +10,14 @@
|
||||
#include <linux/phy.h>
|
||||
#include <linux/phylink.h>
|
||||
|
||||
/* AN mode */
|
||||
#define DW_AN_C73 1
|
||||
|
||||
struct mdio_xpcs_args {
|
||||
__ETHTOOL_DECLARE_LINK_MODE_MASK(supported);
|
||||
struct mii_bus *bus;
|
||||
int addr;
|
||||
int an_mode;
|
||||
};
|
||||
|
||||
struct mdio_xpcs_ops {
|
||||
|
||||
Reference in New Issue
Block a user