diff options
author | Jason Wright <jason@cvs.openbsd.org> | 2002-06-09 05:26:13 +0000 |
---|---|---|
committer | Jason Wright <jason@cvs.openbsd.org> | 2002-06-09 05:26:13 +0000 |
commit | e19f6775c3d1b97e7a9c234760afe6dff37e4962 (patch) | |
tree | 7364d98f581fed5f7d303cb06ee59d68d1415e6d /sys/arch | |
parent | d27a04bae5b64c9a2b7dfa3f4647010ab8372df0 (diff) |
Ah, seems we've seen this problem before (macro's with wrong name)
Diffstat (limited to 'sys/arch')
-rw-r--r-- | sys/arch/sparc64/include/pci_machdep.h | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/sys/arch/sparc64/include/pci_machdep.h b/sys/arch/sparc64/include/pci_machdep.h index bd3838bc0c3..b3281a4f83e 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.7 2002/06/09 04:16:46 jason Exp $ */ +/* $OpenBSD: pci_machdep.h,v 1.8 2002/06/09 05:26:12 jason Exp $ */ /* $NetBSD: pci_machdep.h,v 1.7 2001/07/20 00:07:14 eeh Exp $ */ /* @@ -66,9 +66,9 @@ struct sparc_pci_chipset { */ #define PCITAG_NODE(x) (int)(((x)>>32)&0xffffffff) -#define PCITAG_BUS(t) (((x) >> 16) & 0xff) -#define PCITAG_DEV(t) (((x) >> 11) & 0x05) -#define PCITAG_FUNC(t) (((x) >> 8) & 0x07) +#define PCITAG_BUS(t) (((t) >> 16) & 0xff) +#define PCITAG_DEV(t) (((t) >> 11) & 0x05) +#define PCITAG_FUNC(t) (((t) >> 8) & 0x07) #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) ((t)&0xffffffff)|(((n)<<32) |