diff options
Diffstat (limited to 'src/mainboard/hp/dl165_g6_fam10/bootblock.c')
-rw-r--r-- | src/mainboard/hp/dl165_g6_fam10/bootblock.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/mainboard/hp/dl165_g6_fam10/bootblock.c b/src/mainboard/hp/dl165_g6_fam10/bootblock.c index 16908cf704..b70b0a3e24 100644 --- a/src/mainboard/hp/dl165_g6_fam10/bootblock.c +++ b/src/mainboard/hp/dl165_g6_fam10/bootblock.c @@ -18,13 +18,13 @@ #define SCH4307_CONFIG_PORT 0x162e static inline void shc4307_enter_ext_func_mode(pnp_devfn_t dev) { - unsigned port = dev >> 8; + unsigned int port = dev >> 8; outb(0x55, port); } static inline void shc4307_exit_ext_func_mode(pnp_devfn_t dev) { - unsigned port = dev >> 8; + unsigned int port = dev >> 8; outb(0xaa, port); } |