<feed xmlns='http://www.w3.org/2005/Atom'>
<title>src-test2/sys/dev/le, branch release/6.3.0_cvs</title>
<subtitle>FreeBSD source tree</subtitle>
<id>https://cgit-dev.freebsd.org/src-test2/atom?h=release%2F6.3.0_cvs</id>
<link rel='self' href='https://cgit-dev.freebsd.org/src-test2/atom?h=release%2F6.3.0_cvs'/>
<link rel='alternate' type='text/html' href='https://cgit-dev.freebsd.org/src-test2/'/>
<updated>2008-01-15T15:46:22Z</updated>
<entry>
<title>This commit was manufactured by cvs2svn to create tag</title>
<updated>2008-01-15T15:46:22Z</updated>
<author>
<name>cvs2svn</name>
<email>cvs2svn@FreeBSD.org</email>
</author>
<published>2008-01-15T15:46:22Z</published>
<link rel='alternate' type='text/html' href='https://cgit-dev.freebsd.org/src-test2/commit/?id=5cd221028ba5e7ada35a0dd196fb642b44f197d1'/>
<id>urn:sha1:5cd221028ba5e7ada35a0dd196fb642b44f197d1</id>
<content type='text'>
'RELENG_6_3_0_RELEASE'.

This commit was manufactured to restore the state of the 6.3-RELEASE image.
</content>
</entry>
<entry>
<title>MFC: am7990.c 1.4; am79900.c 1.4; if_le_ledma.c 1.3; if_le_pci.c 1.5, 1.6;</title>
<updated>2007-09-15T10:56:00Z</updated>
<author>
<name>Marius Strobl</name>
<email>marius@FreeBSD.org</email>
</author>
<published>2007-09-15T10:56:00Z</published>
<link rel='alternate' type='text/html' href='https://cgit-dev.freebsd.org/src-test2/commit/?id=67f8112611524876d540c7dedd14a9507a940ff7'/>
<id>urn:sha1:67f8112611524876d540c7dedd14a9507a940ff7</id>
<content type='text'>
     lance.c 1.3, 1.4; lancevar.h 1.3

- Use our own callout instead of if_slowtimo() for driving lance_watchdog()
  in order to avoid races accessing if_timer.
- Use bus_get_dma_tag() to obtain the parent DMA tag so le(4) works on
  platforms requiring this.
- Remove BUS_DMA_WAITOK from bus_dma_tag_create() invocations as it's
  no valid flag there.
- For setting the port PCnet chips must be powered down or stopped and
  unlike documented may not take effect without an initialization. So
  don't invoke (*sc_mediachange) directly in lance_mediachange() but
  go through lance_init_locked(). It's suboptimal to impose this for
  all chips but given that besides the affected PCI bus front-end the
  only other front-end which supports media selection is and likely
  ever will be the 'ledma' front-end I see not enough reason to break
  the in-driver API for this (though one could argue both ways here).
</content>
</entry>
<entry>
<title>MFC: am7990.c 1.3, am79900.c 1.3, if_le_ledma.c 1.2, if_le_pci.c 1.2 - 1.4,</title>
<updated>2006-06-18T15:43:18Z</updated>
<author>
<name>Marius Strobl</name>
<email>marius@FreeBSD.org</email>
</author>
<published>2006-06-18T15:43:18Z</published>
<link rel='alternate' type='text/html' href='https://cgit-dev.freebsd.org/src-test2/commit/?id=79bf574325c6dadb063f9f127770a3d6be8b6498'/>
<id>urn:sha1:79bf574325c6dadb063f9f127770a3d6be8b6498</id>
<content type='text'>
     lance.c 1.2, lancereg.h 1.2, lancevar.h 1.2

- Rearrange the code related to RX interrupt handling so that ownership of
  RX descriptors is immediately returned to the NIC after we have copied
  the data of the hardware, allowing the NIC to already reuse the descriptor
  while we are processing the data in ifp-&gt;if_input(). This results in a
  small but measurable increase in RX throughput.
  As a side-effect, this moves the workaround for the LANCE revision C bug
  to am7900.c (still off by default as I doubt we will actually encounter
  such an old chip in a machine running FreeBSD) and the workaround for the
  bug in the VMware PCnet-PCI emulation to am79000.c, which is now also
  only compiled on i386 (resulting in a small increase in RX throughput on
  the other platforms).
- Change the RX interrupt handlers so that the descriptor error bits are
  only check once in case there was no error instead of twice (inspired
  by the NetBSD pcn(4), which additionally predicts the error branch as
  false).
