summaryrefslogtreecommitdiffstats
path: root/sys/dev/isp/isp_library.c
diff options
context:
space:
mode:
authormav <mav@FreeBSD.org>2015-10-05 08:30:49 +0000
committermav <mav@FreeBSD.org>2015-10-05 08:30:49 +0000
commit9b07ecd0998dda43886587a22afa4d7bb60c8ffd (patch)
tree91ebf7467161bde1bba4da2156cbaf84810dea46 /sys/dev/isp/isp_library.c
parent587443b8f97f656b62f9baeabd7245ca7841a5fc (diff)
downloadFreeBSD-src-9b07ecd0998dda43886587a22afa4d7bb60c8ffd.zip
FreeBSD-src-9b07ecd0998dda43886587a22afa4d7bb60c8ffd.tar.gz
MFC r285155:
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)
Diffstat (limited to 'sys/dev/isp/isp_library.c')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud