]> git.proxmox.com Git - mirror_ubuntu-disco-kernel.git/commitdiff
Staging: et131x: Eliminate RegistryDMA Cache
authorAlan Cox <alan@linux.intel.com>
Thu, 27 Aug 2009 09:59:37 +0000 (10:59 +0100)
committerGreg Kroah-Hartman <gregkh@suse.de>
Tue, 15 Sep 2009 19:02:27 +0000 (12:02 -0700)
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>
drivers/staging/et131x/et1310_tx.c
drivers/staging/et131x/et131x_adapter.h
drivers/staging/et131x/et131x_config.c

index 0dbb82465c3c7a2a6382d478c65381c6631bdd45..8e8486adda3902aaffb5017c6e51ae49ef7b10b9 100644 (file)
@@ -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);
        }
 
index 70a90b89c92c0468f56b472da664b28d8cee9080..8e811af6d4bfbf69bc047481f665788b747f87ff 100644 (file)
@@ -271,7 +271,6 @@ struct et131x_adapter {
        /* Validation helpers */
        u8 RegistryPMWOL;
        u8 RegistryNMIDisable;
-       u32 RegistryDMACache;
        u32 RegistrySCGain;
        u8 RegistryPhyLoopbk;   /* Enable Phy loopback */
 
index 499cf75bedc971aa18576b97db115b2b85f2e843..628d6ad6b88b0c682b7f1f2746b0970c9d16904c 100644 (file)
@@ -265,7 +265,6 @@ void et131x_config_parse(struct et131x_adapter *etdev)
        else
                etdev->RegistryNMIDisable = PARM_NMI_DISABLE_DEF;
 
-       etdev->RegistryDMACache = PARM_DMA_CACHE_DEF;
        etdev->RegistryPhyLoopbk = PARM_PHY_LOOPBK_DEF;
 
        /* Set the MAC address to a default */