/* PROM sets the IRQ retry value too low, increase it. */ psycho_write(p->pbm_A.controller_regs + PSYCHO_IRQ_RETRY, 0xff); 
psycho_write(p->pbm_A.controller_regs + PSYCHO_IRQ_RETRY, 5); 
static void psycho_controller_hwinit(struct pci_controller_info *p){	u64 tmp;	/* PROM sets the IRQ retry value too low, increase it. */	psycho_write(p->pbm_A.controller_regs + PSYCHO_IRQ_RETRY, 0xff);	/* Enable arbiter for all PCI slots. */	tmp = psycho_read(p->pbm_A.controller_regs + PSYCHO_PCIA_CTRL);	tmp |= PSYCHO_PCICTRL_AEN;	psycho_write(p->pbm_A.controller_regs + PSYCHO_PCIA_CTRL, tmp);	tmp = psycho_read(p->pbm_A.controller_regs + PSYCHO_PCIB_CTRL);	tmp |= PSYCHO_PCICTRL_AEN;	psycho_write(p->pbm_A.controller_regs + PSYCHO_PCIB_CTRL, tmp);	/* Disable DMA write / PIO read synchronization on	 * both PCI bus segments.	 * [ U2P Erratum 1243770, STP2223BGA data sheet ]	 */	tmp = psycho_read(p->pbm_A.controller_regs + PSYCHO_PCIA_DIAG);	tmp |= PSYCHO_PCIDIAG_DDWSYNC;	psycho_write(p->pbm_A.controller_regs + PSYCHO_PCIA_DIAG, tmp);	tmp = psycho_read(p->pbm_A.controller_regs + PSYCHO_PCIB_DIAG);	tmp |= PSYCHO_PCIDIAG_DDWSYNC;	psycho_write(p->pbm_A.controller_regs + PSYCHO_PCIB_DIAG, tmp);}
10457	/local/tlutelli/issta_data/temp/c/2005_temp/2005/10457/864ae180074931f3a28c84ea85aa8cfeca18bc4f/pci_psycho.c/buggy/arch/sparc64/kernel/pci_psycho.c