freebsd-skq/sys/dev/isp
mjacob 00323bff58 Temporarily desupport simultaneous target and initiator mode.
When the linux port changes were imported which split the
target command list to be separate from the initiator command
list and the handle format changed to encode a type in the handle
the implications to the function isp_handle_index (which only
the NetBSD/OpenBSD/FreeBSD ports use) were overlooked.

The fault is twofold: first, the index into the DMA maps
in  isp_pci is wrong because a target command handle with
the type bit left in place caused a bad index (and panic)
into dma map. Secondly, the assumption of the array
of DMA maps in either PCS or SBUS attachment structures is
that there is a linear mapping between handle index and
DMA map index. This can no longer be true if there are
overlapping index spaces for initiator mode and target
mode commands.

These changes bandaid around the problem by forcing us
to not have simultaneous dual roles and doing the appropriate
masking to make sure things are indexed correctly. A longer
term fix is being devloped.
2007-04-02 01:04:20 +00:00
..
DriverManual.txt
Hardware.txt
isp_freebsd.c Temporarily desupport simultaneous target and initiator mode. 2007-04-02 01:04:20 +00:00
isp_freebsd.h Temporarily desupport simultaneous target and initiator mode. 2007-04-02 01:04:20 +00:00
isp_ioctl.h Fix some stupid copyright mistakes that have been there for quite some time. 2007-03-10 02:39:54 +00:00
isp_library.c Temporarily desupport simultaneous target and initiator mode. 2007-04-02 01:04:20 +00:00
isp_library.h Temporarily desupport simultaneous target and initiator mode. 2007-04-02 01:04:20 +00:00
isp_pci.c Temporarily desupport simultaneous target and initiator mode. 2007-04-02 01:04:20 +00:00
isp_sbus.c Temporarily desupport simultaneous target and initiator mode. 2007-04-02 01:04:20 +00:00
isp_stds.h Fix some stupid copyright mistakes that have been there for quite some time. 2007-03-10 02:39:54 +00:00
isp_target.c Fix some stupid copyright mistakes that have been there for quite some time. 2007-03-10 02:39:54 +00:00
isp_target.h Fix some stupid copyright mistakes that have been there for quite some time. 2007-03-10 02:39:54 +00:00
isp_tpublic.h Fix some stupid copyright mistakes that have been there for quite some time. 2007-03-10 02:39:54 +00:00
isp.c some minor error message cleanups 2007-03-29 21:29:26 +00:00
ispmbox.h Fix some stupid copyright mistakes that have been there for quite some time. 2007-03-10 02:39:54 +00:00
ispreg.h Fix some stupid copyright mistakes that have been there for quite some time. 2007-03-10 02:39:54 +00:00
ispvar.h MFP4: a) Some constification from NetBSD (gcc 4.1.2) 2007-03-22 23:38:32 +00:00