/* This will be called when a packet has been successfully sent.  */
static void adb_iop_complete(struct iop_msg *msg)
/* This will be called when a packet has been successfully sent.  */
static void adb_iop_complete(struct iop_msg *msg)
{
	struct adb_request *req;
	uint flags;
	local_irq_save(flags);
	req = current_req;
	if ((adb_iop_state == sending) && req && req->reply_expected) {
		adb_iop_state = awaiting_reply;
	}
	local_irq_restore(flags);
}