<feed xmlns='http://www.w3.org/2005/Atom'>
<title>src-test2/sys/dev/hatm, branch release/5.3.0</title>
<subtitle>FreeBSD source tree</subtitle>
<id>https://cgit-dev.freebsd.org/src-test2/atom?h=release%2F5.3.0</id>
<link rel='self' href='https://cgit-dev.freebsd.org/src-test2/atom?h=release%2F5.3.0'/>
<link rel='alternate' type='text/html' href='https://cgit-dev.freebsd.org/src-test2/'/>
<updated>2004-03-17T17:50:55Z</updated>
<entry>
<title>Convert callers to the new bus_alloc_resource_any(9) API.</title>
<updated>2004-03-17T17:50:55Z</updated>
<author>
<name>Nate Lawson</name>
<email>njl@FreeBSD.org</email>
</author>
<published>2004-03-17T17:50:55Z</published>
<link rel='alternate' type='text/html' href='https://cgit-dev.freebsd.org/src-test2/commit/?id=5f96beb9e08be2b08309a6b98967246b64272ade'/>
<id>urn:sha1:5f96beb9e08be2b08309a6b98967246b64272ade</id>
<content type='text'>
Submitted by:	Mark Santcroos &lt;marks@ripe.net&gt;
Reviewed by:	imp, dfr, bde
</content>
</entry>
<entry>
<title>All three of these drivers abused cv_waitq_empty in the same way by spinning</title>
<updated>2004-02-29T09:26:01Z</updated>
<author>
<name>Scott Long</name>
<email>scottl@FreeBSD.org</email>
</author>
<published>2004-02-29T09:26:01Z</published>
<link rel='alternate' type='text/html' href='https://cgit-dev.freebsd.org/src-test2/commit/?id=474e30f0b1d6d570a307e1b96d5f06a156fde80f'/>
<id>urn:sha1:474e30f0b1d6d570a307e1b96d5f06a156fde80f</id>
<content type='text'>
on it in hopes of making sure that the waitq was empty before going on.
This wasn't needed and probably never would have worked as intended.  Now
that cv_waitq_empty() and friends are gone, the code in these drivers that
spins on it can go away too.  This should unbreak LINT.

Discussed with:	kan
</content>
</entry>
<entry>
<title>change NULL to 0 to silence warning.</title>
<updated>2003-12-24T18:23:02Z</updated>
<author>
<name>Alfred Perlstein</name>
<email>alfred@FreeBSD.org</email>
</author>
<published>2003-12-24T18:23:02Z</published>
<link rel='alternate' type='text/html' href='https://cgit-dev.freebsd.org/src-test2/commit/?id=3939094dfb4b71235c6bfb121676e06e8d7930aa'/>
<id>urn:sha1:3939094dfb4b71235c6bfb121676e06e8d7930aa</id>
<content type='text'>
</content>
</entry>
<entry>
<title>Make the driver conditionally MPSAFE. MPSAFEty defaults to not-mpsafe</title>
<updated>2003-11-05T11:47:31Z</updated>
<author>
<name>Hartmut Brandt</name>
<email>harti@FreeBSD.org</email>
</author>
<published>2003-11-05T11:47:31Z</published>
<link rel='alternate' type='text/html' href='https://cgit-dev.freebsd.org/src-test2/commit/?id=d7af3b881c5a6280b79e70a495b1ef174c1a4691'/>
<id>urn:sha1:d7af3b881c5a6280b79e70a495b1ef174c1a4691</id>
<content type='text'>
but can be enabled by setting hw.atm.hatmN.mpsafe in the kernel
environment to a non-zero value before loading the driver. When
the problems with network MPSAFEty have been sorted out this will
be removed and the driver will default to MPSAFE.
</content>
</entry>
<entry>
<title>When compiled with debugging trace the number of transmit mbufs that</title>
<updated>2003-11-05T11:43:06Z</updated>
<author>
<name>Hartmut Brandt</name>
<email>harti@FreeBSD.org</email>
</author>
<published>2003-11-05T11:43:06Z</published>
<link rel='alternate' type='text/html' href='https://cgit-dev.freebsd.org/src-test2/commit/?id=8e994188e2284a3bc9ab1b9fef6f4bed4e615b7e'/>
<id>urn:sha1:8e994188e2284a3bc9ab1b9fef6f4bed4e615b7e</id>
<content type='text'>
we own. Warn if something strange happens (number drops below zero or
there appears to be a leak).
</content>
</entry>
<entry>
<title>Initialize the USED flag in new external receive buffers to 0, not to 1.</title>
<updated>2003-11-05T11:15:47Z</updated>
<author>
<name>Hartmut Brandt</name>
<email>harti@FreeBSD.org</email>
</author>
<published>2003-11-05T11:15:47Z</published>
<link rel='alternate' type='text/html' href='https://cgit-dev.freebsd.org/src-test2/commit/?id=0144e71085707720c31fa77d4a453d4a26d47c8a'/>
<id>urn:sha1:0144e71085707720c31fa77d4a453d4a26d47c8a</id>
<content type='text'>
We put them directly onto the free list instead of calling the
external mbuf free routine (that routine would have cleaned the flag).

