svn commit: r295810 - head/sys/dev/firewire

Pedro F. Giffuni pfg at FreeBSD.org
Fri Feb 19 15:35:21 UTC 2016


Author: pfg
Date: Fri Feb 19 15:35:20 2016
New Revision: 295810
URL: https://svnweb.freebsd.org/changeset/base/295810

Log:
  firewire: fix a mismatch introduced in r230558.
  
  Found by:	PVS Static Analysis
  Reviewed by:	sbruno
  MFC after:	1 month

Modified:
  head/sys/dev/firewire/sbp_targ.c

Modified: head/sys/dev/firewire/sbp_targ.c
==============================================================================
--- head/sys/dev/firewire/sbp_targ.c	Fri Feb 19 15:11:54 2016	(r295809)
+++ head/sys/dev/firewire/sbp_targ.c	Fri Feb 19 15:35:20 2016	(r295810)
@@ -1324,7 +1324,7 @@ sbp_targ_action1(struct cam_sim *sim, un
 				 | PIT_DISCONNECT
 				 | PIT_TERM_IO;
 		cpi->transport = XPORT_SPI; /* FIXME add XPORT_FW type to cam */
-		cpi->hba_misc = PIM_NOBUSRESET | PIM_NOBUSRESET;
+		cpi->hba_misc = PIM_NOBUSRESET | PIM_NO_6_BYTE;
 		cpi->hba_eng_cnt = 0;
 		cpi->max_target = 7; /* XXX */
 		cpi->max_lun = MAX_LUN - 1;


More information about the svn-src-all mailing list