<feed xmlns='http://www.w3.org/2005/Atom'>
<title>src/sys/dev/wds, branch release/5.2.1</title>
<subtitle>FreeBSD source tree</subtitle>
<id>https://cgit-dev.freebsd.org/src/atom?h=release%2F5.2.1</id>
<link rel='self' href='https://cgit-dev.freebsd.org/src/atom?h=release%2F5.2.1'/>
<link rel='alternate' type='text/html' href='https://cgit-dev.freebsd.org/src/'/>
<updated>2003-08-24T17:55:58Z</updated>
<entry>
<title>Use __FBSDID().</title>
<updated>2003-08-24T17:55:58Z</updated>
<author>
<name>David E. O'Brien</name>
<email>obrien@FreeBSD.org</email>
</author>
<published>2003-08-24T17:55:58Z</published>
<link rel='alternate' type='text/html' href='https://cgit-dev.freebsd.org/src/commit/?id=aad970f1fee9a2a3e5a0f880be9b87c6193b3bd1'/>
<id>urn:sha1:aad970f1fee9a2a3e5a0f880be9b87c6193b3bd1</id>
<content type='text'>
Also some minor style cleanups.
</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/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>
<entry>
<title>Don't include &lt;sys/disklabel.h&gt;</title>
<updated>2003-04-16T20:57:35Z</updated>
<author>
<name>Poul-Henning Kamp</name>
<email>phk@FreeBSD.org</email>
</author>
<published>2003-04-16T20:57:35Z</published>
<link rel='alternate' type='text/html' href='https://cgit-dev.freebsd.org/src/commit/?id=a3007012133d5e7fc57f5487d0f4e4421281b7bd'/>
<id>urn:sha1:a3007012133d5e7fc57f5487d0f4e4421281b7bd</id>
<content type='text'>
</content>
</entry>
<entry>
<title>- Use %p to print pointers instead of casting pointers to an int and using</title>
<updated>2002-11-07T22:25:13Z</updated>
<author>
<name>John Baldwin</name>
<email>jhb@FreeBSD.org</email>
</author>
<published>2002-11-07T22:25:13Z</published>
<link rel='alternate' type='text/html' href='https://cgit-dev.freebsd.org/src/commit/?id=f5446916717a2937f6e7e43e917f1ab1dff22294'/>
<id>urn:sha1:f5446916717a2937f6e7e43e917f1ab1dff22294</id>
<content type='text'>
  0x%x.
- Add a cast to quiet a warning.
</content>
</entry>
<entry>
<title>Turn on interrupt-entropy harvesting for all/any mass storage devices</title>
<updated>2001-03-01T17:09:09Z</updated>
<author>
<name>Mark Murray</name>
<email>markm@FreeBSD.org</email>
</author>
<published>2001-03-01T17:09:09Z</published>
<link rel='alternate' type='text/html' href='https://cgit-dev.freebsd.org/src/commit/?id=ed34d0ade2848f88c70b745d77380c5069ebdfd6'/>
<id>urn:sha1:ed34d0ade2848f88c70b745d77380c5069ebdfd6</id>
<content type='text'>
I could find. I have no doubt missed a couple.

Interrupt entropy harvesting is still conditional on the
kern.random.sys.harvest_interrupt sysctl.
</content>
</entry>
<entry>
<title>Weaken a bogus dependency on &lt;sys/proc.h&gt; in &lt;sys/buf.h&gt; by #ifdef'ing</title>
<updated>2000-10-29T14:54:55Z</updated>
<author>
<name>Poul-Henning Kamp</name>
<email>phk@FreeBSD.org</email>
</author>
<published>2000-10-29T14:54:55Z</published>
<link rel='alternate' type='text/html' href='https://cgit-dev.freebsd.org/src/commit/?id=9f69a4578a40b7ac10320af4fd2a4ac9b47012a6'/>
<id>urn:sha1:9f69a4578a40b7ac10320af4fd2a4ac9b47012a6</id>
<content type='text'>
the offending inline function (BUF_KERNPROC) on it being #included
already.

I'm not sure BUF_KERNPROC() is even the right thing to do or in the
right place or implemented the right way (inline vs normal function).

Remove consequently unneeded #includes of &lt;sys/proc.h&gt;
</content>
</entry>
<entry>
<title>Convert all users of fldoff() to offsetof().  fldoff() is bad</title>
<updated>2000-10-27T11:45:49Z</updated>
<author>
<name>Poul-Henning Kamp</name>
<email>phk@FreeBSD.org</email>
</author>
<published>2000-10-27T11:45:49Z</published>
<link rel='alternate' type='text/html' href='https://cgit-dev.freebsd.org/src/commit/?id=46aa3347cb72a78253d66cee79e17413af61804c'/>
<id>urn:sha1:46aa3347cb72a78253d66cee79e17413af61804c</id>
<content type='text'>
because it only takes a struct tag which makes it impossible to
use unions, typedefs etc.

Define __offsetof() in &lt;machine/ansi.h&gt;

Define offsetof() in terms of __offsetof() in &lt;stddef.h&gt; and &lt;sys/types.h&gt;

Remove myriad of local offsetof() definitions.

Remove includes of &lt;stddef.h&gt; in kernel code.

NB: Kernelcode should *never* include from /usr/include !

Make &lt;sys/queue.h&gt; include &lt;machine/ansi.h&gt; to avoid polluting the API.

Deprecate &lt;struct.h&gt; with a warning.  The warning turns into an error on
01-12-2000 and the file gets removed entirely on 01-01-2001.

Paritials reviews by:   various.
Significant brucifications by:  bde
</content>
</entry>
<entry>
<title>Added the CAM-ified wds driver for the ancient WD7000 SCSI card.</title>
<updated>2000-10-24T03:44:31Z</updated>
<author>
<name>Sergey Babkin</name>
<email>babkin@FreeBSD.org</email>
</author>
<published>2000-10-24T03:44:31Z</published>
<link rel='alternate' type='text/html' href='https://cgit-dev.freebsd.org/src/commit/?id=356329f0ddab666477df3f449cd96bc31a3e3ae9'/>
<id>urn:sha1:356329f0ddab666477df3f449cd96bc31a3e3ae9</id>
<content type='text'>
Last time it was present in FreeBSD 3.x, before CAM.

Reviewed by:	gibbs
Approved by:	gibbs
</content>
</entry>
</feed>
