diff options
Diffstat (limited to 'sys/arch/sparc64/include/pci_machdep.h')
-rw-r--r-- | sys/arch/sparc64/include/pci_machdep.h | 4 |
1 files changed, 2 insertions, 2 deletions
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; |