From owner-cvs-all Fri Jul 23 11:48:26 1999 Delivered-To: cvs-all@freebsd.org Received: from freefall.freebsd.org (freefall.FreeBSD.ORG [204.216.27.21]) by hub.freebsd.org (Postfix) with ESMTP id BB6B714F6D; Fri, 23 Jul 1999 11:48:19 -0700 (PDT) (envelope-from wpaul@FreeBSD.org) Received: (from wpaul@localhost) by freefall.freebsd.org (8.9.3/8.9.2) id LAA84996; Fri, 23 Jul 1999 11:46:28 -0700 (PDT) (envelope-from wpaul@FreeBSD.org) Message-Id: <199907231846.LAA84996@freefall.freebsd.org> From: Bill Paul Date: Fri, 23 Jul 1999 11:46:27 -0700 (PDT) To: cvs-committers@FreeBSD.org, cvs-all@FreeBSD.org Subject: cvs commit: src/sys/pci if_ti.c if_tireg.h Sender: owner-cvs-all@FreeBSD.ORG Precedence: bulk wpaul 1999/07/23 11:46:27 PDT Modified files: sys/pci if_ti.c if_tireg.h Log: Clean up the buffer allocation code a bit. Make sure to initialize certain critical mbuf fields to sane values. Simplify the use of ETHER_ALIGN to enforce payload alignment, and turn it on on the x86 as well as alpha since it helps with NFS which wants the payload to be longword aligned even though the hardware doesn't require it. This fixes a problem with the ti driver causing an unaligned access trap on the Alpha due to m_adj() sometimes not setting the alignment correctly because of incomplete mbuf initialization. Revision Changes Path 1.12 +29 -19 src/sys/pci/if_ti.c 1.8 +3 -10 src/sys/pci/if_tireg.h To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe cvs-all" in the body of the message