/* Save the values of the device bars. Unlike the restore routine, this routine is  */
static void eeh_save_bars(struct pci_dn *pdn)
/* Save the values of the device bars. Unlike the restore routine, this routine is  */
static void eeh_save_bars(struct pci_dn *pdn)
{
	int i;
	if (!pdn )
		return;
	for (i = 0; i < 16; i++)
		rtas_read_config(pdn, i * 4, 4, &pdn->config_space[i]);
}