Source-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[src/trunk]: src/sys/dev/pci/bktr use pci_intr_establish_xname()
details: https://anonhg.NetBSD.org/src/rev/6be853672b39
branches: trunk
changeset: 446521:6be853672b39
user: jdolecek <jdolecek%NetBSD.org@localhost>
date: Sun Dec 09 11:22:35 2018 +0000
description:
use pci_intr_establish_xname()
diffstat:
sys/dev/pci/bktr/bktr_os.c | 8 ++++----
1 files changed, 4 insertions(+), 4 deletions(-)
diffs (31 lines):
diff -r b5a98ef3347f -r 6be853672b39 sys/dev/pci/bktr/bktr_os.c
--- a/sys/dev/pci/bktr/bktr_os.c Sun Dec 09 11:14:01 2018 +0000
+++ b/sys/dev/pci/bktr/bktr_os.c Sun Dec 09 11:22:35 2018 +0000
@@ -1,6 +1,6 @@
/* $SourceForge: bktr_os.c,v 1.5 2003/03/11 23:11:25 thomasklausner Exp $ */
-/* $NetBSD: bktr_os.c,v 1.67 2016/07/14 10:19:06 msaitoh Exp $ */
+/* $NetBSD: bktr_os.c,v 1.68 2018/12/09 11:22:35 jdolecek Exp $ */
/* $FreeBSD: src/sys/dev/bktr/bktr_os.c,v 1.20 2000/10/20 08:16:53 roger Exp$ */
/*
@@ -51,7 +51,7 @@
*/
#include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: bktr_os.c,v 1.67 2016/07/14 10:19:06 msaitoh Exp $");
+__KERNEL_RCSID(0, "$NetBSD: bktr_os.c,v 1.68 2018/12/09 11:22:35 jdolecek Exp $");
#ifdef __FreeBSD__
#include "bktr.h"
@@ -1506,8 +1506,8 @@
return;
}
intrstr = pci_intr_string(pa->pa_pc, ih, intrbuf, sizeof(intrbuf));
- bktr->ih = pci_intr_establish(pa->pa_pc, ih, IPL_VIDEO,
- bktr_intr, bktr);
+ bktr->ih = pci_intr_establish_xname(pa->pa_pc, ih, IPL_VIDEO,
+ bktr_intr, bktr, device_xname(bktr->bktr_dev));
if (bktr->ih == NULL) {
aprint_error("%s: couldn't establish interrupt",
bktr_name(bktr));
Home |
Main Index |
Thread Index |
Old Index