summaryrefslogtreecommitdiffstats
path: root/sys/dev/cesa/cesa.h
diff options
context:
space:
mode:
authoreadler <eadler@FreeBSD.org>2013-11-30 22:16:37 +0000
committereadler <eadler@FreeBSD.org>2013-11-30 22:16:37 +0000
commit5bcb8c5f4293579e5f8aba6f33f85246b7b70e5d (patch)
tree57adbe9c0b0d7197ccf0b89fd3bc54d08bce9fd5 /sys/dev/cesa/cesa.h
parent7a2a16a9022bf702fd18fcb48bde97b844727870 (diff)
downloadFreeBSD-src-5bcb8c5f4293579e5f8aba6f33f85246b7b70e5d.zip
FreeBSD-src-5bcb8c5f4293579e5f8aba6f33f85246b7b70e5d.tar.gz
Similar to the (1 << 31) case it is not defined to do (2 << 30).
Diffstat (limited to 'sys/dev/cesa/cesa.h')
-rw-r--r--sys/dev/cesa/cesa.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/sys/dev/cesa/cesa.h b/sys/dev/cesa/cesa.h
index 7bf2ff5..28536d5 100644
--- a/sys/dev/cesa/cesa.h
+++ b/sys/dev/cesa/cesa.h
@@ -297,8 +297,8 @@ struct cesa_chain_info {
#define CESA_CSH_AES_KLEN_MASK (3 << 24)
#define CESA_CSHD_FRAG_FIRST (1 << 30)
-#define CESA_CSHD_FRAG_LAST (2 << 30)
-#define CESA_CSHD_FRAG_MIDDLE (3 << 30)
+#define CESA_CSHD_FRAG_LAST (2U << 30)
+#define CESA_CSHD_FRAG_MIDDLE (3U << 30)
/* CESA registers definitions */
#define CESA_ICR 0xDE20
OpenPOWER on IntegriCloud