From owner-svn-src-head@FreeBSD.ORG Tue Apr 7 02:33:47 2009 Return-Path: Delivered-To: svn-src-head@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 7B13C10656D8; Tue, 7 Apr 2009 02:33:47 +0000 (UTC) (envelope-from sbruno@FreeBSD.org) Received: from svn.freebsd.org (svn.freebsd.org [IPv6:2001:4f8:fff6::2c]) by mx1.freebsd.org (Postfix) with ESMTP id 6862C8FC08; Tue, 7 Apr 2009 02:33:47 +0000 (UTC) (envelope-from sbruno@FreeBSD.org) Received: from svn.freebsd.org (localhost [127.0.0.1]) by svn.freebsd.org (8.14.3/8.14.3) with ESMTP id n372Xl6W090409; Tue, 7 Apr 2009 02:33:47 GMT (envelope-from sbruno@svn.freebsd.org) Received: (from sbruno@localhost) by svn.freebsd.org (8.14.3/8.14.3/Submit) id n372XlC9090407; Tue, 7 Apr 2009 02:33:47 GMT (envelope-from sbruno@svn.freebsd.org) Message-Id: <200904070233.n372XlC9090407@svn.freebsd.org> From: Sean Bruno Date: Tue, 7 Apr 2009 02:33:46 +0000 (UTC) To: src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-head@freebsd.org X-SVN-Group: head MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Cc: Subject: svn commit: r190792 - head/sys/dev/firewire X-BeenThere: svn-src-head@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: SVN commit messages for the src tree for head/-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 07 Apr 2009 02:33:48 -0000 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 */