<feed xmlns='http://www.w3.org/2005/Atom'>
<title>src/sys/dev/ips/ips_ioctl.c, branch release/9.0.0</title>
<subtitle>FreeBSD source tree</subtitle>
<id>https://cgit-dev.freebsd.org/src/atom?h=release%2F9.0.0</id>
<link rel='self' href='https://cgit-dev.freebsd.org/src/atom?h=release%2F9.0.0'/>
<link rel='alternate' type='text/html' href='https://cgit-dev.freebsd.org/src/'/>
<updated>2005-11-29T09:39:41Z</updated>
<entry>
<title>Separate the hardware definitions into ipsreg.h so they can be used by</title>
<updated>2005-11-29T09:39:41Z</updated>
<author>
<name>Scott Long</name>
<email>scottl@FreeBSD.org</email>
</author>
<published>2005-11-29T09:39:41Z</published>
<link rel='alternate' type='text/html' href='https://cgit-dev.freebsd.org/src/commit/?id=f94dfeb4810245d485d85e8a494a3d339d7f1d95'/>
<id>urn:sha1:f94dfeb4810245d485d85e8a494a3d339d7f1d95</id>
<content type='text'>
future userland tools.
</content>
</entry>
<entry>
<title>Overhaul error handling in the IPS driver.  Don't use a magic value for</title>
<updated>2005-09-25T17:12:41Z</updated>
<author>
<name>Scott Long</name>
<email>scottl@FreeBSD.org</email>
</author>
<published>2005-09-25T17:12:41Z</published>
<link rel='alternate' type='text/html' href='https://cgit-dev.freebsd.org/src/commit/?id=2eea70515c189e5c7c5457efd3e875ed395d736b'/>
<id>urn:sha1:2eea70515c189e5c7c5457efd3e875ed395d736b</id>
<content type='text'>
driver-induced errors, instead be better about propagating error status
upwards.  Add more error definitions, courtesy of the linux driver.  Fix
a command leak in the ioctl handler.  Re-arrange some of the command handlers
to localize error handling.

MFC After: 3 days
</content>
</entry>
<entry>
<title>Lock the IPS driver and bring it out from under Giant.  Also do some</title>
<updated>2005-01-28T05:02:13Z</updated>
<author>
<name>Scott Long</name>
<email>scottl@FreeBSD.org</email>
</author>
<published>2005-01-28T05:02:13Z</published>
<link rel='alternate' type='text/html' href='https://cgit-dev.freebsd.org/src/commit/?id=03a908f2ce4394b8fd8ec8e4734938c002989d0f'/>
<id>urn:sha1:03a908f2ce4394b8fd8ec8e4734938c002989d0f</id>
<content type='text'>
significant clean up and optimizations:
- don't call bioq_disksort() on every command, the hardware will do that for
  us.
- remove all of the complicated bio deferral code.  bio's that can't be
  serviced immediately can just wait on the bioq.
- Only reserve one command object for doing control commands to the card.
  This simplifies a lot of code and significantly reduces the size of the
  command struct.
- Allocate commands out of a slab instead of embedding them into the softc.
- Call the command action method directly instead of having ips_get_free_cmd()
  call it indirectly.

MFC After: 1 week
</content>
</entry>
<entry>
<title>Use a unique malloc type rather than M_DEVBUF.</title>
<updated>2004-05-30T04:01:29Z</updated>
<author>
<name>Scott Long</name>
<email>scottl@FreeBSD.org</email>
</author>
<published>2004-05-30T04:01:29Z</published>
<link rel='alternate' type='text/html' href='https://cgit-dev.freebsd.org/src/commit/?id=dd83a01e81b7f4729a40700faf8ae29b254878b4'/>
<id>urn:sha1:dd83a01e81b7f4729a40700faf8ae29b254878b4</id>
<content type='text'>
</content>
</entry>
<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>Fix indentation</title>
<updated>2003-05-31T20:40:12Z</updated>
<author>
<name>Poul-Henning Kamp</name>
<email>phk@FreeBSD.org</email>
</author>
<published>2003-05-31T20:40:12Z</published>
<link rel='alternate' type='text/html' href='https://cgit-dev.freebsd.org/src/commit/?id=25371920a016f729e706e60c6cce18369a424a7c'/>
<id>urn:sha1:25371920a016f729e706e60c6cce18369a424a7c</id>
<content type='text'>
Found by:       FlexeLint
</content>
</entry>
<entry>
<title>Add the 'ips' driver for the IBM (now Adaptec) ServeRAID controller</title>
<updated>2003-05-11T06:36:49Z</updated>
<author>
<name>Scott Long</name>
<email>scottl@FreeBSD.org</email>
</author>
<published>2003-05-11T06:36:49Z</published>
<link rel='alternate' type='text/html' href='https://cgit-dev.freebsd.org/src/commit/?id=2aedd662d8ab5bdd421bbae90f92a79b96e64e57'/>
<id>urn:sha1:2aedd662d8ab5bdd421bbae90f92a79b96e64e57</id>
<content type='text'>
series.  This driver was generously developed and released by David
Jeffreys and Adaptec.  I've updated it to work with 5.x and fixed a
few bugs.

MFC After:	1 week
</content>
</entry>
</feed>
