diff options
author | mjacob <mjacob@FreeBSD.org> | 2001-05-10 07:08:03 +0000 |
---|---|---|
committer | mjacob <mjacob@FreeBSD.org> | 2001-05-10 07:08:03 +0000 |
commit | a9f3e2fac8271170f007680c9f17e5f741bdc21d (patch) | |
tree | f2fe91ea33ea041d6cae21aff141dd4cd46b656c /sys | |
parent | 36b30174a2a6ce4082ea89df1056c29c02f754b2 (diff) | |
download | FreeBSD-src-a9f3e2fac8271170f007680c9f17e5f741bdc21d.zip FreeBSD-src-a9f3e2fac8271170f007680c9f17e5f741bdc21d.tar.gz |
The new order of things is that dwlpxN is now called pcibN- so hack around
*that* whilst we ponder the best way to decide how to register dwlpx interrupts
with TLSB.
Diffstat (limited to 'sys')
-rw-r--r-- | sys/alpha/tlsb/tlsb.c | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/sys/alpha/tlsb/tlsb.c b/sys/alpha/tlsb/tlsb.c index c8fd6fa..ea4ff54 100644 --- a/sys/alpha/tlsb/tlsb.c +++ b/sys/alpha/tlsb/tlsb.c @@ -210,7 +210,8 @@ tlsb_setup_intr(device_t dev, device_t child, struct resource *i, int f, tlsb0_softc->zsc_intr = intr; tlsb0_softc->zsc_arg = arg; return (0); - } else if (strncmp(device_get_name(child), "dwlpx", 5) == 0) { + } else if (strncmp(device_get_name(device_get_parent(child)), "kft", 3) + == 0) { if (tlsb0_softc->sub_intr == NULL) tlsb0_softc->sub_intr = intr; return (0); @@ -225,7 +226,8 @@ tlsb_teardown_intr(device_t dev, device_t child, struct resource *i, void *c) if (strncmp(device_get_name(child), "zsc", 3) == 0) { tlsb0_softc->zsc_intr = NULL; return (0); - } else if (strncmp(device_get_name(dev), "dwlpx", 5) == 0) { + } else if (strncmp(device_get_name(device_get_parent(child)), "kft", 3) + == 0) { tlsb0_softc->sub_intr = NULL; return (0); } else { |