summaryrefslogtreecommitdiffstats
path: root/sys/dev/firewire/firewire.c
diff options
context:
space:
mode:
authorsbruno <sbruno@FreeBSD.org>2009-04-07 02:33:46 +0000
committersbruno <sbruno@FreeBSD.org>2009-04-07 02:33:46 +0000
commit5543af2cc03d3bdc1ec93483d78bac22c1c63680 (patch)
tree9831ac0437f5bd128e8333aa6a5a3bdce11db760 /sys/dev/firewire/firewire.c
parent32d7e7cf1f25a1fab6a33e94282d6ecf488e0cfc (diff)
downloadFreeBSD-src-5543af2cc03d3bdc1ec93483d78bac22c1c63680.zip
FreeBSD-src-5543af2cc03d3bdc1ec93483d78bac22c1c63680.tar.gz
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
Diffstat (limited to 'sys/dev/firewire/firewire.c')
-rw-r--r--sys/dev/firewire/firewire.c6
1 files changed, 5 insertions, 1 deletions
diff --git a/sys/dev/firewire/firewire.c b/sys/dev/firewire/firewire.c
index c2d4edf..c2484ae 100644
--- a/sys/dev/firewire/firewire.c
+++ b/sys/dev/firewire/firewire.c
@@ -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 ||
OpenPOWER on IntegriCloud