freebsd-nq/sys
Matt Jacob f48ce1882f Add a isp_target_putback_atio- we aren't using CCINCR at this time, so
we need a function that tells the Qlogic f/w that a target mode command
is done, so increase the resource count for that lun. Add in a timeout
function to kick the putback again if we fail to do it the first time (we
may not have the request queue space for ATIO push). Split the function
isp_handle_platform_ctio into two parts so that the timeout function for
the ATIO push or isp_handle_platform_ctio can inform CAM that the requested
CTIO(s) are now done.

Clean up (cough) residual handling. What we need for Fibre Channel
is to preserve the at_datalen field from the original incoming ATIO
so we can calculate a 'true' residual.  Unfortunately, we're not
guaranteed to get that back from CAM. We'll *try* to find it hiding
in the periph_priv field (layering violation)- but if an ATIO was
passed in from user land- forget it. This means that we'll probably
get residuals wrong for Fibre Channel commands we're completing
with an error. It's too late to 4.1 release to fix this- too bad.
Luckily the only device we'd really care about this occurring on
is a tape device and they're still so rare as FC attached devices
that this can be considered an untested combination anyway.

Remove all CCINCR usage (resource autoreplenish). When we've proved
to ourself that things are working properly, we can add it back
in.

Make sure we propage 'suggested' sense data from the incoming ATIO
into the created system ATIO- and set sense_len appropriately.
Correctly propagate tag values.

Fall back to the model of generating (well, the functions in isp_pci.c
do the work) multiple CTIOs based upon what we get from XPT. Instead
of being able to pair Qlogic generated ATIOs with CAM ATIOs, and then
to pair CAM CTIOs with Qlogic CTIOs, we have to take the CTIO passed
to us from XPT, and if it implies that we have to generate extra
Qlogic CTIOs, so be it. This means that we have to wait until the
last CTIO in a sequence we generated completes before calling xpt_done.

