<feed xmlns='http://www.w3.org/2005/Atom'>
<title>src-test2/sys/dev/dc/dcphy.c, branch stable/7</title>
<subtitle>FreeBSD source tree</subtitle>
<id>https://cgit-dev.freebsd.org/src-test2/atom?h=stable%2F7</id>
<link rel='self' href='https://cgit-dev.freebsd.org/src-test2/atom?h=stable%2F7'/>
<link rel='alternate' type='text/html' href='https://cgit-dev.freebsd.org/src-test2/'/>
<updated>2011-09-11T20:25:57Z</updated>
<entry>
<title>MFC: r221407 (partial)</title>
<updated>2011-09-11T20:25:57Z</updated>
<author>
<name>Marius Strobl</name>
<email>marius@FreeBSD.org</email>
</author>
<published>2011-09-11T20:25:57Z</published>
<link rel='alternate' type='text/html' href='https://cgit-dev.freebsd.org/src-test2/commit/?id=99e4ce3e7b07bcdeca71fdffa04401cb54e795aa'/>
<id>urn:sha1:99e4ce3e7b07bcdeca71fdffa04401cb54e795aa</id>
<content type='text'>
- Let mii_phy_add_media() also announce the support of IFM_NONE.
- Add a PHY-specific reset routine is for lxtphy(4) which disables MII
  interrupts.
- Remove redundant checks in NIC drivers for mii-&gt;mii_instance not being
  zero before calling the reset routines because as soon as one PHY driver
  attaches mii-&gt;mii_instance is incremented and we hardly can end up in
  their media change callbacks etc if no PHY driver has attached as
  mii_attach() would have failed in that case and not attach a miibus(4)
  instance.
- Convert the mebers of the MII data structure to unsigned where
  appropriate. This is partly inspired by NetBSD/OpenBSD.
- Add MIIF_NOMANPAUSE and mii_phy_flowstatus() calls to drivers that
  weren't explicitly converted to support flow control before. It's
  unclear whether flow control actually works with these but typically
  it should and their net behavior should be more correct with these
  changes in place than without if the MAC driver sets MIIF_DOPAUSE.

Obtained from:	NetBSD (partially)
</content>
</entry>
<entry>
<title>MFC: r217417</title>
<updated>2011-01-21T00:53:37Z</updated>
<author>
<name>Marius Strobl</name>
<email>marius@FreeBSD.org</email>
</author>
<published>2011-01-21T00:53:37Z</published>
<link rel='alternate' type='text/html' href='https://cgit-dev.freebsd.org/src-test2/commit/?id=87493022c00a4a86ed6c4012de9fb27e4a8f2f51'/>
<id>urn:sha1:87493022c00a4a86ed6c4012de9fb27e4a8f2f51</id>
<content type='text'>
- 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.
</content>
</entry>
<entry>
<title>MFC: r213384</title>
<updated>2010-10-24T13:42:03Z</updated>
<author>
<name>Marius Strobl</name>
<email>marius@FreeBSD.org</email>
</author>
<published>2010-10-24T13:42:03Z</published>
<link rel='alternate' type='text/html' href='https://cgit-dev.freebsd.org/src-test2/commit/?id=afe353da1ec684bab95b0a511a55fce03e1ea626'/>
<id>urn:sha1:afe353da1ec684bab95b0a511a55fce03e1ea626</id>
<content type='text'>
Consistently always explicitly set IFM_HDX for half-duplex.

Obtained from:	OpenBSD (mostly)
</content>
</entry>
<entry>
<title>MFC: r213364</title>
<updated>2010-10-24T13:39:26Z</updated>
<author>
<name>Marius Strobl</name>
<email>marius@FreeBSD.org</email>
</author>
<published>2010-10-24T13:39:26Z</published>
<link rel='alternate' type='text/html' href='https://cgit-dev.freebsd.org/src-test2/commit/?id=079faf2109d575402f4ab1ac8c90b173bdbbbf24'/>
<id>urn:sha1:079faf2109d575402f4ab1ac8c90b173bdbbbf24</id>
<content type='text'>
- In the spirit of previous simplifications factor out the checks for a
  different PHY instance being selected and isolation out into the wrappers
  around the service methods rather than duplicating them over and over
  again (besides, a PHY driver shouldn't need to care about which instance
  it actually is).
- Centralize the check for the need to isolate a non-zero PHY instance not
  supporting isolation in mii_mediachg() and just ignore it rather than
  panicing, which should sufficient given that a) things are likely to
  just work anyway if one doesn't plug in more than one port at a time and
  b) refusing to attach in this case just leaves us in a unknown but most
  likely also not exactly correct configuration (besides several drivers
  setting MIIF_NOISOLATE didn't care about these anyway, probably due to
  setting this flag for no real reason).
- Minor fixes like removing unnecessary setting of sc-&gt;mii_anegticks,
  using sc-&gt;mii_anegticks instead of hardcoded values etc.
