net/axgbe: add a HW quirk for register definitions
authorSelwin Sebastian <selwin.sebastian@amd.com>
Mon, 20 Jan 2020 16:42:58 +0000 (22:12 +0530)
committerFerruh Yigit <ferruh.yigit@intel.com>
Mon, 20 Jan 2020 17:02:17 +0000 (18:02 +0100)
commit991e0b1dbc4a3063d254a7ad553f4efd1169b378
tree76c92a7269ae08e649fe6d041e139ceef74c90b4
parenta4feffcfe1604e967a70012078eb80f90463da2e
net/axgbe: add a HW quirk for register definitions

V1000/R1000 processors are using the same PCI ids for the network
device as SNOWYOWL processor but has altered register definitions
for determining the window settings for the indirect PCS access.
Add support to check for this hardware and if found use the new
register values.

Signed-off-by: Selwin Sebastian <selwin.sebastian@amd.com>
Reviewed-by: Ferruh Yigit <ferruh.yigit@intel.com>
drivers/net/axgbe/axgbe_common.h
drivers/net/axgbe/axgbe_ethdev.c