cvs commit: src/sys/pci if_rl.c
Pyun YongHyeon
yongari at FreeBSD.org
Sun Dec 17 17:38:10 PST 2006
yongari 2006-12-18 01:38:10 UTC
FreeBSD src repository
Modified files:
sys/pci if_rl.c
Log:
Don't assume IF_LLADDR returns aligned memory address.
Because accessing ID registers in rtl81x9 needs 32bit register access
and RL_IDR4/RL_IDR5 registers are reservered registers bzero() is
needed before copying ethernet address.
This fixes unaligned memory accesses panic in sparc64.
PR: kern/106801
MFC after: 3 days
Revision Changes Path
1.166 +5 -4 src/sys/pci/if_rl.c
More information about the cvs-src
mailing list