1
0
mirror of https://git.FreeBSD.org/src.git synced 2024-12-18 10:35:55 +00:00

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
This commit is contained in:
Sean Bruno 2009-04-07 02:33:46 +00:00
parent f561843cf0
commit 4470fe9dbe
Notes: svn2git 2020-12-20 02:59:44 +00:00
svn path=/head/; revision=190792
2 changed files with 6 additions and 2 deletions

View File

@ -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 ||

View File

@ -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 */