Date: Fri, 14 Jan 2011 20:26:59 +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: <201101142027.p0EKRNrL035853@repoman.freebsd.org>
next in thread | raw e-mail | index | archive | help
marius 2011-01-14 20:26:59 UTC
FreeBSD src repository
Modified files:
sys/dev/dc dcphy.c pnphy.c
Log:
SVN rev 217417 on 2011-01-14 20:26:59Z by marius
- 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.
MFC after: 1 week
Revision Changes Path
1.40 +3 -8 src/sys/dev/dc/dcphy.c
1.28 +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?201101142027.p0EKRNrL035853>
