From: Takashi Iwai <tiwai@suse.de>
To: Eliot Blennerhassett <linux@audioscience.com>
Cc: alsa-devel@alsa-project.org
Subject: Re: [PATCH 3/5] asihpi: Remove HPI4000
Date: Fri, 14 Mar 2008 09:10:24 +0100 [thread overview]
Message-ID: <s5h7ig5n2tr.wl%tiwai@suse.de> (raw)
In-Reply-To: <47D9928A.30000@audioscience.com>
At Fri, 14 Mar 2008 09:46:02 +1300,
Eliot Blennerhassett wrote:
>
> > OK. BTW, what if the newer firmware is loaded onto the old driver?
>
> Within limits (how far apart driver and firmware are) this will work.
> Mostly we are adding functions to the firmware, so old driver will work
> with new firmware but a new driver won't work with old firmware.
> Sometimes old functions are deprecated, but we don't remove them
> straight away.
As long as the backward-compatibility is kept, I think it's fine to
use the same name. What I'm concerned is rather the regression by the
firmware package update.
So, I suppose the driver won't crash even if you have only the old
firmware?
> In the windows world our "driver" install includes driver, firmware,
> userspace dll, python bindings, and mixer application all matching.
Not that on Linux, obviously :)
Of course, distros should provide the consistent packages, though.
> > Would it be safer to rename the firmware file for each incompatible
> > version? If yes, we can change the asihpi driver code together with
> > the firmware renames to couple tightly.
>
> The firmware images contain the HPI version encoded in the header. I
> will at least log a warning that the driver and firmware version do not
> match.
That'll be good.
> I guess its possible to use versioned file names. Did you have something
> in mind? Currently the filename is generated from an adapter ID:
>
> sprintf(fw_name, "asihpi/dsp%04x.bin", nAdapter);
Well, you can simply add a version number suffix to the firmware
name, such as, dspxxx-032011.bin. But, I think this versioned name is
needed only if the firmware has compatibility issue. As long as the
firmware has a certain level of compatibility, we can reuse the same
name.
thanks,
Takashi
prev parent reply other threads:[~2008-03-14 8:10 UTC|newest]
Thread overview: 5+ messages / expand[flat|nested] mbox.gz Atom feed top
2008-03-06 1:49 [PATCH 3/5] asihpi: Remove HPI4000 Eliot Blennerhassett
2008-03-06 23:32 ` Eliot Blennerhassett
2008-03-13 10:40 ` Takashi Iwai
2008-03-13 20:46 ` Eliot Blennerhassett
2008-03-14 8:10 ` Takashi Iwai [this message]
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=s5h7ig5n2tr.wl%tiwai@suse.de \
--to=tiwai@suse.de \
--cc=alsa-devel@alsa-project.org \
--cc=linux@audioscience.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