aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/staging/et131x/et1310_tx.c
diff options
context:
space:
mode:
authorAlan Cox <alan@linux.intel.com>2009-08-27 10:59:37 +0100
committerGreg Kroah-Hartman <gregkh@suse.de>2009-09-15 12:02:27 -0700
commit3bc9da3ed44c7abee310b3c4761845cb0e9bae60 (patch)
tree9aec5939da0a1abf36314f5142e4206db693afd5 /drivers/staging/et131x/et1310_tx.c
parentStaging: et131x: CSRAddress to regs (diff)
downloadlinux-dev-3bc9da3ed44c7abee310b3c4761845cb0e9bae60.tar.xz
linux-dev-3bc9da3ed44c7abee310b3c4761845cb0e9bae60.zip
Staging: et131x: Eliminate RegistryDMA Cache
One writer, of a constant, one user .. it can go. Signed-off-by: Alan Cox <alan@linux.intel.com> Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
Diffstat (limited to 'drivers/staging/et131x/et1310_tx.c')
-rw-r--r--drivers/staging/et131x/et1310_tx.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/staging/et131x/et1310_tx.c b/drivers/staging/et131x/et1310_tx.c
index 0dbb82465c3c..8e8486adda39 100644
--- a/drivers/staging/et131x/et1310_tx.c
+++ b/drivers/staging/et131x/et1310_tx.c
@@ -315,7 +315,7 @@ void et131x_tx_dma_enable(struct et131x_adapter *etdev)
*/
csr.bits.sngl_epkt_mode = 1;
csr.bits.halt = 0;
- csr.bits.cache_thrshld = etdev->RegistryDMACache;
+ csr.bits.cache_thrshld = PARM_DMA_CACHE_DEF;
writel(csr.value, &etdev->regs->txdma.csr.value);
}