From 59af791344c0dc6cbea0edeafc20bf4b4f47db9b Mon Sep 17 00:00:00 2001 From: Miod Vallat Date: Tue, 21 Jul 2009 21:20:06 +0000 Subject: Change the rbus md_space_{map,unmap} signature to take a rbus_tag_t instead of the bus_space_tag_t it contains; an upcoming implementation will need to know the rbus_tag_t for which it works at this point. All callers updated accordingly; no functional change intended. --- sys/arch/hppa64/include/rbus_machdep.h | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) (limited to 'sys/arch/hppa64/include') diff --git a/sys/arch/hppa64/include/rbus_machdep.h b/sys/arch/hppa64/include/rbus_machdep.h index 7a84faa57f5..501241b7952 100644 --- a/sys/arch/hppa64/include/rbus_machdep.h +++ b/sys/arch/hppa64/include/rbus_machdep.h @@ -1,4 +1,4 @@ -/* $OpenBSD: rbus_machdep.h,v 1.3 2007/12/20 13:58:01 kettenis Exp $ */ +/* $OpenBSD: rbus_machdep.h,v 1.4 2009/07/21 21:20:05 miod Exp $ */ /* * Copyright (c) 2005 Michael Shalayeff @@ -22,7 +22,8 @@ #define _ARCH_HPPA64_HPPA64_RBUS_MACHDEP_H_ static __inline int -md_space_map(bus_space_tag_t t, bus_addr_t bpa, bus_size_t size, int flags, bus_space_handle_t *bshp) +md_space_map(rbus_tag_t rbt, bus_addr_t bpa, bus_size_t size, int flags, + bus_space_handle_t *bshp) { if (bshp) *(bshp) = bpa; @@ -30,7 +31,7 @@ md_space_map(bus_space_tag_t t, bus_addr_t bpa, bus_size_t size, int flags, bus return (0); } -#define md_space_unmap(t,bsh,s,addrp) do { *(addrp) = (bsh); } while (0) +#define md_space_unmap(rbt,bsh,s,addrp) do { *(addrp) = (bsh); } while (0) struct pci_attach_args; -- cgit v1.2.3