Source-Changes-HG archive

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

[src/trunk]: src/sys/arch/walnut/pci Destroy "ioext" as well as "memext" when...



details:   https://anonhg.NetBSD.org/src/rev/ba6c4a410e98
branches:  trunk
changeset: 538848:ba6c4a410e98
user:      simonb <simonb%NetBSD.org@localhost>
date:      Fri Nov 01 09:16:28 2002 +0000

description:
Destroy "ioext" as well as "memext" when we're done with it.

diffstat:

 sys/arch/walnut/pci/pchb.c |  3 ++-
 1 files changed, 2 insertions(+), 1 deletions(-)

diffs (17 lines):

diff -r 6dce630452de -r ba6c4a410e98 sys/arch/walnut/pci/pchb.c
--- a/sys/arch/walnut/pci/pchb.c        Fri Nov 01 06:06:17 2002 +0000
+++ b/sys/arch/walnut/pci/pchb.c        Fri Nov 01 09:16:28 2002 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: pchb.c,v 1.12 2002/10/02 16:02:39 thorpej Exp $        */
+/*     $NetBSD: pchb.c,v 1.13 2002/11/01 09:16:28 simonb Exp $ */
 
 /*-
  * Copyright (c) 1996 The NetBSD Foundation, Inc.
@@ -150,6 +150,7 @@
            MIN_PCI_PCI_IOADDR + 0xffff, M_DEVBUF, NULL, 0, EX_NOWAIT);
        pci_configure_bus(0, ioext, memext, NULL, 0, 32);
        extent_destroy(memext);
+       extent_destroy(ioext);
 #endif /* PCI_NETBSD_CONFIGURE */
 
 #ifdef PCI_CONFIGURE_VERBOSE



Home | Main Index | Thread Index | Old Index