Source-Changes archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

CVS commit: src/sys



Module Name:    src
Committed By:   lloyd
Date:           Tue Oct 15 00:58:15 UTC 2024

Modified Files:
        src/sys/arch/arm/xilinx: zynq_cemac.c
        src/sys/dev/cadence: if_cemac.c if_cemacvar.h

Log Message:
Allow non-Realtek PHYs to be used with Zynq SoCs.

The cemac driver used to skip the first PHY found in order to work
around a bug where Realtek PHYs attached to a cemac Ethernet would
report at PHY numbers 0 and 1. Unfortunately if you don't have this
bug, then your only PHY would get skipped.

The Zynq FDT always has a working PHY number recorded in it, so we now
simply use that number (if present) instead of searching for all
available PHYs.


To generate a diff of this commit:
cvs rdiff -u -r1.9 -r1.10 src/sys/arch/arm/xilinx/zynq_cemac.c
cvs rdiff -u -r1.44 -r1.45 src/sys/dev/cadence/if_cemac.c
cvs rdiff -u -r1.6 -r1.7 src/sys/dev/cadence/if_cemacvar.h

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.




Home | Main Index | Thread Index | Old Index