devices/8139too-2.6.17-ethercat.c
changeset 670 f57de4585a5f
parent 639 aa23c48dca2d
child 1011 a0759d0dded4
--- a/devices/8139too-2.6.17-ethercat.c	Wed Jul 25 07:46:09 2007 +0000
+++ b/devices/8139too-2.6.17-ethercat.c	Wed Jul 25 12:52:06 2007 +0000
@@ -1439,7 +1439,7 @@
 	if (tp->ecdev) {
 		void __iomem *ioaddr = tp->mmio_addr;
 		uint16_t state = RTL_R16(BasicModeStatus) & BMSR_LSTATUS;
-		ecdev_link_state(tp->ecdev, state ? 1 : 0);
+		ecdev_set_link(tp->ecdev, state ? 1 : 0);
 	}
 	else {
 		if (tp->phys[0] >= 0) {