diff options
author | Sean Bruno <sbruno@FreeBSD.org> | 2009-04-07 02:33:46 +0000 |
---|---|---|
committer | Sean Bruno <sbruno@FreeBSD.org> | 2009-04-07 02:33:46 +0000 |
commit | 4470fe9dbec61e4621ff2851d4e2b24e1725daec (patch) | |
tree | 9831ac0437f5bd128e8333aa6a5a3bdce11db760 /sys/dev/firewire | |
parent | f561843cf0907b4bcc627cf8b58c8043e66ab54f (diff) | |
download | src-4470fe9dbec61e4621ff2851d4e2b24e1725daec.tar.gz src-4470fe9dbec61e4621ff2851d4e2b24e1725daec.zip |
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
Notes
Notes:
svn path=/head/; revision=190792
Diffstat (limited to 'sys/dev/firewire')
-rw-r--r-- | sys/dev/firewire/firewire.c | 6 | ||||
-rw-r--r-- | sys/dev/firewire/sbp.h | 2 |
2 files changed, 6 insertions, 2 deletions
diff --git a/sys/dev/firewire/firewire.c b/sys/dev/firewire/firewire.c index c2d4edf8073c..c2484ae52496 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 || diff --git a/sys/dev/firewire/sbp.h b/sys/dev/firewire/sbp.h index 9f85fab38de5..fcfa514cce84 100644 --- a/sys/dev/firewire/sbp.h +++ b/sys/dev/firewire/sbp.h @@ -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 */ |