Report which IRQ is used.
This commit is contained in:
parent
79b311d547
commit
f7dcd8b304
@ -1,4 +1,4 @@
|
||||
/* $NetBSD: clock.c,v 1.8 2005/03/09 22:39:21 bouyer Exp $ */
|
||||
/* $NetBSD: clock.c,v 1.9 2005/03/10 21:44:31 bouyer Exp $ */
|
||||
|
||||
/*
|
||||
*
|
||||
@ -34,7 +34,7 @@
|
||||
#include "opt_xen.h"
|
||||
|
||||
#include <sys/cdefs.h>
|
||||
__KERNEL_RCSID(0, "$NetBSD: clock.c,v 1.8 2005/03/09 22:39:21 bouyer Exp $");
|
||||
__KERNEL_RCSID(0, "$NetBSD: clock.c,v 1.9 2005/03/10 21:44:31 bouyer Exp $");
|
||||
|
||||
#include <sys/param.h>
|
||||
#include <sys/systm.h>
|
||||
@ -229,6 +229,8 @@ xen_initclocks()
|
||||
{
|
||||
int irq = bind_virq_to_irq(VIRQ_TIMER);
|
||||
|
||||
aprint_verbose("Xen clock: using irq %d\n", irq);
|
||||
|
||||
get_time_values_from_xen();
|
||||
processed_system_time = shadow_system_time;
|
||||
|
||||
|
@ -1,4 +1,4 @@
|
||||
/* $NetBSD: xencons.c,v 1.3 2005/03/10 00:31:48 xtraeme Exp $ */
|
||||
/* $NetBSD: xencons.c,v 1.4 2005/03/10 21:44:31 bouyer Exp $ */
|
||||
|
||||
/*
|
||||
*
|
||||
@ -33,7 +33,7 @@
|
||||
|
||||
|
||||
#include <sys/cdefs.h>
|
||||
__KERNEL_RCSID(0, "$NetBSD: xencons.c,v 1.3 2005/03/10 00:31:48 xtraeme Exp $");
|
||||
__KERNEL_RCSID(0, "$NetBSD: xencons.c,v 1.4 2005/03/10 21:44:31 bouyer Exp $");
|
||||
|
||||
#include <sys/param.h>
|
||||
#include <sys/ioctl.h>
|
||||
@ -156,6 +156,8 @@ xencons_attach(struct device *parent, struct device *self, void *aux)
|
||||
|
||||
if (xen_start_info.flags & SIF_INITDOMAIN) {
|
||||
int irq = bind_virq_to_irq(VIRQ_CONSOLE);
|
||||
aprint_verbose("%s: using irq %d\n",
|
||||
sc->sc_dev.dv_xname, irq);
|
||||
if (event_set_handler(irq, xencons_intr, sc,
|
||||
IPL_TTY) != 0)
|
||||
printf("console: "
|
||||
|
Loading…
Reference in New Issue
Block a user