From owner-cvs-all Tue May 15 14:42:49 2001 Delivered-To: cvs-all@freebsd.org Received: from freefall.freebsd.org (freefall.freebsd.org [216.136.204.21]) by hub.freebsd.org (Postfix) with ESMTP id 405A437B422; Tue, 15 May 2001 14:42:44 -0700 (PDT) (envelope-from wpaul@FreeBSD.org) Received: (from wpaul@localhost) by freefall.freebsd.org (8.11.1/8.11.1) id f4FLgiJ58647; Tue, 15 May 2001 14:42:44 -0700 (PDT) (envelope-from wpaul) Message-Id: <200105152142.f4FLgiJ58647@freefall.freebsd.org> From: Bill Paul Date: Tue, 15 May 2001 14:42:44 -0700 (PDT) To: cvs-committers@FreeBSD.org, cvs-all@FreeBSD.org Subject: cvs commit: src/sys/dev/nge if_ngereg.h X-FreeBSD-CVS-Branch: HEAD Sender: owner-cvs-all@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG 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