Source-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[src/trunk]: src/sys/dev/pci Remove unneeded #include "mpu.h"



details:   https://anonhg.NetBSD.org/src/rev/00b1c569e5d8
branches:  trunk
changeset: 485555:00b1c569e5d8
user:      augustss <augustss%NetBSD.org@localhost>
date:      Sun Apr 30 22:16:56 2000 +0000

description:
Remove unneeded #include "mpu.h"

diffstat:

 sys/dev/pci/cmpci.c |  8 +++-----
 1 files changed, 3 insertions(+), 5 deletions(-)

diffs (35 lines):

diff -r 8b0f5a905413 -r 00b1c569e5d8 sys/dev/pci/cmpci.c
--- a/sys/dev/pci/cmpci.c       Sun Apr 30 22:15:30 2000 +0000
+++ b/sys/dev/pci/cmpci.c       Sun Apr 30 22:16:56 2000 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: cmpci.c,v 1.1 2000/04/30 21:59:58 augustss Exp $       */
+/*     $NetBSD: cmpci.c,v 1.2 2000/04/30 22:16:56 augustss Exp $       */
 
 /*
  * Copyright (c) 2000 The NetBSD Foundation, Inc.
@@ -50,8 +50,6 @@
 #define DPRINTF(x)
 #endif
 
-#include "mpu.h"
-
 #include <sys/param.h>
 #include <sys/systm.h>
 #include <sys/kernel.h>
@@ -339,14 +337,14 @@
                break;
        }
 
-    /* map I/O space */
+       /* map I/O space */
        if (pci_mapreg_map(pa, CMPCI_PCI_IOBASEREG, PCI_MAPREG_TYPE_IO, 0,
                 &sc->sc_iot, &sc->sc_ioh, NULL, NULL)) {
                printf("%s: failed to map I/O space\n", sc->sc_dev.dv_xname);
                return;
        }
 
-    /* interrupt */
+       /* interrupt */
        if (pci_intr_map(pa->pa_pc, pa->pa_intrtag, pa->pa_intrpin,
                 pa->pa_intrline, &ih)) {
                printf("%s: failed to map interrupt\n", sc->sc_dev.dv_xname);



Home | Main Index | Thread Index | Old Index