Module Name: src
Committed By: kiyohara
Date: Mon Apr 9 14:44:02 UTC 2012
Modified Files:
src/sys/arch/evbppc/obs405: rbus_machdep.c
Log Message:
+ 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.
To generate a diff of this commit:
cvs rdiff -u -r1.8 -r1.9 src/sys/arch/evbppc/obs405/rbus_machdep.c
Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.
Modified files:
Index: src/sys/arch/evbppc/obs405/rbus_machdep.c
diff -u src/sys/arch/evbppc/obs405/rbus_machdep.c:1.8 src/sys/arch/evbppc/obs405/rbus_machdep.c:1.9
--- src/sys/arch/evbppc/obs405/rbus_machdep.c:1.8 Wed Jun 22 18:06:32 2011
+++ src/sys/arch/evbppc/obs405/rbus_machdep.c Mon Apr 9 14:44:01 2012
@@ -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_tag_t
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_tag_t
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);
}