dc543f1c56
port, copy SROM information from base softc as well and run SROM parser again. This change is necessary for some dual port controllers to make dc(4) correctly detect PHY media based on first port configuration table. While I'm here add a check for validity of the base softc before duplicating SROM contents from base softc. If driver failed to attach to the first port it can access invalid area. PR: kern/79262 Reviewed by: marius |
||
---|---|---|
.. | ||
dcphy.c | ||
if_dc.c | ||
if_dcreg.h | ||
pnphy.c |