Date: Thu, 4 Apr 2002 15:46:01 -0800 (PST) From: Matt Jacob <mjacob@FreeBSD.org> 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 Message-ID: <200204042346.g34Nk1q85730@freefall.freebsd.org>
next in thread | raw e-mail | index | archive | help
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
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200204042346.g34Nk1q85730>
