]> git.baikalelectronics.ru Git - kernel.git/commit
net: qcom/emac: add support for the Qualcomm Technologies QDF2400
authorTimur Tabi <timur@codeaurora.org>
Thu, 8 Dec 2016 19:24:21 +0000 (13:24 -0600)
committerDavid S. Miller <davem@davemloft.net>
Sat, 10 Dec 2016 03:11:02 +0000 (22:11 -0500)
commitf9e2c8340704d2d36e3aa4f51d859d9062c67389
treed35ca8c893f3e1af1618ba7acbb9abe91863dd77
parentc5fe781b21884b7dde4fb339707e551f2df8c54d
net: qcom/emac: add support for the Qualcomm Technologies QDF2400

The QDF2432 and the QDF2400 have slightly different internal PHYs,
so there are some programming differences.  Some of the registers in
the QDF2400 have moved, and some registers require different values
during initialization.

Because of the differences, and because HIDs are a scare resource,
the ACPI tables specify the hardware version in an _HRV property.
Version 1 is the QDF2432, and version 2 is the QDF2400.  Any future
SOC that has the same internal PHY but different programming
requirements will be assigned the next available version number.

Signed-off-by: Timur Tabi <timur@codeaurora.org>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/ethernet/qualcomm/emac/Makefile
drivers/net/ethernet/qualcomm/emac/emac-sgmii-qdf2400.c [new file with mode: 0644]
drivers/net/ethernet/qualcomm/emac/emac-sgmii.c
drivers/net/ethernet/qualcomm/emac/emac-sgmii.h