PERFORCE change 102551 for review

Olivier Houchard cognet at FreeBSD.org
Thu Jul 27 12:29:32 UTC 2006


http://perforce.freebsd.org/chv.cgi?CH=102551

Change 102551 by cognet at cognet on 2006/07/27 12:28:41

	Grrr use the pci softc there too.

Affected files ...

.. //depot/projects/arm/src/sys/arm/xscale/ixp425/ixdp425_pci.c#6 edit

Differences ...

==== //depot/projects/arm/src/sys/arm/xscale/ixp425/ixdp425_pci.c#6 (text+ko) ====

@@ -130,8 +130,8 @@
 	reg = GPIO_CONF_READ_4(sc, IXP425_GPIO_GPOUTR);
 	reg |= 1U << GPIO_PCI_RESET;
 	GPIO_CONF_WRITE_4(sc, IXP425_GPIO_GPOUTR, reg | (1U << GPIO_PCI_RESET));
-	sc->sc_irq_rman.rm_type = RMAN_ARRAY;
-	sc->sc_irq_rman.rm_descr = "IXP425 PCI IRQs";
+	pci_sc->sc_irq_rman.rm_type = RMAN_ARRAY;
+	pci_sc->sc_irq_rman.rm_descr = "IXP425 PCI IRQs";
 	CTASSERT(PCI_INT_D < PCI_INT_A);
 	/* XXX this overlaps the irq's setup in ixp425_attach */
 	if (rman_init(&pci_sc->sc_irq_rman) != 0 ||


More information about the p4-projects mailing list