From 732ee978ed9726d35697d6572cb603f9cb87f450 Mon Sep 17 00:00:00 2001 From: Jason Wright Date: Wed, 3 Apr 2002 16:54:20 +0000 Subject: in PCITAG_SETNODE s/t/x to match usage; from netbsd --- sys/arch/sparc64/include/pci_machdep.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'sys/arch/sparc64/include/pci_machdep.h') diff --git a/sys/arch/sparc64/include/pci_machdep.h b/sys/arch/sparc64/include/pci_machdep.h index 365bedd18b0..bb325fcb6df 100644 --- a/sys/arch/sparc64/include/pci_machdep.h +++ b/sys/arch/sparc64/include/pci_machdep.h @@ -1,4 +1,4 @@ -/* $OpenBSD: pci_machdep.h,v 1.4 2001/08/25 10:13:29 art Exp $ */ +/* $OpenBSD: pci_machdep.h,v 1.5 2002/04/03 16:54:19 jason Exp $ */ /* $NetBSD: pci_machdep.h,v 1.7 2001/07/20 00:07:14 eeh Exp $ */ /* @@ -68,7 +68,7 @@ struct sparc_pci_chipset { #define PCITAG_NODE(x) (int)(((x)>>32)&0xffffffff) #define PCITAG_OFFSET(x) ((x)&0xffffffff) #define PCITAG_CREATE(n,b,d,f) (((u_int64_t)(n)<<32)|((b)<<16)|((d)<<11)|((f)<<8)) -#define PCITAG_SETNODE(t,n) ((x)&0xffffffff)|(((n)<<32) +#define PCITAG_SETNODE(t,n) ((t)&0xffffffff)|(((n)<<32) typedef u_int64_t pcitag_t; -- cgit v1.2.3