</content>
</entry>
<entry>
<title>MFC: r213229</title>
<updated>2010-10-17T12:30:01Z</updated>
<author>
<name>Marius Strobl</name>
<email>marius@FreeBSD.org</email>
</author>
<published>2010-10-17T12:30:01Z</published>
<link rel='alternate' type='text/html' href='https://cgit-dev.freebsd.org/src-test2/commit/?id=127507f415ca1b93e01b87bef2934c34b2118d59'/>
<id>urn:sha1:127507f415ca1b93e01b87bef2934c34b2118d59</id>
<content type='text'>
Use the mii_data provided via mii_attach_args and mii_pdata respectively
instead of reaching out for the softc of the parent.
</content>
</entry>
<entry>
<title>MFC: r190117</title>
<updated>2009-03-22T22:08:30Z</updated>
<author>
<name>Marius Strobl</name>
<email>marius@FreeBSD.org</email>
</author>
<published>2009-03-22T22:08:30Z</published>
<link rel='alternate' type='text/html' href='https://cgit-dev.freebsd.org/src-test2/commit/?id=23027986a5dff811a6be8e1276cd29725a03d14c'/>
<id>urn:sha1:23027986a5dff811a6be8e1276cd29725a03d14c</id>
<content type='text'>
- Set MIIF_NOLOOP and don't add IFM_LOOP as loopback apparently isn't
  supported with these pseudo-PHYs. The MIIF_NOLOOP flag currently triggers
  nothing but hopefully will be respected by mii_phy_setmedia() later on.
- Don't add IFM_NONE as isolation isn't supported by these pseudo-PHYs.
- Use mii_phy_add_media() instead of mii_add_media() so the latter can
  be eventually retired.
</content>
</entry>
<entry>
<title>MFC: r183505</title>
<updated>2009-03-19T15:16:05Z</updated>
<author>
<name>Marius Strobl</name>
<email>marius@FreeBSD.org</email>
</author>
<published>2009-03-19T15:16:05Z</published>
<link rel='alternate' type='text/html' href='https://cgit-dev.freebsd.org/src-test2/commit/?id=f6dc6d1b8b98248ab410e605b398b230421ea0e6'/>
<id>urn:sha1:f6dc6d1b8b98248ab410e605b398b230421ea0e6</id>
<content type='text'>
cosmetic changes and style fixes
</content>
</entry>
<entry>
<title>MFC fix for IEEE 802.3 compliance of auto-negotiation process.</title>
<updated>2008-02-03T04:12:06Z</updated>
<author>
<name>Pyun YongHyeon</name>
<email>yongari@FreeBSD.org</email>
</author>
<published>2008-02-03T04:12:06Z</published>
<link rel='alternate' type='text/html' href='https://cgit-dev.freebsd.org/src-test2/commit/?id=97096c313d42d07b4ca1d5b14f99afa1cfcf303b'/>
<id>urn:sha1:97096c313d42d07b4ca1d5b14f99afa1cfcf303b</id>
<content type='text'>
  IEEE 802.3 Annex 28B.3 explicitly specifies the following relative
  priorities of the technologies supported by 802.3 Selector Field
  value.

  1000BASE-T full duplex
  1000BASE-T
  100BASE-T2 full duplex
  100BASE-TX full duplex
  100BASE-T2
  100BASE-T4
  100BASE-TX
  10BASE-T full duplex
  10BAST-T

  However PHY drivers didn't honor the order such that 100BASE-T4 had
  higher priority than 100BASE-TX full duplex. Fix that long standing
  bugs such that have PHY drivers choose the highest common denominator
  ability.
  Fix a bug in dcphy which inadvertently aceepts 100BASE-T4.

  PR:	92599
</content>
</entry>
<entry>
<title>Replace hard-coded magic constants to system defined constants</title>
<updated>2006-08-02T05:28:52Z</updated>
<author>
<name>Pyun YongHyeon</name>
<email>yongari@FreeBSD.org</email>
</author>
<published>2006-08-02T05:28:52Z</published>
<link rel='alternate' type='text/html' href='https://cgit-dev.freebsd.org/src-test2/commit/?id=07c4a8dfa6cf0eba07eb281b96db66f0f3faf8b5'/>
<id>urn:sha1:07c4a8dfa6cf0eba07eb281b96db66f0f3faf8b5</id>
<content type='text'>
(BUS_PROBE_DEFAULT, BUS_PROBE_GENERIC etc). These pseudo PHY
drivers were forgotten from the conversion due to the repo copy
to dc driver location.
</content>
</entry>
<entry>
<title>Use PCI bus accessors rather than reading config registers directly to</title>
<updated>2006-06-03T20:37:56Z</updated>
<author>
<name>John Baldwin</name>
<email>jhb@FreeBSD.org</email>
</author>
<published>2006-06-03T20:37:56Z</published>
<link rel='alternate' type='text/html' href='https://cgit-dev.freebsd.org/src-test2/commit/?id=344823993bf31d22dc1a4bccb3b6cc20c7e10781'/>
<id>urn:sha1:344823993bf31d22dc1a4bccb3b6cc20c7e10781</id>
<content type='text'>
get the subvendor device id.
</content>
</entry>
</feed>
