Subject: CVS commit: syssrc/sys/dev/ic
To: None <>
From: Matthew Jacob <>
List: source-changes
Date: 04/05/2002 02:38:52
Module Name:	syssrc
Committed By:	mjacob
Date:		Thu Apr  4 23:38:51 UTC 2002

Modified Files:
	syssrc/sys/dev/ic: isp.c isp_inline.h isp_netbsd.c isp_netbsd.h
	    ispmbox.h ispvar.h

Log Message:
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.

To generate a diff of this commit:
cvs rdiff -r1.90 -r1.91 syssrc/sys/dev/ic/isp.c
cvs rdiff -r1.17 -r1.18 syssrc/sys/dev/ic/isp_inline.h
cvs rdiff -r1.52 -r1.53 syssrc/sys/dev/ic/isp_netbsd.c
cvs rdiff -r1.49 -r1.50 syssrc/sys/dev/ic/isp_netbsd.h
cvs rdiff -r1.38 -r1.39 syssrc/sys/dev/ic/ispmbox.h
cvs rdiff -r1.54 -r1.55 syssrc/sys/dev/ic/ispvar.h

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.