From owner-cvs-all Mon Feb 4 13: 4:53 2002 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 E7AD237B41F; Mon, 4 Feb 2002 13:04:42 -0800 (PST) Received: (from mjacob@localhost) by freefall.freebsd.org (8.11.6/8.11.6) id g14L4gI89179; Mon, 4 Feb 2002 13:04:42 -0800 (PST) (envelope-from mjacob) Message-Id: <200202042104.g14L4gI89179@freefall.freebsd.org> From: Matt Jacob Date: Mon, 4 Feb 2002 13:04:42 -0800 (PST) To: cvs-committers@FreeBSD.org, cvs-all@FreeBSD.org Subject: cvs commit: src/sys/dev/isp isp.c isp_freebsd.h isp_inline.h isp_ioctl.h isp_pci.c isp_target.c isp_target.h ispmbox.h ispreg.h ispvar.h X-FreeBSD-CVS-Branch: HEAD Sender: owner-cvs-all@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG mjacob 2002/02/04 13:04:42 PST Modified files: sys/dev/isp isp.c isp_freebsd.h isp_inline.h isp_ioctl.h isp_pci.c isp_target.c isp_target.h ispmbox.h ispreg.h ispvar.h Log: + A variety of 23XX changes: disable MWI on 2300 based on function code, set an 'isp_port' for the 2312- it's a separate instance, but the NVRAM is shared, and the second port's NVRAM is at offset 256. + Enable RIO operation for LVD SCSI cards. This makes a *big* difference as even under reasonable load we get batched completions of about 30 commands at a time on, say, an ISP1080. + Do 'continuation' mailbox commands- this allows us to specify a work area within the softc and 'continue' repeated mailbox commands. This is more or less on an ad hoc basis and is currently only used for firmware loading (which f/w now loads substantially faster becuase the calling thread is only woken when all the f/w words are loaded- not for each one of the 40000 f/w words that gets loaded). + If we're about to return from isp_intr with a 'bogus interrupt' indication, and we're not a 23XX card, check to see whether the semaphore register is currently *2* (not *1* as it should be) and whether there's an async completion sitting in outgoing mailbox0. This seems to capture cases of lost fast posting and RIO interrupts that the 12160 && 1080 have been known to pump out under extreme load (extreme, as in > 250 active commands). + FC_SCRATCH_ACQUIRE/FC_SCRATCH_RELEASE macros. + Endian correct swizzle/unswizzle of an ATIO2 that has a WWPN in it. MFC after: 1 week Revision Changes Path 1.85 +153 -34 src/sys/dev/isp/isp.c 1.58 +8 -3 src/sys/dev/isp/isp_freebsd.h 1.21 +11 -5 src/sys/dev/isp/isp_inline.h 1.3 +6 -6 src/sys/dev/isp/isp_ioctl.h 1.76 +19 -2 src/sys/dev/isp/isp_pci.c 1.20 +5 -0 src/sys/dev/isp/isp_target.c 1.18 +3 -2 src/sys/dev/isp/isp_target.h 1.38 +3 -1 src/sys/dev/isp/ispmbox.h 1.21 +3 -2 src/sys/dev/isp/ispreg.h 1.53 +9 -2 src/sys/dev/isp/ispvar.h To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe cvs-all" in the body of the message