summaryrefslogtreecommitdiff
path: root/include/ppc4xx_enet.h
diff options
context:
space:
mode:
authorStefan Roese <sr@denx.de>2007-10-31 18:01:24 +0100
committerStefan Roese <sr@denx.de>2007-10-31 21:21:47 +0100
commitff768cb168d8157c24a25016dbfbeb465e47f420 (patch)
tree615aa7829555707aea641c26a369e88183adb495 /include/ppc4xx_enet.h
parent483e09a223c666269ef81d3573a6591b1046b0ef (diff)
downloadu-boot-imx-ff768cb168d8157c24a25016dbfbeb465e47f420.zip
u-boot-imx-ff768cb168d8157c24a25016dbfbeb465e47f420.tar.gz
u-boot-imx-ff768cb168d8157c24a25016dbfbeb465e47f420.tar.bz2
ppc4xx: Change 4xx ethernet driver to handle cached memory too
This patch enables the 4xx EMAC driver to work too, when dcache is enabled. Signed-off-by: Stefan Roese <sr@denx.de>
Diffstat (limited to 'include/ppc4xx_enet.h')
-rw-r--r--include/ppc4xx_enet.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/include/ppc4xx_enet.h b/include/ppc4xx_enet.h
index 76c1d12..f285500 100644
--- a/include/ppc4xx_enet.h
+++ b/include/ppc4xx_enet.h
@@ -102,6 +102,8 @@ typedef struct emac_4xx_hw_st {
uint32_t emac_ier;
volatile mal_desc_t *tx;
volatile mal_desc_t *rx;
+ u32 tx_phys;
+ u32 rx_phys;
bd_t *bis; /* for eth_init upon mal error */
mal_desc_t *alloc_tx_buf;
mal_desc_t *alloc_rx_buf;