freebsd-dev/sys/dev/firewire
Kenneth D. Merry b79dc8a8da 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
2012-06-26 14:51:35 +00:00
..
00README Remove references to MAKEDEV(8) 2010-11-15 05:25:51 +00:00
firewire_phy.h
firewire.c - There's no need to overwrite the default device method with the default 2011-11-22 21:28:20 +00:00
firewire.h
firewirereg.h
fwcrom.c
fwdev.c
fwdma.c
fwdma.h
fwmem.c Mark all SYSCTL_NODEs static that have no corresponding SYSCTL_DECLs. 2011-11-07 15:43:11 +00:00
fwmem.h
fwohci_pci.c - There's no need to overwrite the default device method with the default 2011-11-22 21:28:20 +00:00
fwohci.c When we see an interrupt status of 0xffffffff, check to see if the 2011-06-21 03:07:59 +00:00
fwohcireg.h
fwohcivar.h
fwphyreg.h
iec13213.h
iec68113.h
if_fwe.c ether_ifattach() sets if_mtu to ETHERMTU, don't bother set it again 2012-01-07 09:41:57 +00:00
if_fwevar.h
if_fwip.c Mark all SYSCTL_NODEs static that have no corresponding SYSCTL_DECLs. 2011-11-07 15:43:11 +00:00
if_fwipvar.h
sbp_targ.c Fix an issue that caused the kernel to panic inside CTL when trying 2012-06-26 14:51:35 +00:00
sbp.c Mark all SYSCTL_NODEs static that have no corresponding SYSCTL_DECLs. 2011-11-07 15:43:11 +00:00
sbp.h