Add PIM_SEQSCAN for HBA misc flags and code that understands
authorPeter Avalos <pavalos@dragonflybsd.org>
Sun, 2 Dec 2007 04:22:31 +0000 (04:22 +0000)
committerPeter Avalos <pavalos@dragonflybsd.org>
Sun, 2 Dec 2007 04:22:31 +0000 (04:22 +0000)
commit096db8d674a5f2c9ef1939b812d45984d60ed2fb
tree2d0d45c1563f11230b860211ca51d99d5405c9f8
parentbbcb940f3384d01f8e56cfceaf2a93b28e708a06
Add PIM_SEQSCAN for HBA misc flags and code that understands
what to do with it.

This forces us to scan targets sequentially, not in parallel.
The reason we might want to do this is that SPI negotiation
might not work right at the SIM level if we try to do it
in parallel.

If PIM_SEQSCAN is not set (default), the original behaviour for
probing is unchanged.

LUN probing is still done in parallel for each target in either
case.

Obtained-from: FreeBSD
sys/bus/cam/cam_ccb.h
sys/bus/cam/cam_xpt.c