Date: Wed, 12 Mar 2008 16:32:08 +0000 (UTC) From: Rafal Jaworowski <raj@FreeBSD.org> To: src-committers@FreeBSD.org, cvs-src@FreeBSD.org, cvs-all@FreeBSD.org Subject: 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 Message-ID: <200803121632.m2CGW80h076545@repoman.freebsd.org>
next in thread | raw e-mail | index | archive | help
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
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200803121632.m2CGW80h076545>