Source-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[src/trunk]: src/sys/dev/acpi revert previous, arm doesn't have intr_establis...
details: https://anonhg.NetBSD.org/src/rev/f046d4b975a2
branches: trunk
changeset: 445163:f046d4b975a2
user: jdolecek <jdolecek%NetBSD.org@localhost>
date: Mon Oct 15 18:58:35 2018 +0000
description:
revert previous, arm doesn't have intr_establish_xname()
pointed out by jmcneill
diffstat:
sys/dev/acpi/ahcisata_acpi.c | 7 +++----
1 files changed, 3 insertions(+), 4 deletions(-)
diffs (28 lines):
diff -r 1aa24b0c1410 -r f046d4b975a2 sys/dev/acpi/ahcisata_acpi.c
--- a/sys/dev/acpi/ahcisata_acpi.c Mon Oct 15 18:37:19 2018 +0000
+++ b/sys/dev/acpi/ahcisata_acpi.c Mon Oct 15 18:58:35 2018 +0000
@@ -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 @@
}
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;
Home |
Main Index |
Thread Index |
Old Index