#
272461 |
|
02-Oct-2014 |
gjb |
Copy stable/10@r272459 to releng/10.1 as part of the 10.1-RELEASE process.
Approved by: re (implicit) Sponsored by: The FreeBSD Foundation |
#
256281 |
|
10-Oct-2013 |
gjb |
Copy head (r256279) to stable/10 as part of the 10.0-RELEASE cycle.
Approved by: re (implicit) Sponsored by: The FreeBSD Foundation
|
#
249595 |
|
17-Apr-2013 |
hiren |
Improving r249461 by providing a better way to handle the clang warning.
PR: kern/177164 Reviewed by: jhb Approved by: sbruno (mentor)
|
#
249461 |
|
14-Apr-2013 |
hiren |
Fixing a clang warning indicating uninitialized variable usage.
PR: kern/177164 Approved by: sbruno (mentor)
|
#
163024 |
|
05-Oct-2006 |
maxim |
o Add Adaptec ServeRAID 7x IDs. IDs taken from Linux.
PR: kern/90012 Submitted by: Andrey V. Elsukov MFC after: 1 month
|
#
158651 |
|
16-May-2006 |
phk |
Since DELAY() was moved, most <machine/clock.h> #includes have been unnecessary.
|
#
152919 |
|
29-Nov-2005 |
scottl |
Separate the hardware definitions into ipsreg.h so they can be used by future userland tools.
|
#
150535 |
|
25-Sep-2005 |
scottl |
Overhaul error handling in the IPS driver. Don't use a magic value for 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
|
#
145545 |
|
26-Apr-2005 |
scottl |
Remove an extra mutex unlock in the morpheus interrupt handler.
PR: 80246 Submitted by: Dean Strik MFC After: 3 days
|
#
141062 |
|
30-Jan-2005 |
scottl |
Add crashdump support to the ips driver. It only works for the more modern ServeRAID 4 - 7 models right now. Support for older cards is possible, but I don't have any hardware to experiment with.
Thanks to Jack Hammer at Adaptec for providing debugging hints.
Sponsored by: ImproWare AG, Switzerland
|
#
140924 |
|
28-Jan-2005 |
scottl |
Remove all of the spl() markers.
|
#
140923 |
|
28-Jan-2005 |
scottl |
Lock the IPS driver and bring it out from under Giant. Also do some 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
|
#
130585 |
|
16-Jun-2004 |
phk |
Do the dreaded s/dev_t/struct cdev */ Bump __FreeBSD_version accordingly.
|
#
129859 |
|
30-May-2004 |
scottl |
Use a unique malloc type rather than M_DEVBUF.
|
#
126364 |
|
28-Feb-2004 |
scottl |
Switch from using mutexes to using semaphores to protect against early completion of synchronous commands. Also switch to a per-array bioq as it appears to improve performance.
Submitted by: mbr, imp.ch (bioq change)
|
#
126080 |
|
21-Feb-2004 |
phk |
Device megapatch 4/6:
Introduce d_version field in struct cdevsw, this must always be initialized to D_VERSION.
Flip sense of D_NOGIANT flag to D_NEEDGIANT, this involves removing four D_NOGIANT flags and adding 145 D_NEEDGIANT flags.
|
#
125833 |
|
14-Feb-2004 |
scottl |
Remove the static major assignment for ips(4).
Submitted by: phk, inspired by others.
|
#
125808 |
|
14-Feb-2004 |
phk |
Use same style for cdevsw as the rest of our drivers.
|
#
124680 |
|
18-Jan-2004 |
ru |
Fixed a memory leak.
Reported by: Stanford Metacompilation research group Reviewed by: scottl
|
#
122999 |
|
27-Nov-2003 |
mbr |
ServeRaid (at least 5i) didn't initialize correctly. To get them working (cache, automatic rebuild and hotswap) the FFDC info (First Failure Data Capture) on the adapter must be initialised.
Logical drives in critical/degraded states weren't added to the drive list. FreeBSD was not able to see a degraded array after a reboot. Degraded drives are now also added to the drivelist and the state of the logical drive is given at boottime.
The adapter type is detected from informations in nvram page 5 and displayed at boottime.
Change IPS_OS_FREEBSD definition from 10 to 8 according to IBM specs.
Submitted by: <Patrick Guelat> pgfb@imp.ch Reviewed by: mbr, scottl Approved by: re
|
#
119418 |
|
24-Aug-2003 |
obrien |
Use __FBSDID(). Also some minor style cleanups.
|
#
117126 |
|
01-Jul-2003 |
scottl |
Mega busdma API commit.
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,&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
|
#
116931 |
|
27-Jun-2003 |
peter |
Fix pointer/int warnings so this compiles on amd64. The driver wants to store an int in the bio->bio_driver1 (a void *). It is big enough, but you have to match the int sizes first before doing the cast.
Glanced at by: scottl
|
#
116852 |
|
25-Jun-2003 |
scottl |
- Zero the buffers used to hold configuration data from the card. Not doing so can leave stale data in the buffer and confuse the driver. - enable the ability to set the 'disable' hint for the driver to keep it from attaching. i.e. 'hw.ips.0.disable=1' will prevent the driver from attaching. - Only detach if attach suceeded.
Submitted by: mjacob
|
#
114902 |
|
11-May-2003 |
scottl |
Add the 'ips' driver for the IBM (now Adaptec) ServeRAID controller 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
|