[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <20140107154456.7e5af377@nehalam.linuxnetplumber.net>
Date: Tue, 7 Jan 2014 15:44:56 -0800
From: Stephen Hemminger <stephen@...workplumber.org>
To: Giri Reddy <giri.reddy@...gic.com>
Cc: David Miller <davem@...emloft.net>, netdev <netdev@...r.kernel.org>
Subject: Re: Use of 'SIOCDEVPRIVATE' in ethernet drivers.
On Tue, 7 Jan 2014 22:22:45 +0000
Giri Reddy <giri.reddy@...gic.com> wrote:
> On 1/7/14 11:05 AM, David Miller wrote:
> > From: Giri Reddy <giri.reddy@...gic.com>
> > Date: Tue, 7 Jan 2014 18:21:17 +0000
> >
> >> Are we still allowed to use 'SIOCDEVPRIVATE' in drivers if there the
> >> deprecation efforts are on hold.
> > To say that use of SIOCDEVPRIVATE is discouraged would be an
> > understatement.
> >
> > Please create a generic ethtool based facility that other drivers in
> > similar situations can use as well.
>
> Thanks for the input. I will explore the 'ethtool' option. We will have
> multiple control frames exchanged between user space and kernel for
> every flash update operation, most of this will be proprietary stuff
> that will get exchanged - I will explore how to provide a generic
> interface for that.
>
> Giri
Maybe a debugfs or sysfs filesystem would work better than adding ioctl';s
--
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