Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 7 Apr 2009 02:33:46 +0000 (UTC)
From:      Sean Bruno <sbruno@FreeBSD.org>
To:        src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-head@freebsd.org
Subject:   svn commit: r190792 - head/sys/dev/firewire
Message-ID:  <200904070233.n372XlC9090407@svn.freebsd.org>

next in thread | raw e-mail | index | archive | help
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@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 */



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200904070233.n372XlC9090407>