diff options
author | Mark Kettenis <kettenis@cvs.openbsd.org> | 2008-04-08 22:05:20 +0000 |
---|---|---|
committer | Mark Kettenis <kettenis@cvs.openbsd.org> | 2008-04-08 22:05:20 +0000 |
commit | 93f7ed0a87c6a75e23037fcafd0fe610bdba32a8 (patch) | |
tree | 9e969333d4e186bfcdc93fb39db379ccdf720998 | |
parent | 9c1d7a1836dc55ec85d1eaff040bdc11ed1b7acb (diff) |
For some reason access to io space using ASI_PHYS_NON_CACHED_LITTLE doesn't
work, so go through the MMU just like we do for mem space. Makes puc(4)
work on the t1k, and hopefully fixes the problems on the t2k.
-rw-r--r-- | sys/arch/sparc64/dev/vpci.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/sys/arch/sparc64/dev/vpci.c b/sys/arch/sparc64/dev/vpci.c index eb8853de193..30718c69c4e 100644 --- a/sys/arch/sparc64/dev/vpci.c +++ b/sys/arch/sparc64/dev/vpci.c @@ -1,4 +1,4 @@ -/* $OpenBSD: vpci.c,v 1.1 2008/03/09 18:58:11 kettenis Exp $ */ +/* $OpenBSD: vpci.c,v 1.2 2008/04/08 22:05:19 kettenis Exp $ */ /* * Copyright (c) 2008 Mark Kettenis <kettenis@openbsd.org> * @@ -261,7 +261,7 @@ vpci_alloc_io_tag(struct vpci_pbm *pp) { return (vpci_alloc_bus_tag(pp, "io", 0x01, /* IO space (where's the #define???) */ - ASI_PHYS_NON_CACHED_LITTLE, ASI_PHYS_NON_CACHED)); + ASI_PRIMARY, ASI_PRIMARY_LITTLE)); } bus_space_tag_t |