mirror of
https://github.com/AuxXxilium/linux_dsm_epyc7002.git
synced 2024-12-28 11:18:45 +07:00
dc9d38cec7
The Marvell 6390 Ethernet switch family does not perform MDIO turnaround correctly. Many hardware MDIO bus masters don't care about this, but the bitbangging implementation in Linux does by default. Add phy_ignore_ta_mask to the platform data so that the bitbangging code can be told which devices are known to get TA wrong. v2 Reviewed-by: Florian Fainelli <f.fainelli@gmail.com> Signed-off-by: David S. Miller <davem@davemloft.net>
15 lines
273 B
C
15 lines
273 B
C
/* SPDX-License-Identifier: GPL-2.0 */
|
|
/*
|
|
* MDIO-GPIO bus platform data structure
|
|
*/
|
|
|
|
#ifndef __LINUX_MDIO_GPIO_PDATA_H
|
|
#define __LINUX_MDIO_GPIO_PDATA_H
|
|
|
|
struct mdio_gpio_platform_data {
|
|
u32 phy_mask;
|
|
u32 phy_ignore_ta_mask;
|
|
};
|
|
|
|
#endif /* __LINUX_MDIO_GPIO_PDATA_H */
|