diff options
author | Miod Vallat <miod@cvs.openbsd.org> | 2012-05-10 21:30:40 +0000 |
---|---|---|
committer | Miod Vallat <miod@cvs.openbsd.org> | 2012-05-10 21:30:40 +0000 |
commit | 92682cafb284f567889d50c0f950e779d141dd78 (patch) | |
tree | fc24d84537922825daf667d8779b17eb208949c4 /sys | |
parent | 5285558185108451ee0e949708f83cd6a1787596 (diff) |
Fix a few macros to operate on the right bit.
Diffstat (limited to 'sys')
-rw-r--r-- | sys/arch/sgi/gio/gioreg.h | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/sys/arch/sgi/gio/gioreg.h b/sys/arch/sgi/gio/gioreg.h index c6f887f3e87..7822ce4f0b6 100644 --- a/sys/arch/sgi/gio/gioreg.h +++ b/sys/arch/sgi/gio/gioreg.h @@ -1,4 +1,4 @@ -/* $OpenBSD: gioreg.h,v 1.2 2012/04/16 22:28:12 miod Exp $ */ +/* $OpenBSD: gioreg.h,v 1.3 2012/05/10 21:30:39 miod Exp $ */ /* $NetBSD: gioreg.h,v 1.4 2006/08/31 00:01:10 rumble Exp $ */ /* @@ -63,8 +63,8 @@ #define GIO_PRODUCT_32BIT_ID(x) ((x) & 0x80) #define GIO_PRODUCT_PRODUCTID(x) ((x) & 0x7f) #define GIO_PRODUCT_REVISION(x) (((x) >> 8) & 0xff) -#define GIO_PRODUCT_IS_64BIT(x) (!!((x) & 0x8000)) -#define GIO_PRODUCT_HAS_ROM(x) (!!((x) & 0x10000)) +#define GIO_PRODUCT_IS_64BIT(x) (!!((x) & 0x10000)) +#define GIO_PRODUCT_HAS_ROM(x) (!!((x) & 0x20000)) #define GIO_PRODUCT_MANUCODE(x) ((x) >> 18) #define GIO_ADDR_GFX 0x1f000000 /* 4MB */ |