cvs commit: src/sys/dev/twe twe.c twe_compat.h twe_freebsd.c twe_tables.h tweio.h twereg.h twevar.h

From: Paul Saab <>
Date: Mon, 1 Dec 2003 23:57:20 -0800 (PST)
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 
  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
  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
Received on Mon Dec 01 2003 - 23:57:21 UTC