Date: Tue, 24 Oct 2000 23:59:07 -0700 (PDT) From: Mike Smith <msmith@FreeBSD.org> To: cvs-committers@FreeBSD.org, cvs-all@FreeBSD.org Subject: cvs commit: src/sys/conf files src/sys/dev/twe twe_compat.h twe_freebsd.c twe_tables.h tweio.h twe.c twereg.h twevar.h twe_disk.c src/sys/modules/twe Makefile Message-ID: <200010250659.XAA94447@freefall.freebsd.org>
next in thread | raw e-mail | index | archive | help
msmith 2000/10/24 23:59:06 PDT
Modified files:
sys/conf files
sys/dev/twe twe.c twereg.h twevar.h
sys/modules/twe Makefile
Added files:
sys/dev/twe twe_compat.h twe_freebsd.c twe_tables.h
tweio.h
Removed files:
sys/dev/twe twe_disk.c
Log:
Major update to the 'twe' driver.
- Layout reorganisation to enhance portability. The driver now has
a relatively MI 'core' and a FreeBSD-specific layer over the top.
Since the NetBSD people have already done their own port, this is
largely just to help me with the BSD/OS port.
- Request ID allocation changed to improve performance (I'd been
considering switching to this approach after having failed to come
up with a better way to dynamically allocate request IDs, and seeing
Andy Doran use it in the NetBSD port of the driver convinced me
that I was wasting my time doing it any other way). Now we just
allocate all the requests up front.
- Maximum request count bumped back to 255 after characterisation
of a firmware issue (off-by-one causing it to crash with 256
outstanding commands).
- Control interface implemented. This allows 3ware's '3dm' utility to
talk to the controller. 3dm will be available from 3ware shortly.
- Controller soft-reset feature added; if the controller signals a
firmware or protocol error, the controller will be reset and all
outstanding commands will be retried.
Revision Changes Path
1.433 +2 -2 src/sys/conf/files
1.3 +854 -1013 src/sys/dev/twe/twe.c
1.3 +296 -67 src/sys/dev/twe/twereg.h
1.2 +166 -55 src/sys/dev/twe/twevar.h
1.5 +27 -2 src/sys/modules/twe/Makefile
To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe cvs-all" in the body of the message
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200010250659.XAA94447>
