Skip to contentSkip to conversation

make ibmveth link always up

PATCH In review [email protected] 1 participant 1 message Nov 22, 2004

Subsystems (2)
lore
Share & tools
lore
#0 lore raw

PATCH 12/13 make ibmveth link always up

From: Santiago Leon <[email protected]>

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.

---

 25-akpm/drivers/net/ibmveth.c |    2 +-
 1 files changed, 1 insertion(+), 1 deletion(-)
drivers/net/ibmveth.c renamed from drivers/net/ibmveth.c~make-ibmveth-link-always-up +1 -1
diff -puN drivers/net/ibmveth.c~make-ibmveth-link-always-up drivers/net/ibmveth.c
@@ -598,7 +598,7 @@ static void netdev_get_drvinfo (struct n
 }
 
 static u32 netdev_get_link(struct net_device *dev) {
-	return 0;
+	return 1;
 }
 
 static struct ethtool_ops netdev_ethtool_ops = {

_