diff options
author | Jason Wright <jason@cvs.openbsd.org> | 2002-06-09 23:28:22 +0000 |
---|---|---|
committer | Jason Wright <jason@cvs.openbsd.org> | 2002-06-09 23:28:22 +0000 |
commit | 62f49e8560326507dcdd9937b57d64ab0a25ca35 (patch) | |
tree | 9f91e6ad3d49062001e09d8b12b16a1351b193d6 /sys/arch | |
parent | d2038568c0c982a7bc9861162247295f292b9cd6 (diff) |
2^5 not 5, duh, sorry matthieu
Diffstat (limited to 'sys/arch')
-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 b3281a4f83e..e7178d376a4 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.8 2002/06/09 05:26:12 jason Exp $ */ +/* $OpenBSD: pci_machdep.h,v 1.9 2002/06/09 23:28:21 jason Exp $ */ /* $NetBSD: pci_machdep.h,v 1.7 2001/07/20 00:07:14 eeh Exp $ */ /* @@ -67,7 +67,7 @@ struct sparc_pci_chipset { #define PCITAG_NODE(x) (int)(((x)>>32)&0xffffffff) #define PCITAG_BUS(t) (((t) >> 16) & 0xff) -#define PCITAG_DEV(t) (((t) >> 11) & 0x05) +#define PCITAG_DEV(t) (((t) >> 11) & 0x1f) #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)) |