Source-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[src/trunk]: src/sys/arch/i386/pci - Correct a value of subend.
details: https://anonhg.NetBSD.org/src/rev/9d1b01985a8a
branches: trunk
changeset: 514278:9d1b01985a8a
user: kanaoka <kanaoka%NetBSD.org@localhost>
date: Mon Aug 27 13:02:12 2001 +0000
description:
- Correct a value of subend.
Pointed out by enami tsugutomo <enami%but-b.or.jp@localhost>.
diffstat:
sys/arch/i386/pci/pci_addr_fixup.c | 4 ++--
1 files changed, 2 insertions(+), 2 deletions(-)
diffs (18 lines):
diff -r 5daf64782689 -r 9d1b01985a8a sys/arch/i386/pci/pci_addr_fixup.c
--- a/sys/arch/i386/pci/pci_addr_fixup.c Mon Aug 27 12:08:00 2001 +0000
+++ b/sys/arch/i386/pci/pci_addr_fixup.c Mon Aug 27 13:02:12 2001 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: pci_addr_fixup.c,v 1.9 2001/07/06 18:02:35 mcr Exp $ */
+/* $NetBSD: pci_addr_fixup.c,v 1.10 2001/08/27 13:02:12 kanaoka Exp $ */
/*-
* Copyright (c) 2000 UCHIYAMA Yasushi. All rights reserved.
@@ -308,7 +308,7 @@
PCIBIOS_PRINTV(("No available resources. fixup failed\n"));
return (1);
}
- error = extent_alloc_subregion(ex, start, start + size - 1, size,
+ error = extent_alloc_subregion(ex, start, ex->ex_end, size,
size, 0,
EX_FAST|EX_NOWAIT|EX_MALLOCOK, addr);
if (error) {
Home |
Main Index |
Thread Index |
Old Index