net: dsa: b53: update PCS driver to use neg_mode
Update B53's embedded PCS driver to use neg_mode, even though it makes no use of it or the "mode" argument. This makes the driver consistent with converted drivers. Signed-off-by: Russell King (Oracle) <rmk+kernel@armlinux.org.uk> Acked-by: Florian Fainelli <florian.fainelli@broadcom.com> Link: https://lore.kernel.org/r/E1qA8Ee-00EaGL-Az@rmk-PC.armlinux.org.uk Signed-off-by: Jakub Kicinski <kuba@kernel.org>
This commit is contained in:
parent
6e5bb3da98
commit
772c476dd1
@ -65,7 +65,7 @@ static u16 b53_serdes_read(struct b53_device *dev, u8 lane,
|
||||
return b53_serdes_read_blk(dev, offset, block);
|
||||
}
|
||||
|
||||
static int b53_serdes_config(struct phylink_pcs *pcs, unsigned int mode,
|
||||
static int b53_serdes_config(struct phylink_pcs *pcs, unsigned int neg_mode,
|
||||
phy_interface_t interface,
|
||||
const unsigned long *advertising,
|
||||
bool permit_pause_to_mac)
|
||||
@ -239,6 +239,7 @@ int b53_serdes_init(struct b53_device *dev, int port)
|
||||
pcs->dev = dev;
|
||||
pcs->lane = lane;
|
||||
pcs->pcs.ops = &b53_pcs_ops;
|
||||
pcs->pcs.neg_mode = true;
|
||||
|
||||
return 0;
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user