[PATCH] make ibmveth link always up

From: Santiago Leon
Date: Tue Nov 16 2004 - 19:11:30 EST


Andrew,

The attached patch makes the ibmveth driver indicate that its link is always up rather than always down, thus allowing the userspace side of booting to configure the network interface correctly.

Please apply,

Signed-Off-By: Santiago Leon <santil@xxxxxxxxxx>

--
Santiago A. Leon
Power Linux Development
IBM Linux Technology Center
===== drivers/net/ibmveth.c 1.18 vs edited =====
--- 1.18/drivers/net/ibmveth.c Mon Sep 13 19:23:15 2004
+++ edited/drivers/net/ibmveth.c Tue Nov 16 18:24:42 2004
@@ -598,7 +598,7 @@
}

static u32 netdev_get_link(struct net_device *dev) {
- return 0;
+ return 1;
}

static struct ethtool_ops netdev_ethtool_ops = {