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

Sean Bruno sbruno at FreeBSD.org
Mon Apr 6 19:33:48 PDT 2009


Author: sbruno
Date: Tue Apr  7 02:33:46 2009
New Revision: 190792
URL: http://svn.freebsd.org/changeset/base/190792

Log:
  Minor updates as a precursor to fixing sbp_targ
  
  firewire.c -- expand a comment and repair a typo
  sbp.h -- define Logical Unit Reset so it can be used in sbp_targ
  
  Reviewed by:	scottl at freebsd.org

Modified:
  head/sys/dev/firewire/firewire.c
  head/sys/dev/firewire/sbp.h

Modified: head/sys/dev/firewire/firewire.c
==============================================================================
--- head/sys/dev/firewire/firewire.c	Tue Apr  7 01:58:29 2009	(r190791)
+++ head/sys/dev/firewire/firewire.c	Tue Apr  7 02:33:46 2009	(r190792)
@@ -1641,7 +1641,11 @@ fw_explore_node(struct fw_device *dfwdev
 				break;
 				
 		}
-		/* inesrt into sorted fwdev list */
+
+		/*
+		 * If the fwdev is not found in the 
+		 * fc->devices TAILQ, then we will add it.
+		 */
 		pfwdev = NULL;
 		STAILQ_FOREACH(tfwdev, &fc->devices, link) {
 			if (tfwdev->eui.hi > fwdev->eui.hi ||

Modified: head/sys/dev/firewire/sbp.h
==============================================================================
--- head/sys/dev/firewire/sbp.h	Tue Apr  7 01:58:29 2009	(r190791)
+++ head/sys/dev/firewire/sbp.h	Tue Apr  7 02:33:46 2009	(r190792)
@@ -121,7 +121,7 @@ struct sbp_status{
 /*   3: Page size not supported */
 /*   4: Access denied */
 #define STATUS_ACCESS_DENY	4
-/*   5: Logical unit not supported */
+#define STATUS_LUR		5
 /*   6: Maximum payload too small */
 /*   7: Reserved for future standardization */
 /*   8: Resource unavailabe */


More information about the svn-src-head mailing list