<feed xmlns='http://www.w3.org/2005/Atom'>
<title>src-test/sys/dev/alc, branch stable/7</title>
<subtitle>FreeBSD source tree</subtitle>
<id>https://cgit-dev.freebsd.org/src-test/atom?h=stable%2F7</id>
<link rel='self' href='https://cgit-dev.freebsd.org/src-test/atom?h=stable%2F7'/>
<link rel='alternate' type='text/html' href='https://cgit-dev.freebsd.org/src-test/'/>
<updated>2012-10-28T13:21:35Z</updated>
<entry>
<title>Merge r240680 from head:</title>
<updated>2012-10-28T13:21:35Z</updated>
<author>
<name>Gavin Atkinson</name>
<email>gavin@FreeBSD.org</email>
</author>
<published>2012-10-28T13:21:35Z</published>
<link rel='alternate' type='text/html' href='https://cgit-dev.freebsd.org/src-test/commit/?id=8a605e84584bb76fcd9578434bedc36c155f6761'/>
<id>urn:sha1:8a605e84584bb76fcd9578434bedc36c155f6761</id>
<content type='text'>
  Align the PCI Express #defines with the style used for the PCI-X
  #defines.  This has the advantage that it makes the names more
  compact, and also allows us to correct the non-uniform naming of
  the PCIM_LINK_* defines, making them all consistent amongst themselves.

  This is a mostly mechanical rename:
    s/PCIR_EXPRESS_/PCIER_/g
    s/PCIM_EXP_/PCIEM_/g
    s/PCIM_LINK_/PCIEM_LINK_/g

  In this MFC, #defines have been added for the old names to assist
  merges and out-of-tree drivers.
</content>
</entry>
<entry>
<title>MFC r226478:</title>
<updated>2011-12-31T01:10:29Z</updated>
<author>
<name>Pyun YongHyeon</name>
<email>yongari@FreeBSD.org</email>
</author>
<published>2011-12-31T01:10:29Z</published>
<link rel='alternate' type='text/html' href='https://cgit-dev.freebsd.org/src-test/commit/?id=b1edb1d47a06cc90022e55051658ccde362a10d8'/>
<id>urn:sha1:b1edb1d47a06cc90022e55051658ccde362a10d8</id>
<content type='text'>
  Close a race where SIOCGIFMEDIA ioctl get inconsistent link status.
  Because driver is accessing a common MII structure in
  mii_pollstat(), updating user supplied structure should be done
  before dropping a driver lock.

  Reported by:	Karim (fodillemlinkarimi &lt;&gt; gmail dot com)
</content>
</entry>
<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-test/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 r225088:</title>
<updated>2011-08-30T17:21:55Z</updated>
<author>
<name>Pyun YongHyeon</name>
<email>yongari@FreeBSD.org</email>
</author>
<published>2011-08-30T17:21:55Z</published>
<link rel='alternate' type='text/html' href='https://cgit-dev.freebsd.org/src-test/commit/?id=d5ce8e705b5a18bfbb3309e84b85576e817f2097'/>
<id>urn:sha1:d5ce8e705b5a18bfbb3309e84b85576e817f2097</id>
<content type='text'>
  Disable PHY hibernation until I get more detailed hibernation
  programming secret.  The PHY would go into sleep state when it
  detects no established link and it will re-establish link when the
  cable is plugged in.  Previously it failed to re-establish link
  when the cable is plugged in such that it required to manually down
  and up the interface again to make it work.  This came from
  incorrectly programmed hibernation parameters.  According to
  Atheros, each PHY chip requires different configuration for
  hibernation and different vendor has different settings for the
  same chip.
  Disabling hibernation may consume more power but establishing link
  looks more important than saving power.
  Special thanks to Atheros for giving me instructions that disable
  hibernation.

  PR:	kern/148772
</content>
</entry>
<entry>
<title>MFC r222107:</title>
<updated>2011-05-27T19:05:01Z</updated>
<author>
<name>Pyun YongHyeon</name>
<email>yongari@FreeBSD.org</email>
</author>
<published>2011-05-27T19:05:01Z</published>
<link rel='alternate' type='text/html' href='https://cgit-dev.freebsd.org/src-test/commit/?id=70e980d9364648e5eb9f411279c688aa74a04e59'/>
<id>urn:sha1:70e980d9364648e5eb9f411279c688aa74a04e59</id>
<content type='text'>
  Fix typo.

  Submitted by:	brad at OpenBSD
