diff options
| author | jdolecek <jdolecek@NetBSD.org> | 2018-10-15 18:58:35 +0000 |
|---|---|---|
| committer | jdolecek <jdolecek@NetBSD.org> | 2018-10-15 18:58:35 +0000 |
| commit | 85ec80e407cde24970db38752bf3dd412a491eb7 (patch) | |
| tree | 350204b36538aff72daf7fa9b489038795f17837 /sys/dev | |
| parent | becacb0337d4315f0ff6eb0eeb656070c1264f15 (diff) | |
revert previous, arm doesn't have intr_establish_xname()
pointed out by jmcneill
Diffstat (limited to 'sys/dev')
| -rw-r--r-- | sys/dev/acpi/ahcisata_acpi.c | 7 |
1 files changed, 3 insertions, 4 deletions
diff --git a/sys/dev/acpi/ahcisata_acpi.c b/sys/dev/acpi/ahcisata_acpi.c index 040f21791d8..102b9f4f9b5 100644 --- a/sys/dev/acpi/ahcisata_acpi.c +++ b/sys/dev/acpi/ahcisata_acpi.c @@ -1,4 +1,4 @@ -/* $NetBSD: ahcisata_acpi.c,v 1.2 2018/10/15 06:58:08 jdolecek Exp $ */ +/* $NetBSD: ahcisata_acpi.c,v 1.3 2018/10/15 18:58:35 jdolecek Exp $ */ /*- * Copyright (c) 2018 The NetBSD Foundation, Inc. @@ -30,7 +30,7 @@ */ #include <sys/cdefs.h> -__KERNEL_RCSID(0, "$NetBSD: ahcisata_acpi.c,v 1.2 2018/10/15 06:58:08 jdolecek Exp $"); +__KERNEL_RCSID(0, "$NetBSD: ahcisata_acpi.c,v 1.3 2018/10/15 18:58:35 jdolecek Exp $"); #include <sys/param.h> #include <sys/bus.h> @@ -103,8 +103,7 @@ ahcisata_acpi_attach(device_t parent, device_t self, void *aux) } const int type = (irq->ar_type == ACPI_EDGE_SENSITIVE) ? IST_EDGE : IST_LEVEL; - ih = intr_establish_xname(irq->ar_irq, IPL_BIO, type, ahci_intr, sc, - device_xname(self)); + ih = intr_establish(irq->ar_irq, IPL_BIO, type, ahci_intr, sc); if (ih == NULL) { aprint_error_dev(self, "couldn't install interrupt handler\n"); return; |
