From 363d709ec69ed6e5287df6fb5a07477d510882de Mon Sep 17 00:00:00 2001 From: vkashyap Date: Tue, 12 Apr 2005 22:07:11 +0000 Subject: The latest release of the FreeBSD driver (twa) for 3ware's 9xxx series controllers. This corresponds to the 9.2 release (for FreeBSD 5.2.1) on the 3ware website. Highlights of this release are: 1. The driver has been re-architected to use a "Common Layer" (all tw_cl* files), which is a consolidation of all OS-independent parts of the driver. The FreeBSD OS specific portions of the driver go into an "OS Layer" (all tw_osl* files). This re-architecture is to achieve better maintainability, consistency of behavior across OS's, and better portability to new OS's (drivers for new OS's can be written by just adding an OS Layer that's specific to the OS, by complying to a "Common Layer Programming Interface" API. 2. The driver takes advantage of multiple processors. 3. The driver has a new firmware image bundled, the new features of which include Online Capacity Expansion and multi-lun support, among others. More details about 3ware's 9.2 release can be found here: http://www.3ware.com/download/Escalade9000Series/9.2/9.2_Release_Notes_Web.pdf Since the Common Layer is used across OS's, the FreeBSD specific include path for header files (/sys/dev/twa) is not part of the #include pre-processor directive in any of the source files. For being able to integrate twa into the kernel despite this, Makefile. has been changed to add the include path to CFLAGS. Reviewed by: scottl --- sys/kern/subr_witness.c | 5 +++++ 1 file changed, 5 insertions(+) (limited to 'sys/kern') diff --git a/sys/kern/subr_witness.c b/sys/kern/subr_witness.c index ae54d5a..ecba17f 100644 --- a/sys/kern/subr_witness.c +++ b/sys/kern/subr_witness.c @@ -386,6 +386,11 @@ static struct witness_order_list_entry order_lists[] = { { "pcicfg", &lock_class_mtx_spin }, { "NDIS thread lock", &lock_class_mtx_spin }, #endif + { "tw_osl_io_lock", &lock_class_mtx_spin }, + { "tw_osl_q_lock", &lock_class_mtx_spin }, + { "tw_cl_io_lock", &lock_class_mtx_spin }, + { "tw_cl_intr_lock", &lock_class_mtx_spin }, + { "tw_cl_gen_lock", &lock_class_mtx_spin }, { NULL, NULL }, { NULL, NULL } }; -- cgit v1.1