diff options
author | Eitan Adler <eadler@FreeBSD.org> | 2013-11-30 22:16:37 +0000 |
---|---|---|
committer | Eitan Adler <eadler@FreeBSD.org> | 2013-11-30 22:16:37 +0000 |
commit | c8aef31d309ac3f874c461619248fee9c1d74c2f (patch) | |
tree | 57adbe9c0b0d7197ccf0b89fd3bc54d08bce9fd5 | |
parent | 86b2b302f903e958e13f918f4fd00590b1250f86 (diff) | |
download | src-c8aef31d309ac3f874c461619248fee9c1d74c2f.tar.gz src-c8aef31d309ac3f874c461619248fee9c1d74c2f.zip |
Notes
-rw-r--r-- | sys/dev/cesa/cesa.h | 4 | ||||
-rw-r--r-- | sys/dev/drm/radeon_drv.h | 4 | ||||
-rw-r--r-- | sys/dev/drm2/i915/i915_reg.h | 4 | ||||
-rw-r--r-- | sys/dev/drm2/radeon/r600_blit.c | 2 | ||||
-rw-r--r-- | sys/dev/drm2/radeon/radeon_drv.h | 4 | ||||
-rw-r--r-- | sys/dev/drm2/radeon/radeon_reg.h | 4 | ||||
-rw-r--r-- | sys/dev/hatm/if_hatmreg.h | 2 |
7 files changed, 12 insertions, 12 deletions
diff --git a/sys/dev/cesa/cesa.h b/sys/dev/cesa/cesa.h index 7bf2ff56b87e..28536d57e908 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 diff --git a/sys/dev/drm/radeon_drv.h b/sys/dev/drm/radeon_drv.h index d90d7cf048d6..bfe8b3059f71 100644 --- a/sys/dev/drm/radeon_drv.h +++ b/sys/dev/drm/radeon_drv.h @@ -807,8 +807,8 @@ extern int r600_cs_init(struct drm_device *dev); #define RADEON_DST_PITCH_OFFSET_C 0x1c80 # define RADEON_DST_TILE_LINEAR (0 << 30) # define RADEON_DST_TILE_MACRO (1 << 30) -# define RADEON_DST_TILE_MICRO (2 << 30) -# define RADEON_DST_TILE_BOTH (3 << 30) +# define RADEON_DST_TILE_MICRO (2U << 30) +# define RADEON_DST_TILE_BOTH (3U << 30) #define RADEON_SCRATCH_REG0 0x15e0 #define RADEON_SCRATCH_REG1 0x15e4 diff --git a/sys/dev/drm2/i915/i915_reg.h b/sys/dev/drm2/i915/i915_reg.h index 754e535f78fc..7c8dedcd84ee 100644 --- a/sys/dev/drm2/i915/i915_reg.h +++ b/sys/dev/drm2/i915/i915_reg.h @@ -3611,8 +3611,8 @@ __FBSDID("$FreeBSD$"); #define PANEL_PORT_SELECT_LVDS (0 << 30) #define PANEL_PORT_SELECT_DPA (1 << 30) #define EDP_PANEL (1 << 30) -#define PANEL_PORT_SELECT_DPC (2 << 30) -#define PANEL_PORT_SELECT_DPD (3 << 30) +#define PANEL_PORT_SELECT_DPC (2U << 30) +#define PANEL_PORT_SELECT_DPD (3U << 30) #define PANEL_POWER_UP_DELAY_MASK (0x1fff0000) #define PANEL_POWER_UP_DELAY_SHIFT 16 #define PANEL_LIGHT_ON_DELAY_MASK (0x1fff) diff --git a/sys/dev/drm2/radeon/r600_blit.c b/sys/dev/drm2/radeon/r600_blit.c index f9658d49ed2c..10da7883c626 100644 --- a/sys/dev/drm2/radeon/r600_blit.c +++ b/sys/dev/drm2/radeon/r600_blit.c @@ -196,7 +196,7 @@ set_vtx_resource(drm_radeon_private_t *dev_priv, u64 gpu_addr) sq_vtx_constant_word2 = (((gpu_addr >> 32) & 0xff) | (16 << 8)); #ifdef __BIG_ENDIAN - sq_vtx_constant_word2 |= (2 << 30); + sq_vtx_constant_word2 |= (2U << 30); #endif BEGIN_RING(9); diff --git a/sys/dev/drm2/radeon/radeon_drv.h b/sys/dev/drm2/radeon/radeon_drv.h index f33ea189f6e9..0e210f89389b 100644 --- a/sys/dev/drm2/radeon/radeon_drv.h +++ b/sys/dev/drm2/radeon/radeon_drv.h @@ -720,8 +720,8 @@ void radeon_unregister_atpx_handler(void); #define RADEON_DST_PITCH_OFFSET_C 0x1c80 # define RADEON_DST_TILE_LINEAR (0 << 30) # define RADEON_DST_TILE_MACRO (1 << 30) -# define RADEON_DST_TILE_MICRO (2 << 30) -# define RADEON_DST_TILE_BOTH (3 << 30) +# define RADEON_DST_TILE_MICRO (2U << 30) +# define RADEON_DST_TILE_BOTH (3U << 30) #define RADEON_SCRATCH_REG0 0x15e0 #define RADEON_SCRATCH_REG1 0x15e4 diff --git a/sys/dev/drm2/radeon/radeon_reg.h b/sys/dev/drm2/radeon/radeon_reg.h index 8697e0f27e76..a9dacc1979ee 100644 --- a/sys/dev/drm2/radeon/radeon_reg.h +++ b/sys/dev/drm2/radeon/radeon_reg.h @@ -854,8 +854,8 @@ __FBSDID("$FreeBSD$"); # define RADEON_PITCH_SHIFT 21 # define RADEON_DST_TILE_LINEAR (0 << 30) # define RADEON_DST_TILE_MACRO (1 << 30) -# define RADEON_DST_TILE_MICRO (2 << 30) -# define RADEON_DST_TILE_BOTH (3 << 30) +# define RADEON_DST_TILE_MICRO (2U << 30) +# define RADEON_DST_TILE_BOTH (3U << 30) #define RADEON_DST_WIDTH 0x140c #define RADEON_DST_WIDTH_HEIGHT 0x1598 #define RADEON_DST_WIDTH_X 0x1588 diff --git a/sys/dev/hatm/if_hatmreg.h b/sys/dev/hatm/if_hatmreg.h index 9085f07f5a4b..dd72126b456b 100644 --- a/sys/dev/hatm/if_hatmreg.h +++ b/sys/dev/hatm/if_hatmreg.h @@ -294,7 +294,7 @@ #define HE_REGO_CON_DAT 0x807F8 #define HE_REGO_CON_CTL 0x807FC -#define HE_REGM_CON_MBOX (2 << 30) +#define HE_REGM_CON_MBOX (2U << 30) #define HE_REGM_CON_TCM (1 << 30) #define HE_REGM_CON_RCM (0 << 30) #define HE_REGM_CON_WE (1 << 29) |