aboutsummaryrefslogtreecommitdiff
path: root/lib/libe1k
diff options
context:
space:
mode:
authorAvik Sil <aviksil@linux.vnet.ibm.com>2013-11-17 16:22:03 +0530
committerAvik Sil <aviksil@linux.vnet.ibm.com>2013-11-17 16:22:03 +0530
commit69d32fe332662829d16c7130935d38c220c81d9b (patch)
tree48a205bd49766b6ad0ffb9cff242aa677c5b3fd8 /lib/libe1k
parent7970ccc0dcfa79c70ffccc5d7bb8b4304c72848b (diff)
downloadSLOF-69d32fe332662829d16c7130935d38c220c81d9b.zip
SLOF-69d32fe332662829d16c7130935d38c220c81d9b.tar.gz
SLOF-69d32fe332662829d16c7130935d38c220c81d9b.tar.bz2
e1000: fix SLOF_dma_map_out arguments
Signed-off-by: Avik Sil <aviksil@linux.vnet.ibm.com>
Diffstat (limited to 'lib/libe1k')
-rw-r--r--lib/libe1k/e1k.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/libe1k/e1k.c b/lib/libe1k/e1k.c
index 2dd2a26..0e9f3ca 100644
--- a/lib/libe1k/e1k.c
+++ b/lib/libe1k/e1k.c
@@ -931,7 +931,7 @@ e1k_term(void)
/*
* Disable DMA translation
*/
- SLOF_dma_map_out((long)&m_e1k, (void *)virt2dma(&m_e1k), (long)sizeof(m_e1k));
+ SLOF_dma_map_out((long)virt2dma(&m_e1k), (void *)&m_e1k, (long)sizeof(m_e1k));
#ifdef E1K_DEBUG
printf("done.\n");