Source-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[src/trunk]: src/sys/arch/evbppc/obs405 + Fix panic() in cardbus_mapreg_map()...
details: https://anonhg.NetBSD.org/src/rev/881dfabc5798
branches: trunk
changeset: 778709:881dfabc5798
user: kiyohara <kiyohara%NetBSD.org@localhost>
date: Mon Apr 09 14:44:01 2012 +0000
description:
+ Fix panic() in cardbus_mapreg_map(). powerpc's bus-space uses extent(9).
obs405 calls rbus_new_root_delegate() instead of rbus_new_root_share().
+ Remove TABs from TAB-only-lines.
diffstat:
sys/arch/evbppc/obs405/rbus_machdep.c | 10 +++++-----
1 files changed, 5 insertions(+), 5 deletions(-)
diffs (30 lines):
diff -r 5742cf54d938 -r 881dfabc5798 sys/arch/evbppc/obs405/rbus_machdep.c
--- a/sys/arch/evbppc/obs405/rbus_machdep.c Mon Apr 09 14:02:04 2012 +0000
+++ b/sys/arch/evbppc/obs405/rbus_machdep.c Mon Apr 09 14:44:01 2012 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: rbus_machdep.c,v 1.8 2011/06/22 18:06:32 matt Exp $ */
+/* $NetBSD: rbus_machdep.c,v 1.9 2012/04/09 14:44:01 kiyohara Exp $ */
/*
* Copyright (c) 2003
@@ -80,8 +80,8 @@
rbus_pccbb_parent_mem(struct pci_attach_args *pa)
{
bus_space_tag_t bst = pa->pa_memt;
-
- return rbus_new_root_share(bst, bst->pbs_extent, bst->pbs_base,
+
+ return rbus_new_root_delegate(bst, bst->pbs_base,
bst->pbs_limit - bst->pbs_base, 0);
}
@@ -89,7 +89,7 @@
rbus_pccbb_parent_io(struct pci_attach_args *pa)
{
bus_space_tag_t bst = pa->pa_iot;
-
- return rbus_new_root_share(bst, bst->pbs_extent, bst->pbs_base,
+
+ return rbus_new_root_delegate(bst, bst->pbs_base,
bst->pbs_limit - bst->pbs_base, 0);
}
Home |
Main Index |
Thread Index |
Old Index