summaryrefslogtreecommitdiff
path: root/sys
diff options
context:
space:
mode:
authorArtur Grabowski <art@cvs.openbsd.org>2002-05-10 15:50:56 +0000
committerArtur Grabowski <art@cvs.openbsd.org>2002-05-10 15:50:56 +0000
commit56af2289f45b5f456a1067423dd145ba136859ae (patch)
treeb4c92401233b05ef9620682e83f2f2ae77f963a7 /sys
parent7296c24b25daa7d6cf28350cc01bee9cc79c8e4a (diff)
What we store on all archs just before the rfa is a pointer
to a bus_dmamap_t, not a bus_dmamap_t (just a cosmetic change, bus_dmamap_t is a pointer on all archs, but this was confusing)
Diffstat (limited to 'sys')
-rw-r--r--sys/dev/ic/fxp.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/sys/dev/ic/fxp.c b/sys/dev/ic/fxp.c
index 9200f5fa05b..786676070c2 100644
--- a/sys/dev/ic/fxp.c
+++ b/sys/dev/ic/fxp.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: fxp.c,v 1.33 2002/03/15 22:15:09 art Exp $ */
+/* $OpenBSD: fxp.c,v 1.34 2002/05/10 15:50:55 art Exp $ */
/* $NetBSD: if_fxp.c,v 1.2 1997/06/05 02:01:55 thorpej Exp $ */
/*
@@ -102,7 +102,7 @@
* aligns the packet after the Ethernet header at a 32-bit
* boundary. HOWEVER! This means that the RFA is misaligned!
*/
-#define RFA_ALIGNMENT_FUDGE (2 + sizeof(bus_dmamap_t))
+#define RFA_ALIGNMENT_FUDGE (2 + sizeof(bus_dmamap_t *))
/*
* Inline function to copy a 16-bit aligned 32-bit quantity.