<feed xmlns='http://www.w3.org/2005/Atom'>
<title>src/sys/dev/et, branch release/10.1.0</title>
<subtitle>FreeBSD source tree</subtitle>
<id>https://cgit-dev.freebsd.org/src/atom?h=release%2F10.1.0</id>
<link rel='self' href='https://cgit-dev.freebsd.org/src/atom?h=release%2F10.1.0'/>
<link rel='alternate' type='text/html' href='https://cgit-dev.freebsd.org/src/'/>
<updated>2012-12-04T09:32:43Z</updated>
<entry>
<title>Mechanically substitute flags from historic mbuf allocator with</title>
<updated>2012-12-04T09:32:43Z</updated>
<author>
<name>Gleb Smirnoff</name>
<email>glebius@FreeBSD.org</email>
</author>
<published>2012-12-04T09:32:43Z</published>
<link rel='alternate' type='text/html' href='https://cgit-dev.freebsd.org/src/commit/?id=c6499eccad497913a5025fbde8ae76da70e08043'/>
<id>urn:sha1:c6499eccad497913a5025fbde8ae76da70e08043</id>
<content type='text'>
malloc(9) flags in sys/dev.
</content>
</entry>
<entry>
<title>Align the PCI Express #defines with the style used for the PCI-X</title>
<updated>2012-09-18T22:04:59Z</updated>
<author>
<name>Gavin Atkinson</name>
<email>gavin@FreeBSD.org</email>
</author>
<published>2012-09-18T22:04:59Z</published>
<link rel='alternate' type='text/html' href='https://cgit-dev.freebsd.org/src/commit/?id=389c8bd51ead1f1c111e8f8baad65762f6823ff4'/>
<id>urn:sha1:389c8bd51ead1f1c111e8f8baad65762f6823ff4</id>
<content type='text'>
#defines.  This also has the advantage that it makes the names more
compact, iand 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

When this is MFC'd, #defines will be added for the old names to assist
out-of-tree drivers.

Discussed with:	jhb
MFC after:	1 week
</content>
</entry>
<entry>
<title>style. No functional changes.</title>
<updated>2012-01-10T20:52:02Z</updated>
<author>
<name>Pyun YongHyeon</name>
<email>yongari@FreeBSD.org</email>
</author>
<published>2012-01-10T20:52:02Z</published>
<link rel='alternate' type='text/html' href='https://cgit-dev.freebsd.org/src/commit/?id=0b6990445058a56f87cb1ab00cc206c9392a801b'/>
<id>urn:sha1:0b6990445058a56f87cb1ab00cc206c9392a801b</id>
<content type='text'>
</content>
</entry>
<entry>
<title>FreeBSD driver does not require arpcom structure in softc.</title>
<updated>2011-12-09T23:37:55Z</updated>
<author>
<name>Pyun YongHyeon</name>
<email>yongari@FreeBSD.org</email>
</author>
<published>2011-12-09T23:37:55Z</published>
<link rel='alternate' type='text/html' href='https://cgit-dev.freebsd.org/src/commit/?id=5effa1598aea80a8c0d10f759c647a704f55bf3b'/>
<id>urn:sha1:5effa1598aea80a8c0d10f759c647a704f55bf3b</id>
<content type='text'>
</content>
</entry>
<entry>
<title>Announce flow control ability to PHY driver and enable RX flow</title>
<updated>2011-12-09T19:10:38Z</updated>
<author>
<name>Pyun YongHyeon</name>
<email>yongari@FreeBSD.org</email>
</author>
<published>2011-12-09T19:10:38Z</published>
<link rel='alternate' type='text/html' href='https://cgit-dev.freebsd.org/src/commit/?id=5d384a0de9e590036647cbf0e7db4f4404135657'/>
<id>urn:sha1:5d384a0de9e590036647cbf0e7db4f4404135657</id>
<content type='text'>
control.  Controller does not automatically generate pause frames
based on number of available RX buffers so it's very hard to
know when driver should generate XON frame in time.  The only
mechanism driver can detect low number of RX buffer condition is
ET_INTR_RXRING0_LOW or ET_INTR_RXRING1_LOW interrupt.  This
interrupt is generated whenever controller notices the number of
available RX buffers are lower than pre-programmed value(
ET_RX_RING0_MINCNT and ET_RX_RING1_MINCNT register).  This scheme
does not provide a way to detect when controller sees enough number
of RX buffers again such that efficient generation of XON/XOFF
frame is not easy.

