/* fcoe_ctlr_init() - Initialize the FCoE Controller instance @fip: The FCoE controller to initialize  */
void fcoe_ctlr_init(struct fcoe_ctlr *fip)
/* fcoe_ctlr_init() - Initialize the FCoE Controller instance @fip: The FCoE controller to initialize  */
void fcoe_ctlr_init(struct fcoe_ctlr *fip)
{
	fip->state = FIP_ST_LINK_WAIT;
	fip->mode = FIP_ST_AUTO;
	INIT_LIST_HEAD(&fip->fcfs);
	spin_lock_init(&fip->lock);
	fip->flogi_oxid = FC_XID_UNKNOWN;
	setup_timer(&fip->timer, fcoe_ctlr_timeout, (unsigned long)fip);
	INIT_WORK(&fip->link_work, fcoe_ctlr_link_work);
	INIT_WORK(&fip->recv_work, fcoe_ctlr_recv_work);
	skb_queue_head_init(&fip->fip_recv_list);
}