Date: Fri, 21 Jan 2011 00:53:32 +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.p0L0rjql066499@repoman.freebsd.org>
next in thread | raw e-mail | index | archive | help
marius 2011-01-21 00:53:32 UTC
FreeBSD src repository
Modified files: (Branch: RELENG_8)
sys/dev/dc dcphy.c pnphy.c
Log:
SVN rev 217676 on 2011-01-21 00:53:32Z 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.35.2.6 +3 -8 src/sys/dev/dc/dcphy.c
1.23.2.6 +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.p0L0rjql066499>
