lkml.org 
[lkml]   [2004]   [Nov]   [16]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
Patch in this message
/
Date
From
Subject[PATCH] make ibmveth link always up
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@us.ibm.com>

--
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 = {
\
 
 \ /
  Last update: 2005-03-22 14:08    [W:0.035 / U:0.088 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site