diff options
Diffstat (limited to 'sys/dev/ic/rtl8225reg.h')
-rw-r--r-- | sys/dev/ic/rtl8225reg.h | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/sys/dev/ic/rtl8225reg.h b/sys/dev/ic/rtl8225reg.h index b3f83e1ae4d..c248591db80 100644 --- a/sys/dev/ic/rtl8225reg.h +++ b/sys/dev/ic/rtl8225reg.h @@ -1,4 +1,4 @@ -/* $OpenBSD: rtl8225reg.h,v 1.3 2005/12/18 17:59:58 reyk Exp $ */ +/* $OpenBSD: rtl8225reg.h,v 1.4 2009/08/16 18:21:57 jsg Exp $ */ /* * Copyright (c) 2005 Reyk Floeter <reyk@openbsd.org> @@ -23,8 +23,8 @@ * Serial bus format for the Realtek RTL8225 Single-chip Transceiver. */ -#define RTL8225_TWI_DATA_MASK BITS(31, 4) -#define RTL8225_TWI_ADDR_MASK BITS(4, 0) +#define RTL8225_TWI_DATA_MASK 0xfffffff0 +#define RTL8225_TWI_ADDR_MASK 0x1f #define RTL8225_ANAPARM_0_ON 0xa0000b59 #define RTL8225_ANAPARM_0_OFF 0xa000eb59 |