</content>
</entry>
<entry>
<title>MFC r218141:</title>
<updated>2011-02-20T01:16:59Z</updated>
<author>
<name>Pyun YongHyeon</name>
<email>yongari@FreeBSD.org</email>
</author>
<published>2011-02-20T01:16:59Z</published>
<link rel='alternate' type='text/html' href='https://cgit-dev.freebsd.org/src-test/commit/?id=45776486fcd1805507fd42d2f7456e6ca08ec20b'/>
<id>urn:sha1:45776486fcd1805507fd42d2f7456e6ca08ec20b</id>
<content type='text'>
  alc_rev was used without initialization such that it failed to
  apply AR8152 v1.0 specific initialization code. Fix this bug by
  explicitly reading PCI device revision id via PCI accessor.

  Reported by:	Gabriel Linder ( linder.gabriel &lt;&gt; gmail dot com )
</content>
</entry>
<entry>
<title>MFC r217379:</title>
<updated>2011-02-20T01:10:14Z</updated>
<author>
<name>Pyun YongHyeon</name>
<email>yongari@FreeBSD.org</email>
</author>
<published>2011-02-20T01:10:14Z</published>
<link rel='alternate' type='text/html' href='https://cgit-dev.freebsd.org/src-test/commit/?id=9c99b3bba5ce82249ebf6e31d4919458583b79f9'/>
<id>urn:sha1:9c99b3bba5ce82249ebf6e31d4919458583b79f9</id>
<content type='text'>
  - Move ether_ifdetach() earlier and remove now-unneeded IN_DETACH flag.
  - Expand locking in interrupt handler.
</content>
</entry>
<entry>
<title>MFC r216925,217331,217349,217542:</title>
<updated>2011-02-02T18:44:02Z</updated>
<author>
<name>Pyun YongHyeon</name>
<email>yongari@FreeBSD.org</email>
</author>
<published>2011-02-02T18:44:02Z</published>
<link rel='alternate' type='text/html' href='https://cgit-dev.freebsd.org/src-test/commit/?id=8f1d29fecdfa93544f9cbcd35b19194c693e6cbf'/>
<id>urn:sha1:8f1d29fecdfa93544f9cbcd35b19194c693e6cbf</id>
<content type='text'>
r216925:
  Add a 'locked' variant of the foo_start() routine and call it directly
  from interrupt handlers and watchdog routines instead of queueing a task
  to call foo_start().

r217331:
  Make sure to invoke unlocked foo_start since the taskqueue does not
  hold a driver lock. This should fix a regression introduced in
  r216925.

r217349:
  Forgot to remove unlock of the driver lock from age_start_locked() when
  converting it to a locked variant.

r217542:
  Fix some bugs in my last set of changes to ale(4):
  - Remove extra unlock from end of ale_start_locked().
  - Expand scope of locking in interrupt handler.
  - Move ether_ifdetach() earlier and retire now-unneeded DETACH flag.

  Tested by:	Aryeh Friedman
</content>
</entry>
<entry>
<title> MFC r218038:</title>
<updated>2011-01-31T00:29:11Z</updated>
<author>
<name>Pyun YongHyeon</name>
<email>yongari@FreeBSD.org</email>
</author>
<published>2011-01-31T00:29:11Z</published>
<link rel='alternate' type='text/html' href='https://cgit-dev.freebsd.org/src-test/commit/?id=91990e5a1bf2df83d18054c05bd8625fefaa14ea'/>
<id>urn:sha1:91990e5a1bf2df83d18054c05bd8625fefaa14ea</id>
<content type='text'>
  Fix logic error. Due to the bug, it incorrectly checked TXQ status
  which in turn can leave TXQ active.

  Submitted by:	Brad ( brad &lt;&gt; comstyle dot com )
</content>
</entry>
<entry>
<title>MFC r216362:</title>
<updated>2011-01-27T18:34:05Z</updated>
<author>
<name>Pyun YongHyeon</name>
<email>yongari@FreeBSD.org</email>
</author>
<published>2011-01-27T18:34:05Z</published>
<link rel='alternate' type='text/html' href='https://cgit-dev.freebsd.org/src-test/commit/?id=3648026a04c3a860d897b4caae1b9bab5a562b59'/>
<id>urn:sha1:3648026a04c3a860d897b4caae1b9bab5a562b59</id>
<content type='text'>
  Remove unecessary and clearly wrong usage of atomic(9).
</content>
</entry>
</feed>
