devices/8139too-2.6.26-ethercat.c
changeset 1368 dcfb518d24eb
parent 1363 11c0b2caa253
child 2421 bc2d4bf9cbe5
child 2589 2b9c78543663
--- 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 {