Date: Fri, 18 Feb 2011 02:14:53 +0000 (UTC) From: Pyun YongHyeon <yongari@FreeBSD.org> To: cvs-src-old@freebsd.org Subject: cvs commit: src/sys/dev/dc if_dc.c Message-ID: <201102180215.p1I2FCeA086722@repoman.freebsd.org>
index | next in thread | raw e-mail
yongari 2011-02-18 02:14:53 UTC
FreeBSD src repository
Modified files:
sys/dev/dc if_dc.c
Log:
SVN rev 218787 on 2011-02-18 02:14:53Z by yongari
When driver have to use base softc due to lack of SROM on second
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
Revision Changes Path
1.207 +37 -2 src/sys/dev/dc/if_dc.c
help
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201102180215.p1I2FCeA086722>
