summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--sys/arch/sgi/dev/if_iecreg.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/sys/arch/sgi/dev/if_iecreg.h b/sys/arch/sgi/dev/if_iecreg.h
index e43509e399a..4e4b8efbce2 100644
--- a/sys/arch/sgi/dev/if_iecreg.h
+++ b/sys/arch/sgi/dev/if_iecreg.h
@@ -1,4 +1,4 @@
-/* $OpenBSD: if_iecreg.h,v 1.1 2009/11/01 19:34:02 miod Exp $ */
+/* $OpenBSD: if_iecreg.h,v 1.2 2009/11/03 18:46:00 miod Exp $ */
/*
* Copyright (c) 2009 Miodrag Vallat.
@@ -27,7 +27,7 @@
#define IEC_NRXDESC_MAX 512
#define IEC_RXDESCSIZE (13 * 128) /* should be 128byte aligned. */
-#define IEC_RXD_BUFOFFSET (64)
+#define IEC_RXD_BUFOFFSET (64 + 2) /* to align Ethernet header */
#define IEC_RXD_NRXPAD (IEC_RXD_BUFOFFSET - 2 * sizeof(uint32_t))
#define IEC_RXD_BUFSIZE (IEC_RXDESCSIZE - IEC_RXD_BUFOFFSET)