aboutsummaryrefslogtreecommitdiff
path: root/sys/dev/bxe
diff options
context:
space:
mode:
authorDimitry Andric <dim@FreeBSD.org>2015-08-13 18:24:41 +0000
committerDimitry Andric <dim@FreeBSD.org>2015-08-13 18:24:41 +0000
commit5bf328b6f4e9027ea5288404b9924a9c35bd6c1c (patch)
tree69464b17a0376cf8490ad589fc9ccb1997bd3d45 /sys/dev/bxe
parent9ff63d2432fb5489fb24df20f84041d5c31872c0 (diff)
Notes
Diffstat (limited to 'sys/dev/bxe')
-rw-r--r--sys/dev/bxe/ecore_hsi.h6
1 files changed, 3 insertions, 3 deletions
diff --git a/sys/dev/bxe/ecore_hsi.h b/sys/dev/bxe/ecore_hsi.h
index 005bb2e4dbce..f78f4eae67d7 100644
--- a/sys/dev/bxe/ecore_hsi.h
+++ b/sys/dev/bxe/ecore_hsi.h
@@ -2536,9 +2536,9 @@ struct shmem2_region {
#define SHMEM_EEE_SUPPORTED_MASK 0x000f0000
#define SHMEM_EEE_SUPPORTED_SHIFT 16
#define SHMEM_EEE_ADV_STATUS_MASK 0x00f00000
- #define SHMEM_EEE_100M_ADV (1<<0)
- #define SHMEM_EEE_1G_ADV (1<<1)
- #define SHMEM_EEE_10G_ADV (1<<2)
+ #define SHMEM_EEE_100M_ADV (1U<<0)
+ #define SHMEM_EEE_1G_ADV (1U<<1)
+ #define SHMEM_EEE_10G_ADV (1U<<2)
#define SHMEM_EEE_ADV_STATUS_SHIFT 20
#define SHMEM_EEE_LP_ADV_STATUS_MASK 0x0f000000
#define SHMEM_EEE_LP_ADV_STATUS_SHIFT 24