Source-Changes-HG archive

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

[src/trunk]: src/sys/arch/atari/pci Kill a typo.



details:   https://anonhg.NetBSD.org/src/rev/d5bcf8b08ed5
branches:  trunk
changeset: 501810:d5bcf8b08ed5
user:      leo <leo%NetBSD.org@localhost>
date:      Sun Jan 07 21:19:05 2001 +0000

description:
Kill a typo.

diffstat:

 sys/arch/atari/pci/pci_machdep.c |  4 ++--
 1 files changed, 2 insertions(+), 2 deletions(-)

diffs (18 lines):

diff -r ce573e64f12c -r d5bcf8b08ed5 sys/arch/atari/pci/pci_machdep.c
--- a/sys/arch/atari/pci/pci_machdep.c  Sun Jan 07 21:17:32 2001 +0000
+++ b/sys/arch/atari/pci/pci_machdep.c  Sun Jan 07 21:19:05 2001 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: pci_machdep.c,v 1.28 2000/12/28 22:59:08 sommerfeld Exp $      */
+/*     $NetBSD: pci_machdep.c,v 1.29 2001/01/07 21:19:05 leo Exp $     */
 
 /*
  * Copyright (c) 1996 Leo Weppelman.  All rights reserved.
@@ -151,7 +151,7 @@
        pba.pba_flags   = PCI_FLAGS_IO_ENABLED | PCI_FLAGS_MEM_ENABLED;
        pba.pba_dmat    = BUS_PCI_DMA_TAG;
        pba.pba_iot     = leb_alloc_bus_space_tag(&bs_storage[0]);
-       pba.pba_memt    = leb_alloc_bus_space_tag(&bs_storage[0]);
+       pba.pba_memt    = leb_alloc_bus_space_tag(&bs_storage[1]);
        if ((pba.pba_iot == NULL) || (pba.pba_memt == NULL)) {
                printf("leb_alloc_bus_space_tag failed!\n");
                return;



Home | Main Index | Thread Index | Old Index