Module Name: src Committed By: dyoung Date: Thu Aug 27 20:23:32 UTC 2009
Modified Files: src/sys/dev/ic: tulipreg.h Log Message: Make descriptors packed w/ 4-byte alignment. To generate a diff of this commit: cvs rdiff -u -r1.34 -r1.35 src/sys/dev/ic/tulipreg.h Please note that diffs are not public domain; they are subject to the copyright notices on the relevant files.
Modified files: Index: src/sys/dev/ic/tulipreg.h diff -u src/sys/dev/ic/tulipreg.h:1.34 src/sys/dev/ic/tulipreg.h:1.35 --- src/sys/dev/ic/tulipreg.h:1.34 Mon Apr 28 20:23:51 2008 +++ src/sys/dev/ic/tulipreg.h Thu Aug 27 20:23:32 2009 @@ -1,4 +1,4 @@ -/* $NetBSD: tulipreg.h,v 1.34 2008/04/28 20:23:51 martin Exp $ */ +/* $NetBSD: tulipreg.h,v 1.35 2009/08/27 20:23:32 dyoung Exp $ */ /*- * Copyright (c) 1999, 2000 The NetBSD Foundation, Inc. @@ -158,7 +158,7 @@ volatile u_int32_t td_ctl; /* Control and Byte Counts */ volatile u_int32_t td_bufaddr1; /* Buffer Address 1 */ volatile u_int32_t td_bufaddr2; /* Buffer Address 2 */ -}; +} __packed __aligned(4); /* * Descriptor Status bits common to transmit and receive.