ipmi_get_info_from_resources
if (!ipmi_get_info_from_resources(pdev, &io))
res = ipmi_get_info_from_resources(pdev, &io);