cvs commit: src/sys/dev/dc if_dc.c if_dcreg.h
Marcel Moolenaar
marcel at FreeBSD.org
Fri Dec 2 01:23:21 GMT 2005
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
More information about the cvs-src
mailing list