Source-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[src/trunk]: src/sys/arch/sandpoint/pci Make this distinguishable with native...
details: https://anonhg.NetBSD.org/src/rev/567b294457be
branches: trunk
changeset: 960390:567b294457be
user: rin <rin%NetBSD.org@localhost>
date: Wed Mar 17 14:58:16 2021 +0000
description:
Make this distinguishable with native PCI interrupt.
diffstat:
sys/arch/sandpoint/pci/pciide_machdep.c | 8 +++++---
1 files changed, 5 insertions(+), 3 deletions(-)
diffs (32 lines):
diff -r 7b9bfd6e5516 -r 567b294457be sys/arch/sandpoint/pci/pciide_machdep.c
--- a/sys/arch/sandpoint/pci/pciide_machdep.c Wed Mar 17 14:50:11 2021 +0000
+++ b/sys/arch/sandpoint/pci/pciide_machdep.c Wed Mar 17 14:58:16 2021 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: pciide_machdep.c,v 1.6 2021/03/17 14:50:11 rin Exp $ */
+/* $NetBSD: pciide_machdep.c,v 1.7 2021/03/17 14:58:16 rin Exp $ */
/*
* Copyright (c) 1998 Christopher G. Demetriou. All rights reserved.
@@ -41,7 +41,7 @@
*/
#include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: pciide_machdep.c,v 1.6 2021/03/17 14:50:11 rin Exp $");
+__KERNEL_RCSID(0, "$NetBSD: pciide_machdep.c,v 1.7 2021/03/17 14:58:16 rin Exp $");
#include <sys/param.h>
#include <sys/systm.h>
@@ -63,10 +63,12 @@
#if NISA > 0
int irq;
void *cookie;
+ char intr_xname[INTRDEVNAMEBUF];
irq = PCIIDE_COMPAT_IRQ(chan);
+ snprintf(intr_xname, sizeof(intr_xname), "%s isa", device_xname(dev));
cookie = isa_intr_establish_xname(NULL, irq, IST_LEVEL, IPL_BIO, func,
- arg, device_xname(dev));
+ arg, intr_xname);
if (cookie == NULL)
return (NULL);
aprint_normal_dev(dev, "%s channel interrupting at irq %d\n",
Home |
Main Index |
Thread Index |
Old Index