patch-2.4.8 linux/drivers/ieee1394/ieee1394_core.c
Next file: linux/drivers/ieee1394/ieee1394_core.h
Previous file: linux/drivers/ieee1394/hosts.c
Back to the patch index
Back to the overall index
- Lines: 54
- Date:
Sun Aug 5 13:12:40 2001
- Orig file:
v2.4.7/linux/drivers/ieee1394/ieee1394_core.c
- Orig date:
Wed Jul 25 17:10:20 2001
diff -u --recursive --new-file v2.4.7/linux/drivers/ieee1394/ieee1394_core.c linux/drivers/ieee1394/ieee1394_core.c
@@ -293,12 +293,13 @@
void hpsb_selfid_received(struct hpsb_host *host, quadlet_t sid)
{
if (host->in_bus_reset) {
- HPSB_DEBUG("Including SelfID 0x%x", sid);
+#ifdef CONFIG_IEEE1394_VERBOSEDEBUG
+ HPSB_INFO("Including SelfID 0x%x", sid);
+#endif
host->topology_map[host->selfid_count++] = sid;
} else {
- /* FIXME - info on which host */
- HPSB_NOTICE("Spurious SelfID packet (0x%08x) received from %s",
- sid, host->template->name);
+ HPSB_NOTICE("Spurious SelfID packet (0x%08x) received from bus %d",
+ sid, (host->node_id & BUS_MASK) >> 6);
}
}
@@ -352,7 +353,7 @@
}
if (ackcode != ACK_PENDING || !packet->expect_response) {
- packet->state = complete;
+ packet->state = completed;
up(&packet->state_change);
up(&packet->state_change);
run_task_queue(&packet->complete_tq);
@@ -505,7 +506,7 @@
break;
}
- packet->state = complete;
+ packet->state = completed;
up(&packet->state_change);
run_task_queue(&packet->complete_tq);
}
@@ -725,7 +726,7 @@
while (lh != &llist) {
packet = list_entry(lh, struct hpsb_packet, list);
lh = lh->next;
- packet->state = complete;
+ packet->state = completed;
packet->ack_code = ACKX_ABORTED;
up(&packet->state_change);
run_task_queue(&packet->complete_tq);
@@ -770,7 +771,7 @@
while (lh != &expiredlist) {
packet = list_entry(lh, struct hpsb_packet, list);
lh = lh->next;
- packet->state = complete;
+ packet->state = completed;
packet->ack_code = ACKX_TIMEOUT;
up(&packet->state_change);
run_task_queue(&packet->complete_tq);
FUNET's LINUX-ADM group, linux-adm@nic.funet.fi
TCL-scripts by Sam Shen (who was at: slshen@lbl.gov)