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