Date: Fri, 23 Jul 1999 11:46:27 -0700 (PDT) From: Bill Paul <wpaul@FreeBSD.org> To: cvs-committers@FreeBSD.org, cvs-all@FreeBSD.org Subject: cvs commit: src/sys/pci if_ti.c if_tireg.h Message-ID: <199907231846.LAA84996@freefall.freebsd.org>
next in thread | raw e-mail | index | archive | help
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
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?199907231846.LAA84996>