From fd5fcd7c1a27c92de9db1a7f26e34246b451b72c Mon Sep 17 00:00:00 2001 From: Matt Jacob Date: Thu, 10 May 2001 06:52:56 +0000 Subject: [PATCH] add alpha_pci_route_interrupt method --- sys/alpha/tlsb/dwlpx.c | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/sys/alpha/tlsb/dwlpx.c b/sys/alpha/tlsb/dwlpx.c index e9b621e375d0..2f778ef64616 100644 --- a/sys/alpha/tlsb/dwlpx.c +++ b/sys/alpha/tlsb/dwlpx.c @@ -66,6 +66,7 @@ #include #include #include +#include #include #include #include @@ -153,7 +154,7 @@ dwlpx_probe(device_t dev) sc->bushose = (io << 2) | hose; if (dwlpxs[io][hose]) { - printf("%s: already attached\n", device_get_nameunit(dev)); + device_printf(dev, "already attached\n"); return EEXIST; } if ((xc = dwlpx_root) == NULL) { @@ -326,7 +327,7 @@ dwlpx_attach(device_t dev) /* - * Register our interrupt service requirements with out parent. + * Register our interrupt service requirements with our parent. */ i = BUS_SETUP_INTR(parent, dev, NULL, INTR_TYPE_MISC, dwlpx_intr, 0, &intr); @@ -856,6 +857,7 @@ static device_method_t dwlpx_methods[] = { DEVMETHOD(pcib_maxslots, dwlpx_maxslots), DEVMETHOD(pcib_read_config, dwlpx_read_config), DEVMETHOD(pcib_write_config, dwlpx_write_config), + DEVMETHOD(pcib_route_interrupt, alpha_pci_route_interrupt), { 0, 0 } };