summaryrefslogtreecommitdiffstats
path: root/sys/sun4v
diff options
context:
space:
mode:
authormarius <marius@FreeBSD.org>2008-04-26 11:01:38 +0000
committermarius <marius@FreeBSD.org>2008-04-26 11:01:38 +0000
commitcea060d682520e7be22be9111ea74d28f51de01a (patch)
tree6671742869f22d63c49a444ca1faad75eaf388f4 /sys/sun4v
parent2381edc5468ff27df84fcf44a3cf35b65691e9d7 (diff)
downloadFreeBSD-src-cea060d682520e7be22be9111ea74d28f51de01a.zip
FreeBSD-src-cea060d682520e7be22be9111ea74d28f51de01a.tar.gz
Remove the MD isa_irq_pending() and the underlying PCI-specific
infrastructure. Its only consumer ever was sio(4) and thus was unused on sparc64 since removing the last traces of sio(4) in sparc64 configuration files in favor for uart(4) over three years ago. If similar functionality is required again it should be brought back as an MD intr_pending() which works for all busses by using for example interrupt controller hooks.
Diffstat (limited to 'sys/sun4v')
-rw-r--r--sys/sun4v/sun4v/hv_pci.c11
1 files changed, 0 insertions, 11 deletions
diff --git a/sys/sun4v/sun4v/hv_pci.c b/sys/sun4v/sun4v/hv_pci.c
index d4ed288..204844a 100644
--- a/sys/sun4v/sun4v/hv_pci.c
+++ b/sys/sun4v/sun4v/hv_pci.c
@@ -85,7 +85,6 @@ static pcib_read_config_t hvpci_read_config;
static pcib_write_config_t hvpci_write_config;
static pcib_route_interrupt_t hvpci_route_interrupt;
static ofw_bus_get_node_t hvpci_get_node;
-static ofw_pci_intr_pending_t hvpci_intr_pending;
static device_method_t hv_pcib_methods[] = {
/* Device interface */
@@ -116,9 +115,6 @@ static device_method_t hv_pcib_methods[] = {
/* ofw_bus interface */
DEVMETHOD(ofw_bus_get_node, hvpci_get_node),
- /* ofw_pci interface */
- DEVMETHOD(ofw_pci_intr_pending, hvpci_intr_pending),
-
{ 0, 0 }
};
@@ -357,13 +353,6 @@ hvpci_get_node(device_t bus, device_t dev)
}
static int
-hvpci_intr_pending(device_t dev, ofw_pci_intr_t intr)
-{
- /* XXX - implement */
- panic("unimplemnted");
-}
-
-static int
hvpci_read_ivar(device_t dev, device_t child, int which, uintptr_t *result)
{
struct hvpci_softc *sc;
OpenPOWER on IntegriCloud