mav 1014013ee5 Make first step toward supporting target and initiator roles same time.
To avoid conflicts between target and initiator devices in CAM, make
CTL use target ID reported by HBA as its initiator_id in XPT_PATH_INQ.
That target ID is known to never be used for initiator role, so it won't
conflict.  For Fibre Channel and FireWire HBAs this specific ID choice
is irrelevant since all target IDs there are virtual. Same time for SPI
HBAs it seems could be even requirement to use same target ID for both
initiator and target roles.

While there are some more things to polish in isp(4) driver, first tests
of using both roles same time on the same port appeared successfull:

# camcontrol devlist -v
scbus0 on isp0 bus 0:
<FREEBSD CTLDISK 0001>             at scbus0 target 1 lun 0 (da20,pass21)
<>                                 at scbus0 target 256 lun 0 (ctl0)
<>                                 at scbus0 target -1 lun ffffffff (ctl1)
2015-07-05 03:38:58 +00:00
..
2015-01-23 15:14:30 +00:00
2015-01-30 01:13:07 +00:00
2015-02-24 01:00:46 +00:00
2015-03-08 19:55:46 +00:00
2015-01-23 15:14:30 +00:00
2015-06-27 09:01:49 +00:00
2015-06-19 17:34:59 +00:00
2015-06-30 17:00:45 +00:00
2015-06-30 17:00:45 +00:00
2014-08-05 23:35:19 +00:00
2014-08-05 23:58:49 +00:00
2015-06-02 22:45:28 +00:00
2014-09-28 07:40:26 +00:00
2015-04-29 20:08:03 +00:00
2014-10-10 14:17:42 +00:00
2014-10-11 19:36:59 +00:00
2015-03-23 19:47:52 +00:00
2015-04-22 14:38:58 +00:00
2014-12-03 00:47:05 +00:00
2015-06-12 13:54:25 +00:00
2014-11-18 21:58:57 +00:00
2015-06-23 22:22:36 +00:00
2015-06-30 17:00:45 +00:00
2015-06-30 17:00:45 +00:00
2015-06-30 17:00:45 +00:00
2014-09-19 03:55:19 +00:00
2015-03-23 19:47:52 +00:00
2015-06-30 17:00:45 +00:00
2014-11-21 21:34:19 +00:00
2015-06-30 17:00:45 +00:00
2015-06-30 17:00:45 +00:00
2014-11-20 20:09:18 +00:00