1. 28 3月, 2012 1 次提交
  2. 30 6月, 2011 4 次提交
    • K
      [SCSI] bfa: Brocade-1860 Fabric Adapter PLL init fixes. · 10a07379
      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: NKrishna Gudipati <kgudipat@brocade.com>
      Signed-off-by: NJames Bottomley <JBottomley@Parallels.com>
      10a07379
    • K
      [SCSI] bfa: Brocade-1860 Fabric Adapter 16Gbs support and flash controller fixes. · 8b070b4a
      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: NKrishna Gudipati <kgudipat@brocade.com>
      Signed-off-by: NJames Bottomley <JBottomley@Parallels.com>
      8b070b4a
    • K
      [SCSI] bfa: IOC and PLL init changes for Brocade-1860 Fabric Adapter. · 775c7742
      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: NKrishna Gudipati <kgudipat@brocade.com>
      Signed-off-by: NJames Bottomley <JBottomley@Parallels.com>
      775c7742
    • K
      [SCSI] bfa: Brocade-1860 Fabric Adapter Hardware Enablement · 11189208
      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: NKrishna Gudipati <kgudipat@brocade.com>
      Signed-off-by: NJames Bottomley <JBottomley@Parallels.com>
      11189208