diff options
author | Ray Jui <ray.jui@broadcom.com> | 2016-10-31 17:38:30 -0700 |
---|---|---|
committer | Bjorn Helgaas <bhelgaas@google.com> | 2016-11-14 15:41:44 -0600 |
commit | 06324ede76cdf895b3b0bf590775d746a61c7668 (patch) | |
tree | df661ed9946a1741aee6640acf1617dffee09612 /include/net/red.h | |
parent | 1001354ca34179f3db924eb66672442a173147dc (diff) | |
download | linux-stable-06324ede76cdf895b3b0bf590775d746a61c7668.tar.gz linux-stable-06324ede76cdf895b3b0bf590775d746a61c7668.tar.bz2 linux-stable-06324ede76cdf895b3b0bf590775d746a61c7668.zip |
PCI: iproc: Improve core register population
As the number of iProc PCIe core registers starts to grow and differ
between different revisions of the iProc PCIe controllers, the
current way of populating each individual unsupported register with
value 'IPROC_PCIE_REG_INVALID' with a table entry has become a bit
messy and is difficult to scale up in the future.
Improve the current driver by populating the invalid entries with code
instead of through individual table entries. This helps to avoid a
significant number of invalid table entries when support for the next
revision of the iProc controller is added.
Signed-off-by: Ray Jui <ray.jui@broadcom.com>
Signed-off-by: Bjorn Helgaas <bhelgaas@google.com>
Reviewed-by: Scott Branden <scott.branden@broadcom.com>
Diffstat (limited to 'include/net/red.h')
0 files changed, 0 insertions, 0 deletions