cvs commit: src/sys/dev/dc if_dc.c if_dcreg.h

From: Marcel Moolenaar <marcel_at_FreeBSD.org>
Date: Fri, 2 Dec 2005 01:23:20 +0000 (UTC)
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
Received on Fri Dec 02 2005 - 01:23:21 UTC