0a20de446c
Add support for faster IOC recovery after failure. Split bfa_ioc.c into three files: bfa_ioc.c: Common code shared between crossbow and catapult ASIC's. bfa_ioc_cb.c: Code specific to the crossbow, reg mapping and interrupt related routines. bfa_ioc_ct.c: Code specific to the catapult, reg mapping and interrupt related routines. Fix to make sure IOC reinitialize's properly on enable request - update the ioc_fwstate reg with BFI_IOC_FAIL on ioc disable mbox cmd timeout. Makefile changes to support the 2 newly added files bfa_ioc_cb.c and bfa_ioc_ct.c. Signed-off-by: Krishna Gudipati <kgudipat@brocade.com> Signed-off-by: James Bottomley <James.Bottomley@suse.de>
41 lines
1.1 KiB
C
41 lines
1.1 KiB
C
/*
|
|
* Copyright (c) 2005-2009 Brocade Communications Systems, Inc.
|
|
* All rights reserved
|
|
* www.brocade.com
|
|
*
|
|
* Linux driver for Brocade Fibre Channel Host Bus Adapter.
|
|
*
|
|
* This program is free software; you can redistribute it and/or modify it
|
|
* under the terms of the GNU General Public License (GPL) Version 2 as
|
|
* published by the Free Software Foundation
|
|
*
|
|
* This program is distributed in the hope that it will be useful, but
|
|
* WITHOUT ANY WARRANTY; without even the implied warranty of
|
|
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
|
|
* General Public License for more details.
|
|
*/
|
|
|
|
/**
|
|
* bfa_cna_trcmod.h CNA trace modules
|
|
*/
|
|
|
|
#ifndef __BFA_CNA_TRCMOD_H__
|
|
#define __BFA_CNA_TRCMOD_H__
|
|
|
|
#include <cs/bfa_trc.h>
|
|
|
|
/*
|
|
* !!! Only append to the enums defined here to avoid any versioning
|
|
* !!! needed between trace utility and driver version
|
|
*/
|
|
enum {
|
|
BFA_TRC_CNA_CEE = 1,
|
|
BFA_TRC_CNA_PORT = 2,
|
|
BFA_TRC_CNA_IOC = 3,
|
|
BFA_TRC_CNA_DIAG = 4,
|
|
BFA_TRC_CNA_IOC_CB = 5,
|
|
BFA_TRC_CNA_IOC_CT = 6,
|
|
};
|
|
|
|
#endif /* __BFA_CNA_TRCMOD_H__ */
|