diff --git a/sys/arch/alpha/pci/tsp_bus_mem.c b/sys/arch/alpha/pci/tsp_bus_mem.c index 87d707925be1..0b509ed6a170 100644 --- a/sys/arch/alpha/pci/tsp_bus_mem.c +++ b/sys/arch/alpha/pci/tsp_bus_mem.c @@ -1,4 +1,4 @@ -/* $NetBSD: tsp_bus_mem.c,v 1.12 2012/02/06 02:14:15 matt Exp $ */ +/* $NetBSD: tsp_bus_mem.c,v 1.13 2014/01/19 03:44:13 tsutsui Exp $ */ /*- * Copyright (c) 1999 by Ross Harvey. All rights reserved. @@ -32,7 +32,7 @@ */ #include -__KERNEL_RCSID(0, "$NetBSD: tsp_bus_mem.c,v 1.12 2012/02/06 02:14:15 matt Exp $"); +__KERNEL_RCSID(0, "$NetBSD: tsp_bus_mem.c,v 1.13 2014/01/19 03:44:13 tsutsui Exp $"); #include #include @@ -57,7 +57,8 @@ __KERNEL_RCSID(0, "$NetBSD: tsp_bus_mem.c,v 1.12 2012/02/06 02:14:15 matt Exp $" #define CHIP_MEM_EX_STORE_SIZE(v) \ (sizeof (((struct tsp_config *)(v))->pc_mem_exstorage)) -#define CHIP_MEM_SYS_START(v) (((struct tsp_config *)(v))->pc_iobase) +#define CHIP_MEM_SYS_START(v) \ + (((struct tsp_config *)(v))->pc_iobase | P_PCI_MEM) /* * Tsunami core logic appears on EV6. We require at least EV56