Date: Sat, 26 Apr 2008 18:05:32 GMT From: Marius Strobl <marius@FreeBSD.org> To: Perforce Change Reviews <perforce@freebsd.org> Subject: PERFORCE change 140687 for review Message-ID: <200804261805.m3QI5WAr048673@repoman.freebsd.org>
index | next in thread | raw e-mail
http://perforce.freebsd.org/chv.cgi?CH=140687 Change 140687 by marius@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) {home | help
Want to link to this message? Use this
URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200804261805.m3QI5WAr048673>
