Re: [PATCH net-next v4 1/4] net: phy: mdio-i2c: support I2C MDIO protocol for RollBall SFP modules
From: Andrew Lunn <andrew@lunn.ch>
Date: 2021-01-12 14:03:33
From: Andrew Lunn <andrew@lunn.ch>
Date: 2021-01-12 14:03:33
I'd think that mdio-i2c.c is for generic code. When adding a vendor-specific protocol, wouldn't it make sense to use a dedicated source file for it?
Hi Heiner
There is no standardised way to access MDIO over i2c. So the existing
code is vendor code, even if it is used by a few different vendors.
Andrew