cvs commit: src/sys/powerpc/booke machdep.c src/sys/powerpc/include
bootinfo.h ocpbus.h src/sys/powerpc/mpc85xx ocpbus.c
src/sys/dev/tsec if_tsec.c
Rafal Jaworowski
raj at FreeBSD.org
Wed Mar 12 16:32:08 UTC 2008
raj 2008-03-12 16:32:08 UTC
FreeBSD src repository
Modified files:
sys/powerpc/booke machdep.c
sys/powerpc/include bootinfo.h ocpbus.h
sys/powerpc/mpc85xx ocpbus.c
sys/dev/tsec if_tsec.c
Log:
Obtain TSEC h/w address from the parent bus (OCP) and not rely blindly on what
might be currently programmed into the registers.
Underlying firmware (U-Boot) would typically program MAC address into the
first unit only, and others are left uninitialized. It is now possible to
retrieve and program MAC address for all units properly, provided they were
passed on in the bootinfo metadata.
Reviewed by: imp, marcel
Approved by: cognet (mentor)
Revision Changes Path
1.2 +14 -10 src/sys/dev/tsec/if_tsec.c
1.3 +24 -1 src/sys/powerpc/booke/machdep.c
1.11 +3 -0 src/sys/powerpc/include/bootinfo.h
1.2 +1 -0 src/sys/powerpc/include/ocpbus.h
1.5 +9 -0 src/sys/powerpc/mpc85xx/ocpbus.c
More information about the cvs-src
mailing list