<feed xmlns='http://www.w3.org/2005/Atom'>
<title>src-test2/sys/alpha/include/bus.h, branch release/6.2.0_cvs</title>
<subtitle>FreeBSD source tree</subtitle>
<id>https://cgit-dev.freebsd.org/src-test2/atom?h=release%2F6.2.0_cvs</id>
<link rel='self' href='https://cgit-dev.freebsd.org/src-test2/atom?h=release%2F6.2.0_cvs'/>
<link rel='alternate' type='text/html' href='https://cgit-dev.freebsd.org/src-test2/'/>
<updated>2007-01-11T22:54:46Z</updated>
<entry>
<title>This commit was manufactured by cvs2svn to create tag</title>
<updated>2007-01-11T22:54:46Z</updated>
<author>
<name>cvs2svn</name>
<email>cvs2svn@FreeBSD.org</email>
</author>
<published>2007-01-11T22:54:46Z</published>
<link rel='alternate' type='text/html' href='https://cgit-dev.freebsd.org/src-test2/commit/?id=201f78d6b90635d961fa373ecd706e3786333b7e'/>
<id>urn:sha1:201f78d6b90635d961fa373ecd706e3786333b7e</id>
<content type='text'>
'RELENG_6_2_0_RELEASE'.

This commit was manufactured to restore the state of the 6.2-RELEASE image.
</content>
</entry>
<entry>
<title>Break out the definition of bus_space_{tag,handle}_t and a few other types</title>
<updated>2005-04-18T21:45:34Z</updated>
<author>
<name>Warner Losh</name>
<email>imp@FreeBSD.org</email>
</author>
<published>2005-04-18T21:45:34Z</published>
<link rel='alternate' type='text/html' href='https://cgit-dev.freebsd.org/src-test2/commit/?id=06db52b6098b8904169760c6b005f5175b6ad6b1'/>
<id>urn:sha1:06db52b6098b8904169760c6b005f5175b6ad6b1</id>
<content type='text'>
into _bus.h to help with name space polution from including all of bus.h.
In a few days, I'll commit changes to the MI code to take advantage of thse
sepration (after I've made sure that these changes don't break anything in
the main tree, I've tested in my trees, but you never know...).

Suggested by: bde (in 2002 or 2003 I think)
Reviewed in principle by: jhb
</content>
</entry>
<entry>
<title>Refactor the bus_dma header files so that the interface is described in</title>
<updated>2005-03-14T16:46:28Z</updated>
<author>
<name>Scott Long</name>
<email>scottl@FreeBSD.org</email>
</author>
<published>2005-03-14T16:46:28Z</published>
<link rel='alternate' type='text/html' href='https://cgit-dev.freebsd.org/src-test2/commit/?id=5974e5c71cb4a1d9b23559c1f17f291e911dfb6a'/>
<id>urn:sha1:5974e5c71cb4a1d9b23559c1f17f291e911dfb6a</id>
<content type='text'>
sys/bus_dma.h instead of being copied in every single arch.  This slightly
reorders a flag that was specific to AXP and thus changes the ABI there.
The interface still relies on bus_space definitions found in &lt;machine/bus.h&gt;
so it cannot be included on its own yet, but that will be fixed at a later
date.  Add an MD &lt;machine/bus_dma.h&gt; for ever arch for consistency and to
allow for future MD augmentation of the API.  sparc64 makes heavy use of
this right now due to its different bus_dma implemenation.
</content>
</entry>
<entry>
<title>Hopefully unbreak modules build.</title>
<updated>2005-01-29T21:43:34Z</updated>
<author>
<name>Ruslan Ermilov</name>
<email>ru@FreeBSD.org</email>
</author>
<published>2005-01-29T21:43:34Z</published>
<link rel='alternate' type='text/html' href='https://cgit-dev.freebsd.org/src-test2/commit/?id=3e17be06d65682042d0223286117e626450ce1a9'/>
<id>urn:sha1:3e17be06d65682042d0223286117e626450ce1a9</id>
<content type='text'>
</content>
</entry>
<entry>
<title>Add bus_dmamap_load_mbuf_sg() to alpha.</title>
<updated>2005-01-15T20:11:25Z</updated>
<author>
<name>Scott Long</name>
<email>scottl@FreeBSD.org</email>
</author>
<published>2005-01-15T20:11:25Z</published>
<link rel='alternate' type='text/html' href='https://cgit-dev.freebsd.org/src-test2/commit/?id=2f69affe3657b874ae249d48d1228d0908d75792'/>
<id>urn:sha1:2f69affe3657b874ae249d48d1228d0908d75792</id>
<content type='text'>
</content>
</entry>
<entry>
<title>Begin all license/copyright comments with /*- or #-</title>
<updated>2005-01-05T20:05:52Z</updated>
<author>
<name>Warner Losh</name>
<email>imp@FreeBSD.org</email>
</author>
<published>2005-01-05T20:05:52Z</published>
<link rel='alternate' type='text/html' href='https://cgit-dev.freebsd.org/src-test2/commit/?id=f44fc746fb98516d63b1c2010f72013c8b3abb55'/>
<id>urn:sha1:f44fc746fb98516d63b1c2010f72013c8b3abb55</id>
<content type='text'>
</content>
</entry>
<entry>
<title>Document the lockfunc and lockfuncarg arguments to bus_dma_tag_create() in</title>
<updated>2003-11-07T23:29:42Z</updated>
<author>
<name>Scott Long</name>
<email>scottl@FreeBSD.org</email>
</author>
<published>2003-11-07T23:29:42Z</published>
<link rel='alternate' type='text/html' href='https://cgit-dev.freebsd.org/src-test2/commit/?id=eb3b7bf69f759b71d10ca82f588f2c94d2c3d962'/>
<id>urn:sha1:eb3b7bf69f759b71d10ca82f588f2c94d2c3d962</id>
<content type='text'>
the busdma headers.
</content>
</entry>
<entry>
<title>Implement the bus_space_map() function to allocate resources and initialize</title>
<updated>2003-09-23T08:22:34Z</updated>
<author>
<name>Yoshihiro Takahashi</name>
<email>nyan@FreeBSD.org</email>
</author>
<published>2003-09-23T08:22:34Z</published>
<link rel='alternate' type='text/html' href='https://cgit-dev.freebsd.org/src-test2/commit/?id=33e38a2cc803aff0524deee574cfea00029feaa7'/>
<id>urn:sha1:33e38a2cc803aff0524deee574cfea00029feaa7</id>
<content type='text'>
a bus_handle, but currently it does only initializing a bus_handle.
</content>
</entry>
<entry>
<title>- Introduce a new busdma flag BUS_DMA_ZERO to request for zero'ed</title>
<updated>2003-07-27T13:52:10Z</updated>
<author>
<name>Maxime Henrion</name>
<email>mux@FreeBSD.org</email>
</author>
<published>2003-07-27T13:52:10Z</published>
<link rel='alternate' type='text/html' href='https://cgit-dev.freebsd.org/src-test2/commit/?id=d5afecd06846870c41e2850d88fa9a34d67382fa'/>
<id>urn:sha1:d5afecd06846870c41e2850d88fa9a34d67382fa</id>
<content type='text'>
  memory in bus_dmamem_alloc().  This is possible now that
  contigmalloc() supports the M_ZERO flag.
- Remove the locking of Giant around calls to contigmalloc() since
  contigmalloc() now grabs Giant itself.
</content>
</entry>
<entry>
<title>Mega busdma API commit.</title>
<updated>2003-07-01T15:52:06Z</updated>
<author>
<name>Scott Long</name>
<email>scottl@FreeBSD.org</email>
</author>
<published>2003-07-01T15:52:06Z</published>
<link rel='alternate' type='text/html' href='https://cgit-dev.freebsd.org/src-test2/commit/?id=f6b1c44d1f70d5f298b911f2c1dcd802b0d11339'/>
<id>urn:sha1:f6b1c44d1f70d5f298b911f2c1dcd802b0d11339</id>
<content type='text'>
Add two new arguments to bus_dma_tag_create(): lockfunc and lockfuncarg.
Lockfunc allows a driver to provide a function for managing its locking
semantics while using busdma.  At the moment, this is used for the
asynchronous busdma_swi and callback mechanism.  Two lockfunc implementations
are provided: busdma_lock_mutex() performs standard mutex operations on the
mutex that is specified from lockfuncarg.  dftl_lock() is a panic
implementation and is defaulted to when NULL, NULL are passed to
bus_dma_tag_create().  The only time that NULL, NULL should ever be used is
when the driver ensures that bus_dmamap_load() will not be deferred.
Drivers that do not provide their own locking can pass
busdma_lock_mutex,&amp;Giant args in order to preserve the former behaviour.

sparc64 and powerpc do not provide real busdma_swi functions, so this is
largely a noop on those platforms.  The busdma_swi on is64 is not properly
locked yet, so warnings will be emitted on this platform when busdma
callback deferrals happen.

If anyone gets panics or warnings from dflt_lock() being called, please
let me know right away.

Reviewed by:	tmm, gibbs
</content>
</entry>
</feed>
