+ 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.
This commit is contained in:
kiyohara 2012-04-09 14:44:01 +00:00
parent 84b214f158
commit ac5d1b9f81
1 changed files with 5 additions and 5 deletions

View File

@ -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);
}