[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-Id: <20160417.191849.2044093416855662399.davem@davemloft.net>
Date: Sun, 17 Apr 2016 19:18:49 -0400 (EDT)
From: David Miller <davem@...emloft.net>
To: Yuval.Mintz@...gic.com
Cc: netdev@...r.kernel.org, sudarsana.kalluru@...gic.com
Subject: Re: [PATCH net-next 5/5] qed*: Add support for read/write of eeprom
From: Yuval Mintz <Yuval.Mintz@...gic.com>
Date: Sun, 17 Apr 2016 22:26:35 +0300
> There's quite a bit of `magic' here [based on the ethtool `magic'
> field] which is retained by the user application responsible for
> interacting with the driver for the purpose of upgrading the nvram
> image.
This is not how the 'magic' value of the eeprom structure is specified
to be used, please use it the way it is supposed to be used rather
than inventing semantics which only apply to your device.
The entire point of defining a common interface for device driver
interface interaction with the user is exactly so that driver authors
don't do things like this.
Powered by blists - more mailing lists