Date: Fri, 21 Jan 2011 00:53:37 +0000 (UTC) From: Marius Strobl <marius@FreeBSD.org> To: cvs-src-old@freebsd.org Subject: cvs commit: src/sys/dev/dc dcphy.c pnphy.c Message-ID: <201101210053.p0L0rpa9066520@repoman.freebsd.org>
next in thread | raw e-mail | index | archive | help
marius 2011-01-21 00:53:37 UTC
FreeBSD src repository
Modified files: (Branch: RELENG_7)
sys/dev/dc dcphy.c pnphy.c
Log:
SVN rev 217677 on 2011-01-21 00:53:37Z by marius
MFC: r217417
- Even after masking the media with IFM_GMASK the result may have bits
besides the duplex ones set so just comparing it with IFM_FDX may lead
to false negatives.
- Just let the default case handle all unsupported media types.
- In pnphy_status() don't unnecessarily read a register twice.
- Remove unnused macros.
Revision Changes Path
1.32.2.7 +3 -8 src/sys/dev/dc/dcphy.c
1.21.2.7 +8 -21 src/sys/dev/dc/pnphy.c
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201101210053.p0L0rpa9066520>
