<feed xmlns='http://www.w3.org/2005/Atom'>
<title>src-test2/sys/dev/twe, branch release/5.2.0</title>
<subtitle>FreeBSD source tree</subtitle>
<id>https://cgit-dev.freebsd.org/src-test2/atom?h=release%2F5.2.0</id>
<link rel='self' href='https://cgit-dev.freebsd.org/src-test2/atom?h=release%2F5.2.0'/>
<link rel='alternate' type='text/html' href='https://cgit-dev.freebsd.org/src-test2/'/>
<updated>2003-12-02T07:57:20Z</updated>
<entry>
<title>After extensive QA cycles at 3ware, bring the driver in-line with all the</title>
<updated>2003-12-02T07:57:20Z</updated>
<author>
<name>Paul Saab</name>
<email>ps@FreeBSD.org</email>
</author>
<published>2003-12-02T07:57:20Z</published>
<link rel='alternate' type='text/html' href='https://cgit-dev.freebsd.org/src-test2/commit/?id=a85e26c4bf2222c896cafc9ec0878bdf0a5d0c82'/>
<id>urn:sha1:a85e26c4bf2222c896cafc9ec0878bdf0a5d0c82</id>
<content type='text'>
issues which they found and asked to be changed so 3ware can offcially
support the driver.

Summary of the most significant changes:

- TWE_OVERRIDE is no longer supported
- If twe_getparam failed, bogus data would be returned to the caller
- Cache the device unit in the twe_drive structure to aid debugging
- Add the 3ware driver version.
- Proper return error codes for many functions.
- Track the minimum queue length statistics
- 4.x compat: use the cached unit number from the twe_drive structure
  instead of the the cached si_drv2.  3ware found that after many loads
  and unloads that si_drv2 became corrupted.  This did not happen in
  -current.

Submitted by:	Vinod Kashyap (with modifications by me)
Approved by:	re (rwatson)
</content>
</entry>
<entry>
<title>Correct the structure packing.</title>
<updated>2003-11-06T08:09:29Z</updated>
<author>
<name>Paul Saab</name>
<email>ps@FreeBSD.org</email>
</author>
<published>2003-11-06T08:09:29Z</published>
<link rel='alternate' type='text/html' href='https://cgit-dev.freebsd.org/src-test2/commit/?id=c5225b4d3265344e6fbfa3e9bb9d08723b7fdb01'/>
<id>urn:sha1:c5225b4d3265344e6fbfa3e9bb9d08723b7fdb01</id>
<content type='text'>
Reported by:	Vinod Kashyap &lt;vkashyap@3WARE.com&gt;
</content>
</entry>
<entry>
<title>Prefer new location of pci include files (which have only been in the</title>
<updated>2003-08-22T07:08:17Z</updated>
<author>
<name>Warner Losh</name>
<email>imp@FreeBSD.org</email>
</author>
<published>2003-08-22T07:08:17Z</published>
<link rel='alternate' type='text/html' href='https://cgit-dev.freebsd.org/src-test2/commit/?id=90cf0136c4c538b610702b30b4f37c875fafb776'/>
<id>urn:sha1:90cf0136c4c538b610702b30b4f37c875fafb776</id>
<content type='text'>
tree for two or more years now), except in a few places where there's
code to be compatible with older versions of FreeBSD.
</content>
</entry>
<entry>
<title>Don't tsleep on NULL</title>
<updated>2003-08-19T12:22:17Z</updated>
<author>
<name>Paul Saab</name>
<email>ps@FreeBSD.org</email>
</author>
<published>2003-08-19T12:22:17Z</published>
<link rel='alternate' type='text/html' href='https://cgit-dev.freebsd.org/src-test2/commit/?id=ad8fc00c7580af2a653e0eea385c9ead93a133e0'/>
<id>urn:sha1:ad8fc00c7580af2a653e0eea385c9ead93a133e0</id>
<content type='text'>
</content>
</entry>
<entry>
<title>Oops.. Some debugging code snuck in here.</title>
<updated>2003-08-12T22:33:49Z</updated>
<author>
<name>Paul Saab</name>
<email>ps@FreeBSD.org</email>
</author>
<published>2003-08-12T22:33:49Z</published>
<link rel='alternate' type='text/html' href='https://cgit-dev.freebsd.org/src-test2/commit/?id=faafb4863d4ca04b21c68b163c55f864200bdfe9'/>
<id>urn:sha1:faafb4863d4ca04b21c68b163c55f864200bdfe9</id>
<content type='text'>
Requeue the request if the controller is busy.
</content>
</entry>
<entry>
<title>Fix the busdma support in twe to support EINPROGRESS and enable it for</title>
<updated>2003-08-12T06:38:55Z</updated>
<author>
<name>Paul Saab</name>
<email>ps@FreeBSD.org</email>
</author>
<published>2003-08-12T06:38:55Z</published>
<link rel='alternate' type='text/html' href='https://cgit-dev.freebsd.org/src-test2/commit/?id=f487e0e2dfab347f289aaddf6071786e8e12c3c1'/>
<id>urn:sha1:f487e0e2dfab347f289aaddf6071786e8e12c3c1</id>
<content type='text'>
use with PAE kernels.
</content>
</entry>
<entry>
<title>Properly support the 3ware generic API.</title>
<updated>2003-08-05T19:55:21Z</updated>
<author>
<name>Paul Saab</name>
<email>ps@FreeBSD.org</email>
</author>
<published>2003-08-05T19:55:21Z</published>
<link rel='alternate' type='text/html' href='https://cgit-dev.freebsd.org/src-test2/commit/?id=235a79707a2b66bc4980ae3118bf7efc5f2d3c8b'/>
<id>urn:sha1:235a79707a2b66bc4980ae3118bf7efc5f2d3c8b</id>
<content type='text'>
- Build SGL's for ATA_PASSTHROUGH commands
- Fallback to using the sgl_offset when the opcode is unknown for building
  SGL's/
- Add ioctl calls for adding and removing units.
- Define previously undefined AEN's
- Allocate memory for the ioctl payload in multiples of 512bytes.

MFC after:      1 week
</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>
<entry>
<title>Use bioq_flush() to drain a bio queue with a specific error code.</title>
<updated>2003-04-01T15:06:26Z</updated>
<author>
<name>Poul-Henning Kamp</name>
<email>phk@FreeBSD.org</email>
</author>
<published>2003-04-01T15:06:26Z</published>
<link rel='alternate' type='text/html' href='https://cgit-dev.freebsd.org/src-test2/commit/?id=891619a66d5e01e5d5db6a11cfd7f26c815338e3'/>
<id>urn:sha1:891619a66d5e01e5d5db6a11cfd7f26c815338e3</id>
<content type='text'>
Retain the mistake of not updating the devstat API for now.

Spell bioq_disksort() consistently with the remaining bioq_*().

#include &lt;geom/geom_disk.h&gt; where this is more appropriate.
</content>
</entry>
<entry>
<title>Fix a bug I introduced by overlooking the fact that "unit number" can</title>
<updated>2003-03-15T12:16:33Z</updated>
<author>
<name>Poul-Henning Kamp</name>
<email>phk@FreeBSD.org</email>
</author>
<published>2003-03-15T12:16:33Z</published>
<link rel='alternate' type='text/html' href='https://cgit-dev.freebsd.org/src-test2/commit/?id=fe002e754616043a13216fff572deef576fd05c7'/>
<id>urn:sha1:fe002e754616043a13216fff572deef576fd05c7</id>
<content type='text'>
be one of several things in this driver.

Spotted &amp; Tested by:	alfred
</content>
</entry>
</feed>
