From: "Arend van Spriel" <arend@broadcom.com>
To: "Saul St. John" <saul.stjohn@gmail.com>
Cc: "Rafał Miłecki" <zajec5@gmail.com>,
linux-wireless@vger.kernel.org,
"John W. Linville" <linville@tuxdriver.com>
Subject: Re: [RFC] bcma: add cc core driver, expose sprom to sysfs
Date: Mon, 13 Aug 2012 15:46:39 +0200 [thread overview]
Message-ID: <5029053F.1010207@broadcom.com> (raw)
In-Reply-To: <20120810234202.GA8644@eris.garyseven.net>
On 08/11/2012 01:42 AM, Saul St. John wrote:
> On Fri, Aug 10, 2012 at 06:55:22AM +0200, Rafał Miłecki wrote:
>> > 2012/8/10 Saul St. John <saul.stjohn@gmail.com>:
>>> > > Adds a driver for BCMA ChipCommon cores, registers the struct device
>>> > > bcma_bus.drv_cc->core->dev with device_register(), and exposes the SPROM
>>> > > in rev 31+ cc cores as a R/W sysfs attribute.
>> >
>> > Well, that's a little messy. You change a few not strictly related
>> > things in a one patch, please provide patch-per-change. That changes
>> > are quite sensitive so we really need it.
> Ok, v2 will be split over a couple of patches.
>
>> > I also wish to see some explanation on that changes. Why do you need
>> > CC to be registered as a bus core device? Why anyone may need
>> > overwriting SPROM? Did it work for you? Have you tested
>> > suspend&resume?
Hi Saul,
I am really not in favor for adding write support. As Rafał noted there
is no need for linux end-users to be modifying SPROM content. It is
called Serial Programmable *Read-Only* Memory for a reason. The only
parties that need write access are the chip manufacturer and OEM/ODM.
Most information is rather device specific and sensitive to change. Also
changing information like country code (as you indicated you did) can
cause violations in the regulatory area.
Without a clear need of this functionality for the linux users I tend to
discard this change, but I am not the bcma maintainer. Could you
elaborate what your higher-level use is?
If the reasons for having this patch accepted are clear and valid I
would suggest to make it depend on CFG80211_CERTIFICATION_ONUS Kconfig
option.
Gr. AvS
next prev parent reply other threads:[~2012-08-13 13:46 UTC|newest]
Thread overview: 5+ messages / expand[flat|nested] mbox.gz Atom feed top
2012-08-10 0:23 [RFC] bcma: add cc core driver, expose sprom to sysfs Saul St. John
2012-08-10 4:55 ` Rafał Miłecki
2012-08-10 23:42 ` Saul St. John
2012-08-13 13:46 ` Arend van Spriel [this message]
2012-08-14 15:03 ` Saul St. John
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=5029053F.1010207@broadcom.com \
--to=arend@broadcom.com \
--cc=linux-wireless@vger.kernel.org \
--cc=linville@tuxdriver.com \
--cc=saul.stjohn@gmail.com \
--cc=zajec5@gmail.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).