#ifdef CONFIG_IEEE1394_VERBOSEDEBUG switch (packet->speed_code) { case 2: dump_packet("send packet 400:", packet->header, packet->header_size); break; case 1: dump_packet("send packet 200:", packet->header, packet->header_size); break; default: dump_packet("send packet 100:", packet->header, packet->header_size); } #endif 
dump_packet("send packet", packet->header, packet->header_size, packet->speed_code); 
int hpsb_send_packet(struct hpsb_packet *packet){	struct hpsb_host *host = packet->host;        if (host->is_shutdown)		return -EINVAL;	if (host->in_bus_reset ||	    (packet->generation != get_hpsb_generation(host)))                return -EAGAIN;        packet->state = hpsb_queued;	/* This just seems silly to me */	WARN_ON(packet->no_waiter && packet->expect_response);	if (!packet->no_waiter || packet->expect_response) {		atomic_inc(&packet->refcnt);		/* Set the initial "sendtime" to 10 seconds from now, to		   prevent premature expiry.  If a packet takes more than		   10 seconds to hit the wire, we have bigger problems :) */		packet->sendtime = jiffies + 10 * HZ;		skb_queue_tail(&host->pending_packet_queue, packet->skb);	}        if (packet->node_id == host->node_id) {		/* it is a local request, so handle it locally */                quadlet_t *data;                size_t size = packet->data_size + packet->header_size;                data = kmalloc(size, GFP_ATOMIC);                if (!data) {                        HPSB_ERR("unable to allocate memory for concatenating header and data");                        return -ENOMEM;                }                memcpy(data, packet->header, packet->header_size);                if (packet->data_size)			memcpy(((u8*)data) + packet->header_size, packet->data, packet->data_size);                dump_packet("send packet local:", packet->header,                            packet->header_size);                hpsb_packet_sent(host, packet, packet->expect_response ? ACK_PENDING : ACK_COMPLETE);                hpsb_packet_received(host, data, size, 0);                kfree(data);                return 0;        }        if (packet->type == hpsb_async && packet->node_id != ALL_NODES) {                packet->speed_code =                        host->speed_map[NODEID_TO_NODE(host->node_id) * 64                                       + NODEID_TO_NODE(packet->node_id)];        }#ifdef CONFIG_IEEE1394_VERBOSEDEBUG        switch (packet->speed_code) {        case 2:                dump_packet("send packet 400:", packet->header,                            packet->header_size);                break;        case 1:                dump_packet("send packet 200:", packet->header,                            packet->header_size);                break;        default:                dump_packet("send packet 100:", packet->header,                            packet->header_size);        }#endif        return host->driver->transmit_packet(host, packet);}
4520	/local/tlutelli/issta_data/temp/c/2005_temp/2005/4520/db2fd664f8ac3664dfd94d624c0a871bee937bd5/ieee1394_core.c/buggy/drivers/ieee1394/ieee1394_core.c