Date: Thu, 1 Mar 2001 22:28:56 -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_inline.h isp_pci.c isp_target.c isp_target.h Message-ID: <200103020628.f226SuJ72869@freefall.freebsd.org>
index | next in thread | raw e-mail
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
help
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200103020628.f226SuJ72869>