Executive summary- target mode actually now pretty much works well
enough to tell folks about.
2000-07-18 06:58:28 +00:00
..
alpha Implement pread and pwrite. 2000-07-17 00:17:07 +00:00
amd64 Change the way NMI's are handled. Before, if DDB was enabled and 2000-07-14 11:49:44 +00:00
boot Declare our DEC Alpha cdboot to be a fully released version 1.0. 2000-07-18 04:15:06 +00:00
cam Preserve CAM_DIS_DISCONNECT as passed up from SIM (like 2000-07-17 01:45:51 +00:00
coda Remove 42 unneeded #include <sys/ioccom.h>. 2000-05-03 07:31:38 +00:00
compat Implement pread and pwrite. 2000-07-17 00:17:07 +00:00
compile
conf Rename MDNSECT to MD_NSECT and declare it as something that isn't 2000-07-17 13:13:04 +00:00
contrib/dev Remove these here, these were repocopied to src/sys/ufs/ffs. 2000-06-23 00:11:32 +00:00
crypto sync with kame tree as of july00. tons of bug fixes/improvements. 2000-07-04 16:35:15 +00:00
ddb Previous commit changing SYSCTL_HANDLER_ARGS violated KNF. 2000-07-04 11:25:35 +00:00
dev Add a isp_target_putback_atio- we aren't using CCINCR at this time, so 2000-07-18 06:58:28 +00:00
fs Certain error contitions cause msdosfs_rename() to decrement the 2000-07-14 11:52:56 +00:00
geom Move the truncation code out of vn_open and into the open system call 2000-07-04 03:34:11 +00:00
gnu Add snapshots to the fast filesystem. Most of the changes support 2000-07-11 22:07:57 +00:00
i4b Borrow phk's axe and apply the next stage of config(8)'s evolution. 2000-06-13 22:28:50 +00:00
i386 Rename MDNSECT to MD_NSECT and declare it as something that isn't 2000-07-17 13:13:04 +00:00
isa Don't assume that any ISA device that fails to probe is a PnP device, 2000-07-12 00:42:08 +00:00
isofs/cd9660 Fix memory leakage on module unload. 2000-06-29 01:19:12 +00:00
kern Patch up some bogons in the resource_find() vs resource_find_hard() 2000-07-18 06:08:27 +00:00
libkern Comment out unavailable call. This needs to be revisited when the entropy 2000-06-25 10:15:58 +00:00
miscfs Add snapshots to the fast filesystem. Most of the changes support 2000-07-11 22:07:57 +00:00
modules Add support for Intel's i810 chipset with integrated graphics. An 2000-07-12 10:13:07 +00:00
msdosfs Certain error contitions cause msdosfs_rename() to decrement the 2000-07-14 11:52:56 +00:00
net Initialise ifnet::if_type 2000-07-17 23:21:42 +00:00
netatalk Just need to pass the address family to if_simloop(), not the whole sockaddr. 2000-05-24 21:16:56 +00:00
netatm Just need to pass the address family to if_simloop(), not the whole sockaddr. 2000-05-24 21:16:56 +00:00
netgraph Set NG_INVALID flag when destroying node. 2000-07-14 22:35:13 +00:00
netinet close PR 19544 - ipfw pipe delete causes panic when no pipes defined 2000-07-17 20:03:27 +00:00
netinet6 s/IPSEC_IPV6FWD/IPSEC/. this avoids unexpected behavior on ipv6 fowarding. 2000-07-16 07:56:54 +00:00
netipx Add $FreeBSD$ 2000-05-01 20:32:07 +00:00
netkey Add missing #include to unbreak IPSEC_DEBUG builds 2000-07-07 08:36:00 +00:00
netnatm Back out the previous change to the queue(3) interface. 2000-05-26 02:09:24 +00:00
netncp Previous commit changing SYSCTL_HANDLER_ARGS violated KNF. 2000-07-04 11:25:35 +00:00
netns Clean up some loose ends in the network code, including the X.25 and ISO 2000-02-13 03:32:07 +00:00
nfs Add snapshots to the fast filesystem. Most of the changes support 2000-07-11 22:07:57 +00:00
nfsclient Correctly set the Maximum DHCP Message Size. bootpd now works 2000-06-13 09:32:09 +00:00
nfsserver Add snapshots to the fast filesystem. Most of the changes support 2000-07-11 22:07:57 +00:00
ntfs Back out the previous change to the queue(3) interface. 2000-05-26 02:09:24 +00:00
nwfs Previous commit changing SYSCTL_HANDLER_ARGS violated KNF. 2000-07-04 11:25:35 +00:00
pc98 Make all Ethernet drivers attach using ether_ifattach() and detach using 2000-07-13 22:54:34 +00:00
pccard There is no atdevbase on the alpha. Hide this case statement on alpha until 2000-06-23 22:47:17 +00:00
pci Keep interrupts blocked for all of isp_pci_attach. Redo DMA routines 2000-07-18 06:40:22 +00:00
posix4 Add $FreeBSD$ 2000-05-01 20:32:07 +00:00
powerpc Support bounce buffers for ISA DMA on the alpha. This is required for the 2000-06-19 18:41:27 +00:00
rpc
svr4 Add snapshots to the fast filesystem. Most of the changes support 2000-07-11 22:07:57 +00:00
sys Add randomness write functionality. This does absolutely nothing for 2000-07-17 12:23:04 +00:00
tools remove crufty exec stuff, perl is in the base system 2000-06-27 19:09:55 +00:00
ufs o Marius pointed out an unusually inconvenient upper bound on extended 2000-07-14 03:30:52 +00:00
vm Add snapshots to the fast filesystem. Most of the changes support 2000-07-11 22:07:57 +00:00
Makefile If "MODULES_WITH_WORLD" is defined, sys/modules will be built with the 2000-06-17 10:51:56 +00:00