X-Git-Url: http://wien.tomnetworks.com/gitweb/?a=blobdiff_plain;f=src%2Fsuperio%2Ffintek%2Ff71805f%2Ff71805f_early_serial.c;h=de30cbb48bf16055b4da4964482f223e2e62622f;hb=7d3418849de907b82e3a5cca9969d261553f61a0;hp=f81a3f17c002bea0c33ff180d66b8fc492176cef;hpb=e4870474b9026ad6b2ccabe59a8623e28722007f;p=coreboot.git diff --git a/src/superio/fintek/f71805f/f71805f_early_serial.c b/src/superio/fintek/f71805f/f71805f_early_serial.c index f81a3f17c..de30cbb48 100644 --- a/src/superio/fintek/f71805f/f71805f_early_serial.c +++ b/src/superio/fintek/f71805f/f71805f_early_serial.c @@ -23,19 +23,19 @@ #include #include "f71805f.h" -static inline void pnp_enter_conf_state(device_t dev) +static void pnp_enter_conf_state(device_t dev) { - unsigned int port = dev >> 8; + u16 port = dev >> 8; outb(0x87, port); } static void pnp_exit_conf_state(device_t dev) { - unsigned int port = dev >> 8; + u16 port = dev >> 8; outb(0xaa, port); } -static void f71805f_enable_serial(device_t dev, unsigned int iobase) +static void f71805f_enable_serial(device_t dev, u16 iobase) { pnp_enter_conf_state(dev); pnp_set_logical_device(dev);