summaryrefslogtreecommitdiffstats
path: root/sys/dev/em/if_em.h
diff options
context:
space:
mode:
authorpdeuskar <pdeuskar@FreeBSD.org>2003-05-03 07:35:47 +0000
committerpdeuskar <pdeuskar@FreeBSD.org>2003-05-03 07:35:47 +0000
commit53c33bd230087a300fe957b1f37af59d3aa11b94 (patch)
tree522ee0666cca49262b5933ebcfebc222da70cf2a /sys/dev/em/if_em.h
parent3644496d4a96572e57603747cc4d0f92a8d3556a (diff)
downloadFreeBSD-src-53c33bd230087a300fe957b1f37af59d3aa11b94.zip
FreeBSD-src-53c33bd230087a300fe957b1f37af59d3aa11b94.tar.gz
- Fix breakage on PAE enabled kernel
- Don't use vtophys when you can get physical address using bus_dma API Submitted by: jake (Jake Burkholder)
Diffstat (limited to 'sys/dev/em/if_em.h')
-rw-r--r--sys/dev/em/if_em.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/sys/dev/em/if_em.h b/sys/dev/em/if_em.h
index 99011c6..9cf1379 100644
--- a/sys/dev/em/if_em.h
+++ b/sys/dev/em/if_em.h
@@ -282,7 +282,7 @@ struct em_q {
* em_dma_malloc and em_dma_free.
*/
struct em_dma_alloc {
- u_int32_t dma_paddr;
+ bus_addr_t dma_paddr;
caddr_t dma_vaddr;
bus_dma_tag_t dma_tag;
bus_dmamap_t dma_map;
OpenPOWER on IntegriCloud