Print this page
7127 remove -Wno-missing-braces from Makefile.uts
*** 41,84 ****
((x) == PCI_PCIX_VER_2))
errorq_t *pci_target_queue = NULL;
pci_fm_err_t pci_err_tbl[] = {
! PCI_DET_PERR, PCI_STAT_PERROR, NULL, DDI_FM_UNKNOWN,
! PCI_MDPE, PCI_STAT_S_PERROR, PCI_TARG_MDPE, DDI_FM_UNKNOWN,
! PCI_SIG_SERR, PCI_STAT_S_SYSERR, NULL, DDI_FM_FATAL,
! PCI_MA, PCI_STAT_R_MAST_AB, PCI_TARG_MA, DDI_FM_UNKNOWN,
! PCI_REC_TA, PCI_STAT_R_TARG_AB, PCI_TARG_REC_TA, DDI_FM_UNKNOWN,
! PCI_SIG_TA, PCI_STAT_S_TARG_AB, NULL, DDI_FM_UNKNOWN,
! NULL, NULL, NULL, NULL,
};
pci_fm_err_t pci_bdg_err_tbl[] = {
! PCI_DET_PERR, PCI_STAT_PERROR, NULL, DDI_FM_UNKNOWN,
! PCI_MDPE, PCI_STAT_S_PERROR, PCI_TARG_MDPE, DDI_FM_UNKNOWN,
! PCI_REC_SERR, PCI_STAT_S_SYSERR, NULL, DDI_FM_UNKNOWN,
#if defined(__sparc)
! PCI_MA, PCI_STAT_R_MAST_AB, PCI_TARG_MA, DDI_FM_UNKNOWN,
#endif
! PCI_REC_TA, PCI_STAT_R_TARG_AB, PCI_TARG_REC_TA, DDI_FM_UNKNOWN,
! PCI_SIG_TA, PCI_STAT_S_TARG_AB, NULL, DDI_FM_UNKNOWN,
! NULL, NULL, NULL, NULL,
};
static pci_fm_err_t pcix_err_tbl[] = {
! PCIX_SPL_DIS, PCI_PCIX_SPL_DSCD, NULL, DDI_FM_UNKNOWN,
! PCIX_UNEX_SPL, PCI_PCIX_UNEX_SPL, NULL, DDI_FM_UNKNOWN,
! PCIX_RX_SPL_MSG, PCI_PCIX_RX_SPL_MSG, NULL, DDI_FM_UNKNOWN,
! NULL, NULL, NULL, NULL,
};
static pci_fm_err_t pcix_sec_err_tbl[] = {
! PCIX_SPL_DIS, PCI_PCIX_BSS_SPL_DSCD, NULL, DDI_FM_UNKNOWN,
! PCIX_UNEX_SPL, PCI_PCIX_BSS_UNEX_SPL, NULL, DDI_FM_UNKNOWN,
! PCIX_BSS_SPL_OR, PCI_PCIX_BSS_SPL_OR, NULL, DDI_FM_OK,
! PCIX_BSS_SPL_DLY, PCI_PCIX_BSS_SPL_DLY, NULL, DDI_FM_OK,
! NULL, NULL, NULL, NULL,
};
static int
pci_config_check(ddi_acc_handle_t handle, int fme_flag)
{
--- 41,84 ----
((x) == PCI_PCIX_VER_2))
errorq_t *pci_target_queue = NULL;
pci_fm_err_t pci_err_tbl[] = {
! {PCI_DET_PERR, PCI_STAT_PERROR, NULL, DDI_FM_UNKNOWN},
! {PCI_MDPE, PCI_STAT_S_PERROR, PCI_TARG_MDPE, DDI_FM_UNKNOWN},
! {PCI_SIG_SERR, PCI_STAT_S_SYSERR, NULL, DDI_FM_FATAL},
! {PCI_MA, PCI_STAT_R_MAST_AB, PCI_TARG_MA, DDI_FM_UNKNOWN},
! {PCI_REC_TA, PCI_STAT_R_TARG_AB, PCI_TARG_REC_TA, DDI_FM_UNKNOWN},
! {PCI_SIG_TA, PCI_STAT_S_TARG_AB, NULL, DDI_FM_UNKNOWN},
! {NULL, 0, NULL, 0}
};
pci_fm_err_t pci_bdg_err_tbl[] = {
! {PCI_DET_PERR, PCI_STAT_PERROR, NULL, DDI_FM_UNKNOWN},
! {PCI_MDPE, PCI_STAT_S_PERROR, PCI_TARG_MDPE, DDI_FM_UNKNOWN},
! {PCI_REC_SERR, PCI_STAT_S_SYSERR, NULL, DDI_FM_UNKNOWN},
#if defined(__sparc)
! {PCI_MA, PCI_STAT_R_MAST_AB, PCI_TARG_MA, DDI_FM_UNKNOWN},
#endif
! {PCI_REC_TA, PCI_STAT_R_TARG_AB, PCI_TARG_REC_TA, DDI_FM_UNKNOWN},
! {PCI_SIG_TA, PCI_STAT_S_TARG_AB, NULL, DDI_FM_UNKNOWN},
! {NULL, 0, NULL, 0}
};
static pci_fm_err_t pcix_err_tbl[] = {
! {PCIX_SPL_DIS, PCI_PCIX_SPL_DSCD, NULL, DDI_FM_UNKNOWN},
! {PCIX_UNEX_SPL, PCI_PCIX_UNEX_SPL, NULL, DDI_FM_UNKNOWN},
! {PCIX_RX_SPL_MSG, PCI_PCIX_RX_SPL_MSG, NULL, DDI_FM_UNKNOWN},
! {NULL, 0, NULL, 0}
};
static pci_fm_err_t pcix_sec_err_tbl[] = {
! {PCIX_SPL_DIS, PCI_PCIX_BSS_SPL_DSCD, NULL, DDI_FM_UNKNOWN},
! {PCIX_UNEX_SPL, PCI_PCIX_BSS_UNEX_SPL, NULL, DDI_FM_UNKNOWN},
! {PCIX_BSS_SPL_OR, PCI_PCIX_BSS_SPL_OR, NULL, DDI_FM_OK},
! {PCIX_BSS_SPL_DLY, PCI_PCIX_BSS_SPL_DLY, NULL, DDI_FM_OK},
! {NULL, 0, NULL, 0}
};
static int
pci_config_check(ddi_acc_handle_t handle, int fme_flag)
{