Date: Tue, 15 May 2001 14:42:44 -0700 (PDT) From: Bill Paul <wpaul@FreeBSD.org> To: cvs-committers@FreeBSD.org, cvs-all@FreeBSD.org Subject: cvs commit: src/sys/dev/nge if_ngereg.h Message-ID: <200105152142.f4FLgiJ58647@freefall.freebsd.org>
index | next in thread | raw e-mail
wpaul 2001/05/15 14:42:44 PDT
Modified files:
sys/dev/nge if_ngereg.h
Log:
Adjust the descriptor structures a little by making the software parts
be unions with enough padding to make sure they always end up being
a multiple of 8 bytes in size, since the 83820/83821 chips require
descriptors to be aligned on 64-bit boundaries. I happened to get it
right for the 32-bit descriptor/x86 case, but botched everything else.
Things should work properle on 32-bit/64-bit platforms now.
Note that the 64-bit descriptor format isn't being used currently.
Revision Changes Path
1.2 +13 -5 src/sys/dev/nge/if_ngereg.h
To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe cvs-all" in the body of the message
help
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200105152142.f4FLgiJ58647>
