cvs commit: src/sys/dev/raid/twe twe.c twe_compat.h twe_freebsd.c twe_tables.h tweio.h twereg.h twevar.h
David Rhodus
drhodus at crater.dragonflybsd.org
Mon Jan 5 09:40:31 PST 2004
drhodus 2004/01/05 09:40:00 PST
DragonFly src repository
Modified files:
sys/dev/raid/twe twe.c twe_compat.h twe_freebsd.c
twe_tables.h tweio.h twereg.h twevar.h
Log:
* Merge in changes from FreeBSD with some modification
by drhodus.
date: 2003/12/02 07:57:20; author: ps; state: Exp;
After extensive QA cycles at 3ware, bring the driver in-line with all the
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.
Revision Changes Path
1.5 +96 -63 src/sys/dev/raid/twe/twe.c
1.5 +4 -1 src/sys/dev/raid/twe/twe_compat.h
1.8 +81 -37 src/sys/dev/raid/twe/twe_freebsd.c
1.3 +4 -1 src/sys/dev/raid/twe/twe_tables.h
1.3 +11 -1 src/sys/dev/raid/twe/tweio.h
1.4 +1 -1 src/sys/dev/raid/twe/twereg.h
1.3 +4 -2 src/sys/dev/raid/twe/twevar.h
http://www.dragonflybsd.org/cvsweb/src/sys/dev/raid/twe/twe.c.diff?r1=1.4&r2=1.5&f=h
http://www.dragonflybsd.org/cvsweb/src/sys/dev/raid/twe/twe_compat.h.diff?r1=1.4&r2=1.5&f=h
http://www.dragonflybsd.org/cvsweb/src/sys/dev/raid/twe/twe_freebsd.c.diff?r1=1.7&r2=1.8&f=h
http://www.dragonflybsd.org/cvsweb/src/sys/dev/raid/twe/twe_tables.h.diff?r1=1.2&r2=1.3&f=h
http://www.dragonflybsd.org/cvsweb/src/sys/dev/raid/twe/tweio.h.diff?r1=1.2&r2=1.3&f=h
http://www.dragonflybsd.org/cvsweb/src/sys/dev/raid/twe/twereg.h.diff?r1=1.3&r2=1.4&f=h
http://www.dragonflybsd.org/cvsweb/src/sys/dev/raid/twe/twevar.h.diff?r1=1.2&r2=1.3&f=h
More information about the Commits
mailing list