summaryrefslogtreecommitdiff
path: root/sys/dev/ic/rt2661reg.h
diff options
context:
space:
mode:
authorTheo de Raadt <deraadt@cvs.openbsd.org>2013-11-26 20:33:21 +0000
committerTheo de Raadt <deraadt@cvs.openbsd.org>2013-11-26 20:33:21 +0000
commitadaa84b5b57cf328ccf6e345b38ec6706c692895 (patch)
tree7981ac434a72299baff1a6d37d0dc095dac8ffec /sys/dev/ic/rt2661reg.h
parenta259a6aeceab099f25670e0fbdd7d90fa1ec9bfa (diff)
1 << 31 cleanup. Eitan Adler pointed out that there has been a
resurrection of the bad idiom in the tree. sufficient review by miod, kettenis, tedu
Diffstat (limited to 'sys/dev/ic/rt2661reg.h')
-rw-r--r--sys/dev/ic/rt2661reg.h6
1 files changed, 3 insertions, 3 deletions
diff --git a/sys/dev/ic/rt2661reg.h b/sys/dev/ic/rt2661reg.h
index 8822fc5e5cf..43de6b2fc4a 100644
--- a/sys/dev/ic/rt2661reg.h
+++ b/sys/dev/ic/rt2661reg.h
@@ -1,4 +1,4 @@
-/* $OpenBSD: rt2661reg.h,v 1.12 2012/08/23 10:34:25 stsp Exp $ */
+/* $OpenBSD: rt2661reg.h,v 1.13 2013/11/26 20:33:16 deraadt Exp $ */
/*-
* Copyright (c) 2006
@@ -182,8 +182,8 @@
#define RT2661_BBP_BUSY (1 << 16)
/* possible flags for register PHY_CSR4 */
-#define RT2661_RF_21BIT (21 << 24)
-#define RT2661_RF_BUSY (1 << 31)
+#define RT2661_RF_21BIT (21U << 24)
+#define RT2661_RF_BUSY (1U << 31)
/* possible values for register STA_CSR4 */
#define RT2661_TX_STAT_VALID (1 << 0)