From owner-cvs-all Thu Mar 1 22:29: 0 2001 Delivered-To: cvs-all@freebsd.org Received: from freefall.freebsd.org (freefall.freebsd.org [216.136.204.21]) by hub.freebsd.org (Postfix) with ESMTP id 48E2537B719; Thu, 1 Mar 2001 22:28:56 -0800 (PST) (envelope-from mjacob@FreeBSD.org) Received: (from mjacob@localhost) by freefall.freebsd.org (8.11.1/8.11.1) id f226SuJ72869; Thu, 1 Mar 2001 22:28:56 -0800 (PST) (envelope-from mjacob) Message-Id: <200103020628.f226SuJ72869@freefall.freebsd.org> From: Matt Jacob Date: Thu, 1 Mar 2001 22:28:56 -0800 (PST) To: cvs-committers@FreeBSD.org, cvs-all@FreeBSD.org Subject: cvs commit: src/sys/dev/isp isp.c isp_freebsd.c isp_inline.h isp_pci.c isp_target.c isp_target.h X-FreeBSD-CVS-Branch: HEAD Sender: owner-cvs-all@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG mjacob 2001/03/01 22:28:56 PST Modified files: sys/dev/isp isp.c isp_freebsd.c isp_inline.h isp_pci.c isp_target.c isp_target.h Log: Switch to using 16 bit handles instead of 32 bit handles. This is a pretty invasive change, but there are three good reasons to do this: 1. We'll never have > 16 bits of handle. 2. We can (eventually) enable the RIO (Reduced Interrupt Operation) bits which return multiple completing 16 bit handles in mailbox registers. 3. The !)$*)$*~)@$*~)$* Qlogic target mode for parallel SCSI spec changed such that at_reserved (which was 32 bits) was split into two pieces- and one of which was a 16 bit handle id that functions like the at_rxid for Fibre Channel (a tag for the f/w to correlate CTIOs with a particular command). Since we had to muck with that and this changed the whole handler architecture, we might as well... Propagate new at_handle on through int ct_fwhandle. Follow implications of changing to 16 bit handles. These above changes at least get Qlogic 1040 cards working in target mode again. 1080/12160 cards don't work yet. In isp.c: Prepare for doing all loop management in outer layers. Revision Changes Path 1.61 +52 -17 src/sys/dev/isp/isp.c 1.60 +36 -19 src/sys/dev/isp/isp_freebsd.c 1.14 +15 -15 src/sys/dev/isp/isp_inline.h 1.64 +37 -32 src/sys/dev/isp/isp_pci.c 1.13 +4 -3 src/sys/dev/isp/isp_target.c 1.11 +12 -7 src/sys/dev/isp/isp_target.h To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe cvs-all" in the body of the message