On 01/19/2017 09:56 AM, Måns Rullgård wrote: > Mason <slash....@free.fr> writes: > >> One thing I find confusing... If the 8035 could work with the generic >> PHY driver, what's the point of the at803x.ko driver? > > Almost all Ethernet PHYs support the basic operation defined the by the > standard. Many have additional non-standardised features that require a > specific driver. Interrupts, for example.
Or special initial configuration wrt. (RG)MII modes, and runtime configuration (EEE, link speeds, workarounds), obtaining useful counters etc. The generic PHY driver only deals with the standard MII registers (and just a subset of it actually) while the PHY driver allows you to deal with all the hardware specifics, the whole point behind having both specialization and abstraction. -- Florian