diff options
author | Giuseppe CAVALLARO <peppe.cavallaro@st.com> | 2016-06-24 13:16:24 (GMT) |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2016-06-28 12:54:23 (GMT) |
commit | 70523e639bf8ca09b3357371c3546cee55c06351 (patch) | |
tree | 5e54e3884e7269febca967aeeb9c31c8c54ab160 /Kconfig | |
parent | a5e4bd991362223346e1d3561e61d7a25797fe25 (diff) | |
download | linux-70523e639bf8ca09b3357371c3546cee55c06351.tar.xz |
drivers: net: stmmac: reworking the PCS code.
The 3.xx and 4.xx synopsys gmacs have a very similar
PCS embedded module and they share almost the same registers:
for example:
AN_Control, AN_Status, AN_Advertisement, AN_Link_Partner_Ability,
AN_Expansion, TBI_Extended_Status.
Just the RGMII/SMII Control/Status register differs.
So This patch aims to reorganize and enhance the PCS support.
It removes the existent support from the dwmac1000/dwmac4_core.c
moving basic PCS functions inside a new file called: stmmac_pcs.h.
The patch also reviews the available APIs to be better shared among
different hardware and easily enhanced to support new features.
Signed-off-by: Giuseppe Cavallaro <peppe.cavallaro@st.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'Kconfig')
0 files changed, 0 insertions, 0 deletions