fix a paste-o in a panic message
This commit is contained in:
parent
0a2c5d1e09
commit
20fc3148e0
@ -1,4 +1,4 @@
|
||||
/* $NetBSD: gic_v2m.c,v 1.4 2018/11/16 15:06:21 jmcneill Exp $ */
|
||||
/* $NetBSD: gic_v2m.c,v 1.5 2018/12/07 17:56:41 jakllsch Exp $ */
|
||||
|
||||
/*-
|
||||
* Copyright (c) 2018 The NetBSD Foundation, Inc.
|
||||
@ -32,7 +32,7 @@
|
||||
#define _INTR_PRIVATE
|
||||
|
||||
#include <sys/cdefs.h>
|
||||
__KERNEL_RCSID(0, "$NetBSD: gic_v2m.c,v 1.4 2018/11/16 15:06:21 jmcneill Exp $");
|
||||
__KERNEL_RCSID(0, "$NetBSD: gic_v2m.c,v 1.5 2018/12/07 17:56:41 jakllsch Exp $");
|
||||
|
||||
#include <sys/param.h>
|
||||
#include <sys/kmem.h>
|
||||
@ -128,7 +128,7 @@ gic_v2m_msi_disable(struct gic_v2m_frame *frame, int spi)
|
||||
int off;
|
||||
|
||||
if (!pci_get_capability(pc, tag, PCI_CAP_MSI, &off, NULL))
|
||||
panic("gic_v2m_msi_enable: device is not MSI-capable");
|
||||
panic("gic_v2m_msi_disable: device is not MSI-capable");
|
||||
|
||||
ctl = pci_conf_read(pc, tag, off + PCI_MSI_CTL);
|
||||
ctl &= ~PCI_MSI_CTL_MSI_ENABLE;
|
||||
|
Loading…
Reference in New Issue
Block a user