From: Takashi Sakamoto <o-takashi@sakamocchi.jp>
To: Clemens Ladisch <clemens@ladisch.de>
Cc: "alsa-devel@alsa-project.org" <alsa-devel@alsa-project.org>
Subject: Re: [RFC] dice: simplifying address registration
Date: Sat, 25 Apr 2015 21:25:14 +0900 [thread overview]
Message-ID: <553B87AA.60800@sakamocchi.jp> (raw)
In-Reply-To: <553B5534.1060005@ladisch.de>
Clemens,
Thanks for your comment.
On Apr 25 2015 17:49, Clemens Ladisch wrote:
> Takashi Sakamoto wrote:
>> Currently Dice driver keeps address ranges for each unit instance. But
>> there's a way to reuse the same address range.
>
> This requires an additional check for the packet's source node, which is
> essentially a duplicate of the core's address lookup code.
>
>> I think this idea can simplify driver probe processing
>
> Yes, but that code is just moved to the module load processing.
>From probe processing, thus address allocation is just one time, not
each time IEEE 1394 unit is probed.
>> and save resources of host controller.
>
> When using multiple DICE devices, this saves four bytes of FireWire
> address space per card, out of the total address space of 2^48 bytes.
> Or what other resources do you mean?
Actually, 2^48 bytes are really huge. But there're some rude devices to
transfer transaction to a certain address (i.e. Fireworks). For me, it's
basically better idea to keep allocated address range as small as possible.
...But seems to be not so practical. OK. I dropped this patch.
Thanks
Takashi Sakamoto
prev parent reply other threads:[~2015-04-25 12:25 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
2015-04-24 13:06 [RFC] dice: simplifying address registration Takashi Sakamoto
2015-04-25 8:49 ` Clemens Ladisch
2015-04-25 12:25 ` Takashi Sakamoto [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=553B87AA.60800@sakamocchi.jp \
--to=o-takashi@sakamocchi.jp \
--cc=alsa-devel@alsa-project.org \
--cc=clemens@ladisch.de \
/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