- Fix the debugging output of the RX and TX interrupt handlers; while
  looping through the descriptors print info about the currently processed
  one instead of always the previously last used one; remove pointless
  printing of info about the RX descriptor bits after their values were
  reset.
- Create the DMA tags used to allocate the memory for the init block,
  descriptors and packet buffers with the alignment the respective NIC
  actually requires rather than using PAGE_SIZE unconditionally. This might
  as well fix the alignment of the memory as it seems we do not inherit
  the alignment constraint from the parent DMA tag.
- For the PCI variants double the number of RX descriptors and buffers
  from 8 to 16 as this minimizes the number of RX overflows im seeing with
  one NIC-mainboard combination. Nevertheless move reporting of overflows
  under debugging as they seem unavoidable with some crappy hardware.
- Add a comment regarding usage of ILACC vs. PCnet-PCI mode.
- Fix the driver name part in the MODULE_DEPEND of the PCI front-end for
  ether.
- Use different device descriptions for PCnet-Home and PCnet-PCI.
- Fix some 0/NULL confusion in lance_get().
- Use bus_addr_t for sc_addr and bus_size_t for sc_memsize as these are
  more appropriate than u_long for these.
- Remove the unused LE_DRIVER_NAME macro.
- Add a comment describing why we are taking the LE_HTOLE* etc approach
  instead of using byteorder(9) functions directly.
- Improve some comments and fix some wording.
</content>
</entry>
<entry>
<title>- Clear the interrupt source flags before processing the interrupt</title>
<updated>2006-03-25T12:13:21Z</updated>
<author>
<name>Marius Strobl</name>
<email>marius@FreeBSD.org</email>
</author>
<published>2006-03-25T12:13:21Z</published>
<link rel='alternate' type='text/html' href='https://cgit-dev.freebsd.org/src-test2/commit/?id=4677688976c1c6e172f29a45c59d5c30b2a7a697'/>
<id>urn:sha1:4677688976c1c6e172f29a45c59d5c30b2a7a697</id>
<content type='text'>
  events and turn off NIC interrupts while in the interrupt handler.
  This fixes the device timeouts seen with the VMware LANCE.
- Relax the watchdog timer somewhat; don't enable it until the last
  packet is enqueued and if there is a TX interrupt but there are
  still outstanding ones reload the timer.

Approved by:	re (hrs)
</content>
</entry>
<entry>
<title>MFC: sys/dev/le/am7990.c 1.1, sys/dev/le/am79900.c 1.1,</title>
<updated>2006-02-13T11:30:40Z</updated>
<author>
<name>Marius Strobl</name>
<email>marius@FreeBSD.org</email>
</author>
<published>2006-02-13T11:30:40Z</published>
<link rel='alternate' type='text/html' href='https://cgit-dev.freebsd.org/src-test2/commit/?id=0f75e00ad99da745fbce47ae06d95d2b6f9ec0fc'/>
<id>urn:sha1:0f75e00ad99da745fbce47ae06d95d2b6f9ec0fc</id>
<content type='text'>
     sys/dev/le/am79900reg.h 1.1, sys/dev/le/am79900var.h 1.1,
     sys/dev/le/am7990reg.h 1.1, sys/dev/le/am7990var.h 1.1,
     sys/dev/le/if_le_ledma.c 1.1, sys/dev/le/if_le_pci.c 1.1,
     sys/dev/le/lance.c 1.1, sys/dev/le/lancereg.h 1.1,
     sys/dev/le/lancevar.h 1.1

Add le(4), a driver for AMD Am7900 LANCE and Am79C9xx PCnet NICs,
ported from NetBSD.
This version differs from HEAD in that if_le_ledma.c inlines
lsi64854_enet_intr() from rev. 1.8 of sys/sparc64/sbus/lsi64854.c
in le_dma_hwintr() in order to not break the API of the LSI64854
driver in RELENG_6.

Approved by:	re (scottl)
</content>
</entry>
<entry>
<title>This commit was manufactured by cvs2svn to create branch 'RELENG_6'.</title>
<updated>2006-02-03T01:35:37Z</updated>
<author>
<name>cvs2svn</name>
<email>cvs2svn@FreeBSD.org</email>
</author>
<published>2006-02-03T01:35:37Z</published>
<link rel='alternate' type='text/html' href='https://cgit-dev.freebsd.org/src-test2/commit/?id=23d064f7bfd5e00724a8ad194499110d8d2bcf31'/>
<id>urn:sha1:23d064f7bfd5e00724a8ad194499110d8d2bcf31</id>
<content type='text'>
</content>
</entry>
</feed>