This fixes a bug which manifests itself in falsely reporting a lot of used
buffers when configuring the interface down.
</content>
</entry>
<entry>
<title>Replace the if_name and if_unit members of struct ifnet with new members</title>
<updated>2003-10-31T18:32:15Z</updated>
<author>
<name>Brooks Davis</name>
<email>brooks@FreeBSD.org</email>
</author>
<published>2003-10-31T18:32:15Z</published>
<link rel='alternate' type='text/html' href='https://cgit-dev.freebsd.org/src-test2/commit/?id=9bf40ede4a299f315bc4b0ae5329631b8c7dc271'/>
<id>urn:sha1:9bf40ede4a299f315bc4b0ae5329631b8c7dc271</id>
<content type='text'>
if_xname, if_dname, and if_dunit. if_xname is the name of the interface
and if_dname/unit are the driver name and instance.

This change paves the way for interface renaming and enhanced pseudo
device creation and configuration symantics.

Approved By:	re (in principle)
Reviewed By:	njl, imp
Tested On:	i386, amd64, sparc64
Obtained From:	NetBSD (if_xname)
</content>
</entry>
<entry>
<title>Fix breakage on ia64: PAGE_SIZE on ia64 is large enough that more than</title>
<updated>2003-10-31T13:35:22Z</updated>
<author>
<name>Hartmut Brandt</name>
<email>harti@FreeBSD.org</email>
</author>
<published>2003-10-31T13:35:22Z</published>
<link rel='alternate' type='text/html' href='https://cgit-dev.freebsd.org/src-test2/commit/?id=fba6dd7f1811232d2d0fd8d37329a2a34397e105'/>
<id>urn:sha1:fba6dd7f1811232d2d0fd8d37329a2a34397e105</id>
<content type='text'>
256 raw receive buffers (96 byte each) fit into one page. This breaks the
limit imposed by the usage of an uint8_t for the buffer number. Restrict
the allocation size for buffers to a maximum of 8192.
</content>
</entry>
<entry>
<title>Explain why the lock-free allocation algorithm is safe in our case</title>
<updated>2003-10-30T16:19:50Z</updated>
<author>
<name>Hartmut Brandt</name>
<email>harti@FreeBSD.org</email>
</author>
<published>2003-10-30T16:19:50Z</published>
<link rel='alternate' type='text/html' href='https://cgit-dev.freebsd.org/src-test2/commit/?id=cc3f6cb9fda15cb178f6e23e6b9ecd0be0fa812e'/>
<id>urn:sha1:cc3f6cb9fda15cb178f6e23e6b9ecd0be0fa812e</id>
<content type='text'>
while beeing not safe in the general case. Thanks to David Schultz
&lt;das@freebsd.org&gt; for help.
</content>
</entry>
<entry>
<title>Reinvent the used-flag for external mbufs. This and the on-card flag</title>
<updated>2003-10-30T10:43:52Z</updated>
<author>
<name>Hartmut Brandt</name>
<email>harti@FreeBSD.org</email>
</author>
<published>2003-10-30T10:43:52Z</published>
<link rel='alternate' type='text/html' href='https://cgit-dev.freebsd.org/src-test2/commit/?id=62b93d9b128446901b853b9b56647dc0f40ec1af'/>
<id>urn:sha1:62b93d9b128446901b853b9b56647dc0f40ec1af</id>
<content type='text'>
are now in the header of the external buffer itself which allows us
to manipulate them in the free routine without having to lock the softc
structure or the free list. To get space for these flags the chunk number
is reduced to 8 bit which amounts to a maximum of 256 chunks per allocated
page. This restriction is now enforced by a CTASSERT.
</content>
</entry>
</feed>
