Source-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[src/trunk]: src/sys/arch/evbarm/ixm1200 - <sys/extent.h> not needed here.
details: https://anonhg.NetBSD.org/src/rev/0753f85a7140
branches: trunk
changeset: 934729:0753f85a7140
user: thorpej <thorpej%NetBSD.org@localhost>
date: Wed Jun 17 06:59:45 2020 +0000
description:
- <sys/extent.h> not needed here.
- Fix interrupt string buffer name.
diffstat:
sys/arch/evbarm/ixm1200/nappi_nppb.c | 8 +++-----
1 files changed, 3 insertions(+), 5 deletions(-)
diffs (36 lines):
diff -r f2674f601d94 -r 0753f85a7140 sys/arch/evbarm/ixm1200/nappi_nppb.c
--- a/sys/arch/evbarm/ixm1200/nappi_nppb.c Wed Jun 17 06:48:06 2020 +0000
+++ b/sys/arch/evbarm/ixm1200/nappi_nppb.c Wed Jun 17 06:59:45 2020 +0000
@@ -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 <ichiro%ichiro.org@localhost>.
@@ -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 @@
#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 @@
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",
Home |
Main Index |
Thread Index |
Old Index