15 Dec, 2011

1 commit


27 Jul, 2011

2 commits


30 Jun, 2011

12 commits

  • - Added PHY sub-module.
    - Implemented interface to obtain stats and to
    read/update the fw from the PHY module.

    Signed-off-by: Krishna Gudipati
    Signed-off-by: James Bottomley

    Krishna Gudipati
     
  • - Added diagnostics sub-module to BFA.
    - Implemented interface to perform memtest/loopback test
    and some other diagnostics tests.

    Signed-off-by: Krishna Gudipati
    Signed-off-by: James Bottomley

    Krishna Gudipati
     
  • - Added flash sub-module.
    - Implemented the interface to read/erase/update flash partition.

    Signed-off-by: Krishna Gudipati
    Signed-off-by: James Bottomley

    Krishna Gudipati
     
  • - Added SFP sub-module to BFA.
    - Added interface to collect sfp media info and sfp speed.

    Signed-off-by: Krishna Gudipati
    Signed-off-by: James Bottomley

    Krishna Gudipati
     
  • - If flash controller is halted unconditionally, this results in
    illegal write access to flash controller register domain. Since
    flash controller registers are only accessible once s_clk is started
    - added logic to check for WGN status and halt flash controller only
    if it is already running.
    - Added check to wait for flash controller halt to be completed before
    proceeding with s_clk/l_clk initializations.
    - Removed unnecessary reset logic for PMM 1T memory and moved memory
    initialization after flash access enable.
    - Disable Brocade-1860 asic MBOX interrupt before PLL initialization.
    - Remove reset enable for S_CLK/L_CLK after both PLL initializations
    are complete.

    Signed-off-by: Krishna Gudipati
    Signed-off-by: James Bottomley

    Krishna Gudipati
     
  • - Updated/added data structures and definitions to support FAA protocol.
    - Modified the IOC state machine to support FAA.
    - Introduced FAA feature configuration - enable/disable/query.

    Signed-off-by: Krishna Gudipati
    Signed-off-by: James Bottomley

    Krishna Gudipati
     
  • - Add logic to handle the case where PCI mapping goes away when
    IOCPF state machine is waiting for semaphore.
    - Added logic to unlock hw semaphore if the previos FW boot was
    from flash based and the current FW initialization attempt is from OS.
    - Added fix to update hbfails and hb_count stats during hwerror event.

    Signed-off-by: Krishna Gudipati
    Signed-off-by: James Bottomley

    Krishna Gudipati
     
  • - Added ASIC block configuration APIs:
    - to create/delete/update the physical functions
    - to do adapter/port mode configuration
    - to query the current ASIC block configuration.

    Signed-off-by: Krishna Gudipati
    Signed-off-by: James Bottomley

    Krishna Gudipati
     
  • - Added support for 16Gbps.
    - Added logic to flush pending mailbox command queue when IOC is disabled.
    - Fix to Halt the flash controller during fw initialization - since
    when asic blck is programmed flash controller's continuous access
    blocks f/w access to flash.
    - Added new asic based card types and modified IOC get card model routine.
    - Added PLL init fix to do LPU reset every time we do a memory
    initialization, since not doing so will cause LPU to be
    uninitialized during driver load.
    - Added fix to Halt flash controller before PLL initialization.

    Signed-off-by: Krishna Gudipati
    Signed-off-by: James Bottomley

    Krishna Gudipati
     
  • - Introduced IOC poll mechanism which replaces current interrupt
    based FW READY method.
    - The timer based poll routine in IOC will query the ioc_fwstate
    register to see if there is a state change in FW, and sends the READY event.
    - Bug fixes in the new asic PLL initialization.
    - Added logic to handle CPE/RME queue interrupts before iocfc config done.
    1. Use the queue_process flag to see if iocfc configuration is done
    in INTX mode.
    2. Split the MSIX handler installation in two - one for IOC intr
    handler and the other for cpe/rme queue handler - and delay
    assigning queue handlers until iocfc config is done in MSIX mode.

    Signed-off-by: Krishna Gudipati
    Signed-off-by: James Bottomley

    Krishna Gudipati
     
  • - Added support for Brocade-1860 Fabric Adapter.
    - Made changes to support single firmware image per asic type.
    - Combined bfi_cbreg.h and bfi_ctreg.h defines into bfi_reg.h with
    only minimal defines used by host.
    - Added changes to setup CPE/RME Queue register offsets based on
    firmware response.
    - Removed queue register offset initializations and added register offsets
    to BFI config response message.
    - Added Brocade-1860 asic specific interrupt status definitions and
    mailbox interfaces.

    Signed-off-by: Krishna Gudipati
    Signed-off-by: James Bottomley

    Krishna Gudipati
     
  • Introduced a generic event notification callback function that
    receives IOC_ENABLED, IOC_DISABLED, IOC_FAILED events and notifies the
    modules registered for these events.

    Signed-off-by: Krishna Gudipati
    Signed-off-by: James Bottomley

    Krishna Gudipati
     

25 May, 2011

1 commit

  • Root cause: When kernel crashes, bfa IOC state machine and FW doesn't get
    a notification and hence are not cleanly shutdown. So registers holding
    driver/IOC state information are not reset back to valid disabled/parking
    values. This causes subsequent driver initialization to hang during kdump
    kernel boot.

    Fix description: during the initialization of first PCI function, reset
    corresponding register when unclean shutown is detect by reading chip
    registers. This will make sure that ioc/fw gets clean re-initialization.

    Signed-off-by: Jing Huang
    Signed-off-by: James Bottomley

    Jing Huang
     

31 Dec, 2010

2 commits


22 Dec, 2010

7 commits


21 Dec, 2010

1 commit


26 Oct, 2010

4 commits


17 Sep, 2010

1 commit


28 Jul, 2010

5 commits

  • Update bfa driver API and data structure to support BOFM (IBM BladeCenter
    Open Fabric Manager).

    Signed-off-by: Jing Huang
    Signed-off-by: James Bottomley

    Jing Huang
     
  • Update related data structures to support firmeare configuration.
    Add AEN events related to firmware configuation.

    Signed-off-by: Jing Huang
    Signed-off-by: James Bottomley

    Jing Huang
     
  • This patch fixes the APIs to obtain ioc attributes
    - fix API to obtain wwpn, wwnn, and mac.
    - add API to get mfg wwpn, wwnn, and mac.
    - fix API to obtain wwn of boot target.

    Signed-off-by: Jing Huang
    Signed-off-by: James Bottomley

    Jing Huang
     
  • The patch includes the driver side changes to enable basic PBC (PreBoot
    Configuration) feature.
    - Data structure changes and new definitions for PBC.
    - APIs to access PBC info.
    - Remove unused code.

    Signed-off-by: Jing Huang
    Signed-off-by: James Bottomley

    Jing Huang
     
  • This patch enables support of new mezzanine cards for HP and IBM blade server.

    - Add new pciids for HP and IBM mezzanine card.
    - Add a new firmware image for HP mezzanine card, which is running in
    FC only mode. Rename firmware image to reflect the difference. Change the
    firmware download code accordingly for the above changes.

    Signed-off-by: Jing Huang
    Signed-off-by: James Bottomley

    Jing Huang
     

07 Mar, 2010

4 commits