All of lore.kernel.org
 help / color / mirror / Atom feed
From: Takashi Iwai <tiwai@suse.de>
To: Jaroslav Kysela <perex@suse.cz>
Cc: Clemens Ladisch <clemens@ladisch.de>,
	"alsa-devel@lists.sourceforge.net"
	<alsa-devel@lists.sourceforge.net>
Subject: Re: Why gameport port address as control?
Date: Wed, 18 Jun 2003 14:48:40 +0200	[thread overview]
Message-ID: <s5hr85r4klz.wl@alsa2.suse.de> (raw)
In-Reply-To: <Pine.LNX.4.44.0306171622060.3847-100000@pnote.perex-int.cz>

At Tue, 17 Jun 2003 16:24:41 +0200 (CEST),
Jaroslav wrote:
> 
> On Mon, 16 Jun 2003, Clemens Ladisch wrote:
> 
> > Both the ymfpci and ens1370 drivers use the control API to enable and
> > select the address of the gameport. Using module parameters would have
> > been somewhat easier.
> > 
> > I don't really understand why this has been done. Is there any
> > situation where the ability to change the gameport parameters at
> > runtime is actually useful?
> 
> It is possible to change the code. My idea was to use control API, 
> because we can create a list of available addresses. It is more
> user friendly than module option, but the final result is same.

i see both merits and demerits by this.

with the control API, we can enable/disable and even configure the
gameport on the fly.  this sounds not bad.

but, it also leads to a danger that the resource changes happening
even after gameport drivers running.  this might be a possible reason
of crashes due to resource conflicts.

thus, from the viewpoint of safety, allocation of the resource at the
initial stage would be better.  in this sense, module parameters look
easier and more straightforward.


Takashi


-------------------------------------------------------
This SF.Net email is sponsored by: INetU
Attention Web Developers & Consultants: Become An INetU Hosting Partner.
Refer Dedicated Servers. We Manage Them. You Get 10% Monthly Commission!
INetU Dedicated Managed Hosting http://www.inetu.net/partner/index.php

      reply	other threads:[~2003-06-18 12:48 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2003-06-16  7:24 Why gameport port address as control? Clemens Ladisch
2003-06-17 14:24 ` Jaroslav Kysela
2003-06-18 12:48   ` 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=s5hr85r4klz.wl@alsa2.suse.de \
    --to=tiwai@suse.de \
    --cc=alsa-devel@lists.sourceforge.net \
    --cc=clemens@ladisch.de \
    --cc=perex@suse.cz \
    /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 an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.