/* on newer systems PDC gives the address of the ROM in the additional address field addr while on older Systems the PDC stores it in page0->proc_sti  */
static int __devinit sticore_pa_init(struct parisc_device *dev)
/* on newer systems PDC gives the address of the ROM in the additional address field addr while on older Systems the PDC stores it in page0->proc_sti  */
static int __devinit sticore_pa_init(struct parisc_device *dev)
{
	char pa_path[21];
	struct sti_struct *sti = NULL;
	int hpa = dev->hpa.start;
	if (dev->num_addrs && dev->addr[0])
		sti = sti_try_rom_generic(dev->addr[0], hpa, NULL);
	if (!sti)
		sti = sti_try_rom_generic(hpa, hpa, NULL);
	if (!sti)
		sti = sti_try_rom_generic(PAGE0->proc_sti, hpa, NULL);
	if (!sti)
		return 1;
	print_pa_hwpath(dev, pa_path);
	sticore_check_for_default_sti(sti, pa_path);
	return 0;
}