Source-Changes-HG archive

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

[src/trunk]: src/sys/arch/amiga/pci adapt to extent(9) changes



details:   https://anonhg.NetBSD.org/src/rev/04bf4defa00a
branches:  trunk
changeset: 773241:04bf4defa00a
user:      para <para%NetBSD.org@localhost>
date:      Sun Jan 29 15:32:52 2012 +0000

description:
adapt to extent(9) changes

diffstat:

 sys/arch/amiga/pci/mppb.c |  6 +++---
 sys/arch/amiga/pci/p5pb.c |  8 ++++----
 2 files changed, 7 insertions(+), 7 deletions(-)

diffs (45 lines):

diff -r 08e9b7aa3725 -r 04bf4defa00a sys/arch/amiga/pci/mppb.c
--- a/sys/arch/amiga/pci/mppb.c Sun Jan 29 14:57:31 2012 +0000
+++ b/sys/arch/amiga/pci/mppb.c Sun Jan 29 15:32:52 2012 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: mppb.c,v 1.5 2012/01/19 00:14:08 rkujawa Exp $ */
+/*     $NetBSD: mppb.c,v 1.6 2012/01/29 15:32:52 para Exp $ */
 
 /*-
  * Copyright (c) 2011 The NetBSD Foundation, Inc.
@@ -168,9 +168,9 @@
 
 #ifdef PCI_NETBSD_CONFIGURE
        ioext = extent_create("mppbio",  MPPB_IO_BASE, 
-           MPPB_IO_BASE + MPPB_IO_SIZE, M_DEVBUF, NULL, 0, EX_NOWAIT);
+           MPPB_IO_BASE + MPPB_IO_SIZE, NULL, 0, EX_NOWAIT);
        memext = extent_create("mppbmem",  MPPB_MEM_BASE, 
-           MPPB_MEM_BASE + MPPB_MEM_SIZE, M_DEVBUF, NULL, 0, EX_NOWAIT);
+           MPPB_MEM_BASE + MPPB_MEM_SIZE, NULL, 0, EX_NOWAIT);
 
 #ifdef MPPB_DEBUG      
        aprint_normal("mppb: reconfiguring the bus!\n");
diff -r 08e9b7aa3725 -r 04bf4defa00a sys/arch/amiga/pci/p5pb.c
--- a/sys/arch/amiga/pci/p5pb.c Sun Jan 29 14:57:31 2012 +0000
+++ b/sys/arch/amiga/pci/p5pb.c Sun Jan 29 15:32:52 2012 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: p5pb.c,v 1.7 2012/01/24 00:20:45 rkujawa Exp $ */
+/*     $NetBSD: p5pb.c,v 1.8 2012/01/29 15:32:52 para Exp $ */
 
 /*-
  * Copyright (c) 2011, 2012 The NetBSD Foundation, Inc.
@@ -452,11 +452,11 @@
 
        pc = &sc->apc;
 
-       ioext = extent_create("p5pbio", 0, P5BUS_PCI_IO_SIZE, M_DEVBUF, NULL, 0,
-            EX_NOWAIT); 
+       ioext = extent_create("p5pbio", 0, P5BUS_PCI_IO_SIZE, NULL, 0,
+           EX_NOWAIT);
 
        memext = extent_create("p5pbmem", sc->pci_mem_lowest, 
-            sc->pci_mem_highest, M_DEVBUF, NULL, 0, EX_NOWAIT);
+            sc->pci_mem_highest, NULL, 0, EX_NOWAIT);
        
        if ( (!ioext) || (!memext) ) 
                return false;



Home | Main Index | Thread Index | Old Index