[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <20110413195949.25901.86878.stgit@gitlad.jf.intel.com>
Date: Wed, 13 Apr 2011 12:59:49 -0700
From: Bruce Allan <bruce.w.allan@...el.com>
To: netdev@...r.kernel.org
Cc: Bruce Allan <bruce.w.allan@...el.com>,
Stephen Hemminger <shemminger@...ux-foundation.org>
Subject: [net-next-2.6 RFC PATCH v2 12/13] sky2: set ethtool set_phys_id
on/off cycle frequency to 1/sec
Physical identification frequency based on how it was done prior to the
introduction of set_phys_id. Compile tested only.
Signed-off-by: Bruce Allan <bruce.w.allan@...el.com>
Cc: Stephen Hemminger <shemminger@...ux-foundation.org>
---
drivers/net/sky2.c | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
diff --git a/drivers/net/sky2.c b/drivers/net/sky2.c
index a4b8fe5..c8d0451 100644
--- a/drivers/net/sky2.c
+++ b/drivers/net/sky2.c
@@ -3813,7 +3813,7 @@ static int sky2_set_phys_id(struct net_device *dev,
switch (state) {
case ETHTOOL_ID_ACTIVE:
- return -EINVAL;
+ return 1; /* cycle on/off once per second */
case ETHTOOL_ID_INACTIVE:
sky2_led(sky2, MO_LED_NORM);
break;
--
To unsubscribe from this list: send the line "unsubscribe netdev" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Powered by blists - more mailing lists