Date: Fri, 2 Dec 2005 01:23:20 +0000 (UTC) From: Marcel Moolenaar <marcel@FreeBSD.org> To: src-committers@FreeBSD.org, cvs-src@FreeBSD.org, cvs-all@FreeBSD.org Subject: cvs commit: src/sys/dev/dc if_dc.c if_dcreg.h Message-ID: <200512020123.jB21NKVD002065@repoman.freebsd.org>
next in thread | raw e-mail | index | archive | help
marcel 2005-12-02 01:23:20 UTC
FreeBSD src repository
Modified files:
sys/dev/dc if_dc.c if_dcreg.h
Log:
Fix the misalignment bugs differently than was done in the previous
commit. Copy the ethernet address into a local buffer, which we know
is sufficiently aligned for the width of the memory accesses that we
do. This also eliminates all suspicious and potentionally harmful
casts.
In collaboration with: ru
Revision Changes Path
1.174 +31 -21 src/sys/dev/dc/if_dc.c
1.47 +2 -2 src/sys/dev/dc/if_dcreg.h
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200512020123.jB21NKVD002065>
