amd-xgbe: Add a hardware quirk for register definitions
authorLendacky, Thomas <Thomas.Lendacky@amd.com>
Fri, 20 Jan 2017 18:14:03 +0000 (12:14 -0600)
committerDavid S. Miller <davem@davemloft.net>
Sun, 22 Jan 2017 21:57:14 +0000 (16:57 -0500)
commit4eccbfc36186926b570310bfbd44f4216cd05c63
tree4b0e3be4231c5289606fc604e86dcc4c3c52cc56
parentb6677449dff674cf5b81429b11d5c7f358852ef9
amd-xgbe: Add a hardware quirk for register definitions

A newer version of the hardware is using the same PCI ids for the network
device 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: Tom Lendacky <thomas.lendacky@amd.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/ethernet/amd/xgbe/xgbe-common.h
drivers/net/ethernet/amd/xgbe/xgbe-dev.c
drivers/net/ethernet/amd/xgbe/xgbe-pci.c
drivers/net/ethernet/amd/xgbe/xgbe.h