summaryrefslogtreecommitdiff
path: root/include/asm-powerpc/pasemi_dma.h
diff options
context:
space:
mode:
authorOlof Johansson <olof@lixom.net>2008-03-05 12:11:48 -0600
committerOlof Johansson <olof@lixom.net>2008-03-05 12:12:14 -0600
commitafea3278f73c14271ee60ca7593ad74b7a946486 (patch)
treef2a0964c318125eff3199dc387093819d0084760 /include/asm-powerpc/pasemi_dma.h
parent6a2d322e4b81edc2ab35573f1c52f93d1d16eebb (diff)
pasemi_mac: Move RX/TX section enablement to dma_lib
Also stop both rx and tx sections before changing the configuration of the dma device during init. Signed-off-by: Olof Johansson <olof@lixom.net> Acked-by: Jeff Garzik <jgarzik@pobox.com>
Diffstat (limited to 'include/asm-powerpc/pasemi_dma.h')
-rw-r--r--include/asm-powerpc/pasemi_dma.h7
1 files changed, 6 insertions, 1 deletions
diff --git a/include/asm-powerpc/pasemi_dma.h b/include/asm-powerpc/pasemi_dma.h
index b4526ff3a50d..35577b6dec41 100644
--- a/include/asm-powerpc/pasemi_dma.h
+++ b/include/asm-powerpc/pasemi_dma.h
@@ -1,5 +1,5 @@
/*
- * Copyright (C) 2006 PA Semi, Inc
+ * Copyright (C) 2006-2008 PA Semi, Inc
*
* Hardware register layout and descriptor formats for the on-board
* DMA engine on PA Semi PWRficient. Used by ethernet, function and security
@@ -40,6 +40,11 @@ enum {
PAS_DMA_COM_TXSTA = 0x104, /* Transmit Status Register */
PAS_DMA_COM_RXCMD = 0x108, /* Receive Command Register */
PAS_DMA_COM_RXSTA = 0x10c, /* Receive Status Register */
+ PAS_DMA_COM_CFG = 0x114, /* Common config reg */
+ PAS_DMA_TXF_SFLG0 = 0x140, /* Set flags */
+ PAS_DMA_TXF_SFLG1 = 0x144, /* Set flags */
+ PAS_DMA_TXF_CFLG0 = 0x148, /* Set flags */
+ PAS_DMA_TXF_CFLG1 = 0x14c, /* Set flags */
};