PCIM_MSIXCTRL_MSIX_ENABLE
rwmask = PCIM_MSIXCTRL_MSIX_ENABLE | PCIM_MSIXCTRL_FUNCTION_MASK;
pi->pi_msix.enabled = val & PCIM_MSIXCTRL_MSIX_ENABLE;