From owner-cvs-all Thu Apr 4 15:46:13 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 88E0737B41B; Thu, 4 Apr 2002 15:46:01 -0800 (PST) Received: (from mjacob@localhost) by freefall.freebsd.org (8.11.6/8.11.6) id g34Nk1q85730; Thu, 4 Apr 2002 15:46:01 -0800 (PST) (envelope-from mjacob) Message-Id: <200204042346.g34Nk1q85730@freefall.freebsd.org> From: Matt Jacob Date: Thu, 4 Apr 2002 15:46:01 -0800 (PST) To: cvs-committers@FreeBSD.org, cvs-all@FreeBSD.org Subject: cvs commit: src/sys/dev/isp isp.c isp_freebsd.c isp_freebsd.h isp_inline.h isp_pci.c ispmbox.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/04/04 15:46:01 PST Modified files: sys/dev/isp isp.c isp_freebsd.c isp_freebsd.h isp_inline.h isp_pci.c ispmbox.h ispvar.h Log: Fix bus dma segment count to be based off of MAXPHYS, not BUS_SPACE_MAXSIZE. Grumble. I've seen better documented architectures out of Redmond. Redo fabric evaluation to not use GET ALL NEXT (GA_NXT). Switches seem to be trying to wriggle out of supporting this well. Instead, use GID_FT to get a list of Port IDs and then use GPN_ID/GNN_ID to find the port and node wwn. This should make working on fabrics a bit cleaner and more stable. This also caused some cleanup of SNS subcommand canonicalization so that we can actually check for FS_ACC and FS_RJT, and if we get an FS_RJT, print out the reason and explanation codes. We'll keep the old GA_NXT method around if people want to uncomment a controlling definition in ispvar.h. This also had us clean up ISPASYNC_FABRICDEV to use a local lportdb argument and to have the caller explicitly say that a device is at the end of the fabric list. MFC after: 1 week Revision Changes Path 1.91 +381 -70 src/sys/dev/isp/isp.c 1.78 +50 -52 src/sys/dev/isp/isp_freebsd.c 1.61 +1 -1 src/sys/dev/isp/isp_freebsd.h 1.22 +120 -7 src/sys/dev/isp/isp_inline.h 1.81 +4 -11 src/sys/dev/isp/isp_pci.c 1.40 +108 -12 src/sys/dev/isp/ispmbox.h 1.57 +11 -3 src/sys/dev/isp/ispvar.h To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe cvs-all" in the body of the message