While here, add more flow control related register definition.
</content>
</entry>
<entry>
<title>Remove unnecessary definition of ET_PCIR_BAR.  Controller support</title>
<updated>2011-12-09T18:34:45Z</updated>
<author>
<name>Pyun YongHyeon</name>
<email>yongari@FreeBSD.org</email>
</author>
<published>2011-12-09T18:34:45Z</published>
<link rel='alternate' type='text/html' href='https://cgit-dev.freebsd.org/src/commit/?id=39bea5ddf3da9c466b65d1283524061e4f474ec9'/>
<id>urn:sha1:39bea5ddf3da9c466b65d1283524061e4f474ec9</id>
<content type='text'>
I/O memory only.
While here, use pci_set_max_read_req(9) rather than directly
manipulating PCIe device control register.
</content>
</entry>
<entry>
<title>Do not disable interrupt without knowing whether the raised</title>
<updated>2011-12-09T18:17:02Z</updated>
<author>
<name>Pyun YongHyeon</name>
<email>yongari@FreeBSD.org</email>
</author>
<published>2011-12-09T18:17:02Z</published>
<link rel='alternate' type='text/html' href='https://cgit-dev.freebsd.org/src/commit/?id=fa1483dd2f89cc66cc159e0aa2a2428c484ec4e3'/>
<id>urn:sha1:fa1483dd2f89cc66cc159e0aa2a2428c484ec4e3</id>
<content type='text'>
interrupt is ours.  Note, interrupts are automatically ACKed when
the status register is read.
Add RX/TX DMA error to interrupt handler and do full controller
reset if driver happen to encounter these errors.  There is no way
to recover from these DMA errors without controller reset.
Rename local variable name intrs with status to enhance
readability.

While I'm here, rename ET_INTR_TXEOF and ET_INTR_RXEOF to
ET_INTR_TXDMA and ET_INTR_RXDMA respectively.  These interrupts
indicate that a frame is successfully DMAed to controller's
internal FIFO and they have nothing to do with EOF(end of frame).
Driver does not need to wait actual end of TX/RX of a frame(e.g.
no need to wait the end signal of TX which is generated when a
frame in TX FIFO is emptied by MAC).  Previous names were somewhat
confusing.
</content>
</entry>
<entry>
<title>Disable all clocks and put PHY into COMA before entering into</title>
<updated>2011-12-07T23:20:14Z</updated>
<author>
<name>Pyun YongHyeon</name>
<email>yongari@FreeBSD.org</email>
</author>
<published>2011-12-07T23:20:14Z</published>
<link rel='alternate' type='text/html' href='https://cgit-dev.freebsd.org/src/commit/?id=38953bb0a52d4b9f8e04aca65148c19065bc0aea'/>
<id>urn:sha1:38953bb0a52d4b9f8e04aca65148c19065bc0aea</id>
<content type='text'>
suspend state.  This will save more power.
On resume, make sure to enable all clocks.  While I'm here, if
controller is not fast ethernet, enable gigabit PHY.
</content>
</entry>
<entry>
<title>Consistently use a tab character instead of using either a space or</title>
<updated>2011-12-07T22:04:57Z</updated>
<author>
<name>Pyun YongHyeon</name>
<email>yongari@FreeBSD.org</email>
</author>
<published>2011-12-07T22:04:57Z</published>
<link rel='alternate' type='text/html' href='https://cgit-dev.freebsd.org/src/commit/?id=6f61c828447c63218c32ba463339697608d198c3'/>
<id>urn:sha1:6f61c828447c63218c32ba463339697608d198c3</id>
<content type='text'>
tab after #define.
While I'm here consistently use capital letters when it uses
hexadecimal notation.

No functional changes.
</content>
</entry>
<entry>
<title>Protect SIOCSIFMTU ioctl handler with driver lock.</title>
<updated>2011-12-07T21:54:44Z</updated>
<author>
<name>Pyun YongHyeon</name>
<email>yongari@FreeBSD.org</email>
</author>
<published>2011-12-07T21:54:44Z</published>
<link rel='alternate' type='text/html' href='https://cgit-dev.freebsd.org/src/commit/?id=8e5ad9907be728eebf37918197cafd8716c3d109'/>
<id>urn:sha1:8e5ad9907be728eebf37918197cafd8716c3d109</id>
<content type='text'>
Don't blindly re-initialize controller whenever MTU is changed.
Now, reinitializing is done only when driver is running.

While here, remove unnecessary assignment of error value since it
was already initialized to 0.
</content>
</entry>
</feed>
