From: Dan Williams <dcbw@redhat.com>
To: Kalle Valo <kalle.valo@iki.fi>
Cc: Christian Lamparter <chunkeey@googlemail.com>,
linux-wireless@vger.kernel.org
Subject: Re: [RFC] p54: software hot-swap eeprom image
Date: Fri, 20 Nov 2009 12:48:15 -0800 [thread overview]
Message-ID: <1258750095.26965.105.camel@localhost.localdomain> (raw)
In-Reply-To: <87y6m1aqro.fsf@purkki.valot.fi>
On Fri, 2009-11-20 at 22:24 +0200, Kalle Valo wrote:
> Christian Lamparter <chunkeey@googlemail.com> writes:
>
> > This (aggregated) patch adds a new sysfs file "eeprom_overwrite"
> > which can be used to upload an customized eeprom image to the
> > driver during normal operation.
> >
> > The old wlanX device will quickly vanish. And if the new EEPROM
> > image passes all sanity checks the device will reappear.
> >
> > Hopefully, this proves to be an adequate solution for everyone
> > with a bad/missing EEPROM data/chip.
>
> Wasn't the concensus that request_firmware() will be used for this
> kind of device specific data? stlc45xx had a similar sysfs interface
> and people didn't like it. And I tend to agree with them, adding odd
> sysfs files is not the best way to handle this.
It could be yes, but what would the trigger to upload the new firmware
be? A /standard/ sysfs file that you
echo "new-firmware-v345" > eeprom_write
into that would then request_firmware("new-firmware-v345")? I don't
really care where read/write functionality is, I just want this stuff to
be in one place and not have one mechanism for reading it and a few
different ones for writing it.
Dan
next prev parent reply other threads:[~2009-11-20 20:48 UTC|newest]
Thread overview: 9+ messages / expand[flat|nested] mbox.gz Atom feed top
2009-11-20 19:27 [RFC] p54: software hot-swap eeprom image Christian Lamparter
2009-11-20 19:53 ` Dan Williams
2009-11-20 20:32 ` Luis R. Rodriguez
2009-11-20 20:32 ` Kalle Valo
2009-11-20 20:24 ` Kalle Valo
2009-11-20 20:48 ` Dan Williams [this message]
2009-11-20 21:02 ` Kalle Valo
2009-11-20 23:12 ` Dan Williams
2009-11-20 23:33 ` Christian Lamparter
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=1258750095.26965.105.camel@localhost.localdomain \
--to=dcbw@redhat.com \
--cc=chunkeey@googlemail.com \
--cc=kalle.valo@iki.fi \
--cc=linux-wireless@vger.kernel.org \
/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