[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-Id: <20081208.010634.247305010.davem@davemloft.net>
Date: Mon, 08 Dec 2008 01:06:34 -0800 (PST)
From: David Miller <davem@...emloft.net>
To: Valdis.Kletnieks@...edu
Cc: mitake@...stcom.com, netdev@...r.kernel.org,
linux-kernel@...r.kernel.org, ktaka@...stcom.com
Subject: Re: [RFC] New functions to manipulate registers for ethtool
From: Valdis.Kletnieks@...edu
Date: Mon, 08 Dec 2008 04:01:43 -0500
> On Mon, 08 Dec 2008 00:54:31 PST, David Miller said:
> > From: Hitoshi Mitake <mitake@...stcom.com>
> > Date: Mon, 8 Dec 2008 17:12:30 +0900
> >
> > > I want to add two new functions to ethtool.
> > >
> > > One is for setting driver's registers on MMIO area like
> > > --change-eeprom option.
> >
> > You can map the registers into userspace using the bus
> > level mmap facilities exported to userspace.
> >
> > No ethtool support is necessary for this.
>
> Yes, but if Hitoshi wants to tell a user "run this command and send me
> the output", what's the incantation the user needs to use?
That's an awful reason to have to two ways of doing the exact same
thing from userspace.
Write the tool. Someone will if it's important enough (in fact
such code probably exists already).
--
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