netdev
[Top] [All Lists]

[patch 12/13] make ibmveth link always up

To: davem@xxxxxxxxxxxxx
Subject: [patch 12/13] make ibmveth link always up
From: akpm@xxxxxxxx
Date: Sun, 21 Nov 2004 22:43:58 -0800
Cc: jgarzik@xxxxxxxxx, netdev@xxxxxxxxxxx, akpm@xxxxxxxx, santil@xxxxxxxxxx
Sender: netdev-bounce@xxxxxxxxxxx
From: Santiago Leon <santil@xxxxxxxxxx>

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.

Signed-Off-By: Santiago Leon <santil@xxxxxxxxxx>
Signed-off-by: Andrew Morton <akpm@xxxxxxxx>
---

 25-akpm/drivers/net/ibmveth.c |    2 +-
 1 files changed, 1 insertion(+), 1 deletion(-)

diff -puN drivers/net/ibmveth.c~make-ibmveth-link-always-up 
drivers/net/ibmveth.c
--- 25/drivers/net/ibmveth.c~make-ibmveth-link-always-up        2004-11-21 
22:42:53.895488880 -0800
+++ 25-akpm/drivers/net/ibmveth.c       2004-11-21 22:42:53.898488424 -0800
@@ -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 = {
_

<Prev in Thread] Current Thread [Next in Thread>
  • [patch 12/13] make ibmveth link always up, akpm <=