<feed xmlns='http://www.w3.org/2005/Atom'>
<title>src-test2/sys/dev/dc, branch release/7.0.0_cvs</title>
<subtitle>FreeBSD source tree</subtitle>
<id>https://cgit-dev.freebsd.org/src-test2/atom?h=release%2F7.0.0_cvs</id>
<link rel='self' href='https://cgit-dev.freebsd.org/src-test2/atom?h=release%2F7.0.0_cvs'/>
<link rel='alternate' type='text/html' href='https://cgit-dev.freebsd.org/src-test2/'/>
<updated>2008-02-24T05:45:17Z</updated>
<entry>
<title>This commit was manufactured by cvs2svn to create tag</title>
<updated>2008-02-24T05:45:17Z</updated>
<author>
<name>cvs2svn</name>
<email>cvs2svn@FreeBSD.org</email>
</author>
<published>2008-02-24T05:45:17Z</published>
<link rel='alternate' type='text/html' href='https://cgit-dev.freebsd.org/src-test2/commit/?id=a9c219fa3cec18ef9f30edec6fa106bf0e2d423d'/>
<id>urn:sha1:a9c219fa3cec18ef9f30edec6fa106bf0e2d423d</id>
<content type='text'>
'RELENG_7_0_0_RELEASE'.

This commit was manufactured to restore the state of the 7.0-RELEASE image.
</content>
</entry>
<entry>
<title>o In order to reduce bug and code duplication fold handling of NICs</title>
<updated>2007-08-05T11:28:19Z</updated>
<author>
<name>Marius Strobl</name>
<email>marius@FreeBSD.org</email>
</author>
<published>2007-08-05T11:28:19Z</published>
<link rel='alternate' type='text/html' href='https://cgit-dev.freebsd.org/src-test2/commit/?id=82a67a70a2e64e1bba16a291b6aff5332de33b81'/>
<id>urn:sha1:82a67a70a2e64e1bba16a291b6aff5332de33b81</id>
<content type='text'>
  requiring DC_TX_ALIGN or DC_TX_COALESCE, which was previously done
  in dc_start_locked(), into dc_encap().
o In dc_encap():
  - If m_defrag() fails just drop the packet like other NIC drivers
    do. This should only happen when there's a mbuf shortage, in which
    case it was possible to end up with an IFQ full of packets which
    couldn't be processed as they couldn't be defragmented as they
    were taking up all the mbufs themselves. This includes adjusting
    dc_start_locked() to not trying to prepend the mbuf (chain) if
    dc_encap() has freed it.
  - Likewise, if bus_dmamap_load_mbuf() fails as dc_dma_map_txbuf()
    failed, free the mbuf possibly allocated by the above call to
    m_defrag() and drop the packet.
o In dc_txeof():
  - Don't clear IFF_DRV_OACTIVE unless there are at least 6 free TX
    descriptors. Further down the road dc_encap() will bail if there
    are only 5 or fewer free TX descriptors, causing dc_start_locked()
    to abort and prepend the dequeued mbuf again so it makes no sense
    to pretend we could process mbufs again when in fact we won't.
    While at it replace this magic 5 with a macro DC_TX_LIST_RSVD.
  - Just always assign idx to sc-&gt;dc_cdata.dc_tx_cons; it doesn't
    make much sense to exclude the idx == sc-&gt;dc_cdata.dc_tx_cons
    case.
o In dc_dma_map_txbuf() there's no need to set sc-&gt;dc_cdata.dc_tx_err
  to error if the latter is != 0, bus_dmamap_load_mbuf() already
  returns the same error value in that case anyway.
o For less overhead, convert to use bus_dmamap_load_mbuf_sg() for
  loading RX buffers.
o Remove some banal and/or outdated comments.

Approved by:	re (kensmith)
MFC after:	1 week
</content>
</entry>
<entry>
<title>o break newbus api: add a new argument of type driver_filter_t to</title>
<updated>2007-02-23T12:19:07Z</updated>
<author>
<name>Paolo Pisati</name>
<email>piso@FreeBSD.org</email>
</author>
<published>2007-02-23T12:19:07Z</published>
<link rel='alternate' type='text/html' href='https://cgit-dev.freebsd.org/src-test2/commit/?id=ef544f631226436ef590825881e7a28369df82f6'/>
<id>urn:sha1:ef544f631226436ef590825881e7a28369df82f6</id>
<content type='text'>
  bus_setup_intr()

o add an int return code to all fast handlers

o retire INTR_FAST/IH_FAST

For more info: http://docs.freebsd.org/cgi/getmsg.cgi?fetch=465712+0+current/freebsd-current

Reviewed by: many
Approved by: re@
</content>
</entry>
<entry>
<title>Fix a bug originally introduced in rev. 1.74; don't reloaded the</title>
<updated>2006-12-20T01:49:56Z</updated>
<author>
<name>Marius Strobl</name>
<email>marius@FreeBSD.org</email>
</author>
<published>2006-12-20T01:49:56Z</published>
<link rel='alternate' type='text/html' href='https://cgit-dev.freebsd.org/src-test2/commit/?id=3e0e67263b848fe769db6d1ebe28d880c2020b88'/>
<id>urn:sha1:3e0e67263b848fe769db6d1ebe28d880c2020b88</id>
<content type='text'>
watchdog timer in dc_txeof() in case there are still unhandled
descriptors as dc_poll() invokes dc_poll() unconditionally.
Otherwise this would result in the watchdog timer constantly being
being reloaded and thus circumvent that the watchdog ever fires in
the DEVICE_POLLING case.

