summaryrefslogtreecommitdiffstats
path: root/sys/amd64
diff options
context:
space:
mode:
authorken <ken@FreeBSD.org>2012-06-26 14:51:35 +0000
committerken <ken@FreeBSD.org>2012-06-26 14:51:35 +0000
commit877f7e22dc80676c9ece47bf58c4a6bdc79be4c7 (patch)
tree7b016bc8afd686b682aaffe21bfcace67afaf0e7 /sys/amd64
parent4183957bce956b38c2e2189a30e2a92d9dc592af (diff)
downloadFreeBSD-src-877f7e22dc80676c9ece47bf58c4a6bdc79be4c7.zip
FreeBSD-src-877f7e22dc80676c9ece47bf58c4a6bdc79be4c7.tar.gz
Fix an issue that caused the kernel to panic inside CTL when trying
to attach to target capable HBAs that implement the old immediate notify (XPT_IMMED_NOTIFY) and notify acknowledge (XPT_NOTIFY_ACK) CCBs. The new API has been in place since SVN change 196008 in 2009. The solution is two-fold: fix CTL to handle the responses from the HBAs, and convert the HBA drivers in question to use the new API. These drivers have not been tested with CTL, so how well they will interoperate with CTL is unknown. scsi_target.c: Update the userland target example code to use the new immediate notify API. scsi_ctl.c: Detect when an immediate notify CCB is returned with CAM_REQ_INVALID or CAM_PROVIDE_FAIL status, and just free it. Fix a duplicate assignment. aic79xx.c, aic79xx_osm.c: Update the aic79xx driver to use the new API. Target mode is not enabled on for this driver, so the changes will have no practical effect. aic7xxx.c, aic7xxx_osm.c: Update the aic7xxx driver to use the new API. sbp_targ.c: Update the firewire target code to work with the new API. mpt_cam.c: Update the mpt(4) driver to work with the new API. Target mode is only enabled for Fibre Channel mpt(4) devices. MFC after: 3 days
Diffstat (limited to 'sys/amd64')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud