diff options
author | Ard Biesheuvel <ard.biesheuvel@linaro.org> | 2016-05-14 22:40:15 +0200 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2016-05-17 14:31:09 -0400 |
commit | 27896c83fe94e2190f121a2fdbffffbf1d83d573 (patch) | |
tree | 41c57b6171dd4d4a863078a65b31f1a6933a58d4 /Documentation/hwmon | |
parent | 81003bc924bac0a99bfdc2869f5dff5a87aa4a3d (diff) |
r8169: default to 64-bit DMA on recent PCIe chips
The current logic around the 'use_dac' module parameter prevents the
r81969 driver from being loadable on 64-bit systems without any RAM
below 4 GB when the parameter is left at its default value.
So introduce a new default value -1 which indicates that 64-bit DMA
should be enabled on sufficiently recent PCIe chips, i.e., versions
RTL_GIGA_MAC_VER_18 or later. Explicit param values of 0 or 1 retain
the existing behavior of unconditionally enabling/disabling 64-bit DMA
on 64-bit architectures (i.e., regardless of the type and version of the
chip)
Since PCIe chips do not need to CPlusCmd Dual Address Cycle to be set,
make that conditional on the device type as well.
Cc: Realtek linux nic maintainers <nic_swsd@realtek.com>
Signed-off-by: Ard Biesheuvel <ard.biesheuvel@linaro.org>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'Documentation/hwmon')
0 files changed, 0 insertions, 0 deletions