diff -r 5f11ed746d15 -r dcfb518d24eb devices/8139too-2.6.26-ethercat.c --- a/devices/8139too-2.6.26-ethercat.c Mon Mar 09 08:37:14 2009 +0000 +++ b/devices/8139too-2.6.26-ethercat.c Mon Mar 09 08:42:49 2009 +0000 @@ -1425,7 +1425,7 @@ if (tp->ecdev) { void __iomem *ioaddr = tp->mmio_addr; - uint16_t state = RTL_R16(BasicModeStatus) & BMSR_LSTATUS; + u16 state = RTL_R16(BasicModeStatus) & BMSR_LSTATUS; ecdev_set_link(tp->ecdev, state ? 1 : 0); } else {