Re: [PATCH net-next v3 03/11] net: phy: replace is_c45 with phy_accces_mode

From: Andrew Lunn
Date: Tue Jul 18 2023 - 19:31:12 EST


> Why would it be two drivers?

I'm assuming there is no C22 over C45. So phy_read() is not going to
work. I'm also assuming the current driver is using the C22 register
space.

So either the driver needs re-writing to use only the C45 register
space, maybe using C45 over C22, or it needs a second parallel driver
using just the C45 register space when only C45 bus transfers are
available.

Andrew