cvs commit: src/sys/pci if_rl.c

Pyun YongHyeon yongari at FreeBSD.org
Thu Dec 21 04:57:07 PST 2006


yongari     2006-12-21 12:57:06 UTC

  FreeBSD src repository

  Modified files:        (Branch: RELENG_6)
    sys/pci              if_rl.c 
  Log:
  MFC if_rl.c, 1.166 to RELENG_6.
    Don't assume IF_LLADDR returns aligned memory address.
    Because accessing ID registers in rtl81x9 needs 32bit register access
    and RL_IDR6/RL_IDR7 registers are reservered registers bzero() is
    needed before copying ethernet address.
    This fixes unaligned memory accesses panic in sparc64.
  
  Revision   Changes    Path
  1.152.2.7  +5 -4      src/sys/pci/if_rl.c


More information about the cvs-src mailing list