summaryrefslogtreecommitdiff
path: root/sys/arch
diff options
context:
space:
mode:
authorJason Wright <jason@cvs.openbsd.org>2002-04-03 16:54:20 +0000
committerJason Wright <jason@cvs.openbsd.org>2002-04-03 16:54:20 +0000
commit732ee978ed9726d35697d6572cb603f9cb87f450 (patch)
tree5cbd7467fc77d80213211915567ea0aa9f933d83 /sys/arch
parentdd32a9b73068bf051a35f394dbd42ef955975dee (diff)
in PCITAG_SETNODE s/t/x to match usage; from netbsd
Diffstat (limited to 'sys/arch')
-rw-r--r--sys/arch/sparc64/include/pci_machdep.h4
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;