cvs commit: src/sys/dev/twe twe.c twe_compat.h twe_freebsd.c
twe_tables.h tweio.h twereg.h twevar.h
Paul Saab
ps at FreeBSD.org
Mon Dec 1 23:57:21 PST 2003
ps 2003/12/01 23:57:20 PST
FreeBSD src repository
Modified files:
sys/dev/twe twe.c twe_compat.h twe_freebsd.c
twe_tables.h tweio.h twereg.h twevar.h
Log:
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.
Submitted by: Vinod Kashyap (with modifications by me)
Approved by: re (rwatson)
Revision Changes Path
1.18 +100 -48 src/sys/dev/twe/twe.c
1.11 +4 -34 src/sys/dev/twe/twe_compat.h
1.31 +42 -49 src/sys/dev/twe/twe_freebsd.c
1.4 +4 -17 src/sys/dev/twe/twe_tables.h
1.3 +6 -3 src/sys/dev/twe/tweio.h
1.10 +4 -1 src/sys/dev/twe/twereg.h
1.9 +26 -8 src/sys/dev/twe/twevar.h
More information about the cvs-src
mailing list