diff options
author | Lendacky, Thomas <Thomas.Lendacky@amd.com> | 2017-06-28 13:43:18 -0500 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2017-06-29 15:14:19 -0400 |
commit | 7e1e6b86a5d96ca13834fbc6b6e54a9228f308e1 (patch) | |
tree | c53ead63dc615f9f12b00300ae3a12c871b31dc6 /drivers/base/platform-msi.c | |
parent | 9916716a1bb677be8371f602f53989bf04a70d7f (diff) | |
download | linux-7e1e6b86a5d96ca13834fbc6b6e54a9228f308e1.tar.bz2 |
amd-xgbe: Simplify the burst length settings
Currently the driver hardcodes the PBLx8 setting. Remove the need for
specifying the PBLx8 setting and automatically calculate based on the
specified PBL value. Since the PBLx8 setting applies to both Tx and Rx
use the same PBL value for both of them.
Also, the driver currently uses a bit field to set the AXI master burst
len setting. Change to the full bit field range and set the burst length
based on the specified value.
Signed-off-by: Tom Lendacky <thomas.lendacky@amd.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'drivers/base/platform-msi.c')
0 files changed, 0 insertions, 0 deletions