Pointed out by:	bde
</content>
</entry>
<entry>
<title>- Use our own callout (the dc_tick() callout uses varying periods</title>
<updated>2006-12-06T01:56:38Z</updated>
<author>
<name>Marius Strobl</name>
<email>marius@FreeBSD.org</email>
</author>
<published>2006-12-06T01:56:38Z</published>
<link rel='alternate' type='text/html' href='https://cgit-dev.freebsd.org/src-test2/commit/?id=b1d161435e15173b8ff25fc214b94c5cd260c1e5'/>
<id>urn:sha1:b1d161435e15173b8ff25fc214b94c5cd260c1e5</id>
<content type='text'>
  depending on the NIC and isn't used at all with HomePNA links)
  instead of if_slowtimo() for driving dc_watchdog() in order to
  avoid races accessing if_timer.
- Use bus_get_dma_tag() so dc(4) works on platforms requiring it.
- Don't bother to set if_mtu to ETHERMTU, ether_ifattach() does that.
- Remove an alpha remnant in dc_softc.
</content>
</entry>
<entry>
<title>Remove &lt;sys/types.h&gt;; including both &lt;sys/param.h&gt; and &lt;sys/types.h&gt;</title>
<updated>2006-11-02T00:05:15Z</updated>
<author>
<name>Marius Strobl</name>
<email>marius@FreeBSD.org</email>
</author>
<published>2006-11-02T00:05:15Z</published>
<link rel='alternate' type='text/html' href='https://cgit-dev.freebsd.org/src-test2/commit/?id=9e264172bdabfc126e843b0f8c7906adf62fd4d9'/>
<id>urn:sha1:9e264172bdabfc126e843b0f8c7906adf62fd4d9</id>
<content type='text'>
violates style(9).
</content>
</entry>
<entry>
<title>- Wrap code optimized for architectures without alignment constraints</title>
<updated>2006-10-29T20:24:27Z</updated>
<author>
<name>Marius Strobl</name>
<email>marius@FreeBSD.org</email>
</author>
<published>2006-10-29T20:24:27Z</published>
<link rel='alternate' type='text/html' href='https://cgit-dev.freebsd.org/src-test2/commit/?id=432120f2bb656eb8c96a9efe3dccbb76713fb3e3'/>
<id>urn:sha1:432120f2bb656eb8c96a9efe3dccbb76713fb3e3</id>
<content type='text'>
  in #ifdef __NO_STRICT_ALIGNMENT rather than #ifdef __i386__. This
  means that amd64 now also uses the optimized code. [1]
  While at it, fix a nearby style(9) bug.
- Remove the hw.dc_quick SYSCTL, which allowed to turn off the above
  mentioned optimization, as like the equivalent and already removed
- In dc_setcfg() suppress printing a warning when forcing the receiver
  and transceiver to idle state times out for chips where the status
  bits in question just never change (observed in detail with DM9102A)
  and therefore the warning would be highly likely false positive. [2]
- In dc_ifmedia_sts() add a missing DC_UNLOCK().

Tested by:	Hans-Joerg Sirtl on amd64 [1]
PR:		82681 [2]
Obtained from:	NetBSD tlp(4) [2]
MFC after:	1 week
</content>
</entry>
<entry>
<title>- Consistently use if_printf() only in interface methods: if_start(),</title>
<updated>2006-09-15T15:16:12Z</updated>
<author>
<name>Gleb Smirnoff</name>
<email>glebius@FreeBSD.org</email>
</author>
<published>2006-09-15T15:16:12Z</published>
<link rel='alternate' type='text/html' href='https://cgit-dev.freebsd.org/src-test2/commit/?id=6b9f5c941c90292a855cb13e27f3a7151aeb7cc6'/>
<id>urn:sha1:6b9f5c941c90292a855cb13e27f3a7151aeb7cc6</id>
<content type='text'>
  if_watchdog, etc., or in functions used only in these methods.
  In all other functions in the driver use device_printf().
- Use __func__ instead of typing function name.

Submitted by:	Alex Lyashkov &lt;umka sevcity.net&gt;
</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>Fix the last commit.</title>
<updated>2006-06-08T08:15:21Z</updated>
<author>
<name>Gleb Smirnoff</name>
<email>glebius@FreeBSD.org</email>
</author>
<published>2006-06-08T08:15:21Z</published>
<link rel='alternate' type='text/html' href='https://cgit-dev.freebsd.org/src-test2/commit/?id=177625694d4dbf73e327a3d3d920fb665faa4480'/>
<id>urn:sha1:177625694d4dbf73e327a3d3d920fb665faa4480</id>
<content type='text'>
Submitted by:	jhb
Pointy hat to:	glebius
</content>
</entry>
</feed>
