• Krishna Gudipati's avatar
    [SCSI] bfa: Brocade-1860 Fabric Adapter PLL init fixes. · 10a07379
    Krishna Gudipati authored
    - 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: default avatarKrishna Gudipati <kgudipat@brocade.com>
    Signed-off-by: default avatarJames Bottomley <JBottomley@Parallels.com>
    10a07379
bfa_ioc_ct.c 23.7 KB