Module Name: src
Committed By: thorpej
Date: Wed Jun 17 06:59:45 UTC 2020
Modified Files:
src/sys/arch/evbarm/ixm1200: nappi_nppb.c
Log Message:
- <sys/extent.h> not needed here.
- Fix interrupt string buffer name.
To generate a diff of this commit:
cvs rdiff -u -r1.13 -r1.14 src/sys/arch/evbarm/ixm1200/nappi_nppb.c
Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.
Modified files:
Index: src/sys/arch/evbarm/ixm1200/nappi_nppb.c
diff -u src/sys/arch/evbarm/ixm1200/nappi_nppb.c:1.13 src/sys/arch/evbarm/ixm1200/nappi_nppb.c:1.14
--- src/sys/arch/evbarm/ixm1200/nappi_nppb.c:1.13 Sat Mar 29 19:28:27 2014
+++ src/sys/arch/evbarm/ixm1200/nappi_nppb.c Wed Jun 17 06:59:45 2020
@@ -1,4 +1,4 @@
-/* $NetBSD: nappi_nppb.c,v 1.13 2014/03/29 19:28:27 christos Exp $ */
+/* $NetBSD: nappi_nppb.c,v 1.14 2020/06/17 06:59:45 thorpej Exp $ */
/*
* Copyright (c) 2002, 2003
* Ichiro FUKUHARA <[email protected]>.
@@ -27,7 +27,7 @@
*/
#include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: nappi_nppb.c,v 1.13 2014/03/29 19:28:27 christos Exp $");
+__KERNEL_RCSID(0, "$NetBSD: nappi_nppb.c,v 1.14 2020/06/17 06:59:45 thorpej Exp $");
#include "pci.h"
#include "opt_pci.h"
@@ -36,8 +36,6 @@ __KERNEL_RCSID(0, "$NetBSD: nappi_nppb.c
#include <sys/param.h>
#include <sys/systm.h>
#include <sys/device.h>
-#include <sys/extent.h>
-#include <sys/malloc.h>
#include <sys/bus.h>
@@ -163,7 +161,7 @@ nppbattach(device_t parent, device_t sel
printf("%s: couldn't map interrupt\n", device_xname(self));
return;
}
- intrstr = pci_intr_string(pc, ih, buf, sizeof(buf));
+ intrstr = pci_intr_string(pc, ih, intrbuf, sizeof(intrbuf));
sc->sc_ih = pci_intr_establish(pc, ih, IPL_NET, nppb_intr, sc);
if (sc->sc_ih == NULL) {
printf("%s: couldn't establish interrupt",