PERFORCE change 140687 for review
Marius Strobl
marius at FreeBSD.org
Sat Apr 26 18:05:33 UTC 2008
http://perforce.freebsd.org/chv.cgi?CH=140687
Change 140687 by marius at flak on 2008/04/26 18:04:34
Actually adjust schizo(4) to the removal of isa_irq_pending().
Affected files ...
.. //depot/projects/usiii/sparc64/pci/schizo.c#7 edit
Differences ...
==== //depot/projects/usiii/sparc64/pci/schizo.c#7 (text+ko) ====
@@ -116,7 +116,6 @@
static pcib_read_config_t schizo_read_config;
static pcib_write_config_t schizo_write_config;
static pcib_route_interrupt_t schizo_route_interrupt;
-static ofw_pci_intr_pending_t schizo_intr_pending;
static ofw_bus_get_node_t schizo_get_node;
static device_method_t schizo_methods[] = {
@@ -147,9 +146,6 @@
/* ofw_bus interface */
DEVMETHOD(ofw_bus_get_node, schizo_get_node),
- /* ofw_pci interface */
- DEVMETHOD(ofw_pci_intr_pending, schizo_intr_pending),
-
{ 0, 0 }
};
@@ -1174,16 +1170,6 @@
return (sc->sc_pci_dmat);
}
-static int
-schizo_intr_pending(device_t dev, ofw_pci_intr_t intr)
-{
- struct schizo_softc *sc;
-
- sc = device_get_softc(dev);
- return (SCZTOM_PCI_READ_8(sc, SCZTOM_PCI_IOBIO_DIAG) >>
- ((intr & 0x1f) << 1) != 0);
-}
-
static phandle_t
schizo_get_node(device_t bus, device_t dev)
{
More information about the p4-projects
mailing list