All of lore.kernel.org
 help / color / mirror / Atom feed
From: Takashi Iwai <tiwai@suse.de>
To: Osamu Tomita <tomita@cinet.co.jp>
Cc: "'LKML '" <linux-kernel@vger.kernel.org>
Subject: Re: [PATCHSET 22/25] add support for PC-9800 architecture (sound 	alsa)
Date: Fri, 25 Oct 2002 12:10:10 +0200	[thread overview]
Message-ID: <s5hu1ja4ynx.wl@alsa2.suse.de> (raw)
In-Reply-To: <E6D19EE98F00AB4DB465A44FCF3FA46903A30F@ns.cinet.co.jp>

Hi,

At Fri, 25 Oct 2002 11:47:55 +0900,
Osamu Tomita wrote:
> 
> Hi.
> 
> -----Original Message-----
> From: Takashi Iwai
> To: Osamu Tomita
> Cc: LKML
> Sent: 2002/10/24 0:46
> Subject: Re: [PATCHSET 22/25] add support for PC-9800 architecture (sound
> alsa)
> 
> > the question is, whether cs4232 module works on PC9800, or not.
> > i guess the control-port is not used on this card.  in such a case,
> > you can deactivate the control-port via module option (or even add
> > ifdef for the specific kernel config).
> Test results on some PC-9800 (including not CS4232 chip),
> snd-cs4232 driver works fine with snd_isapnp=0 snd_cport=-1 options.
> Thanks for your advice.
> 
> Another problem, I'm tring to separate mpu401 driver for PC-9800.
> To do this, I need to patch many files. So I think previus patch is
> better than separated driver. How do you think?

for which card (chip), is the modification of mpu401 necessary?
if it's only for the cs4232 (on-board?) above, then we can make a
new top-level module, such like snd-pc98-somewhat, which uses the
cs4231 lowlevel module without isapnp stuff, and the modified mpu401
routines, so that the original cs4231 and mpu401 are not changed too
much.

even if cs4231 low-level routines must be changed for pc98, we can
pass the hardware-type CS4231_HW_PC98 in snd_cs4231_create(), and as
Alan suggested, the pc98-specific codes run on this condition.

although this is true for mpu401, the large initialization-code found
in the last patch is definitely not for the "common" module like
mpu401_uart.c.  such a thing should go into the device-specific
module.
since both cs4231 and mpu401_uart are shared among veraious drivers,
changing such a common module results in breakage of other drivers.
(please note that even some pci drivers use mpu401 low-level module.)

or, the change for mpu401 is always necessary on PC9800 regardless of
which device is used?


ciao,

Takashi

  reply	other threads:[~2002-10-25 10:03 UTC|newest]

Thread overview: 18+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2002-10-25  2:47 [PATCHSET 22/25] add support for PC-9800 architecture (sound alsa) Osamu Tomita
2002-10-25 10:10 ` Takashi Iwai [this message]
  -- strict thread matches above, loose matches on Subject: below --
2002-10-26  2:54 Osamu Tomita
2002-10-28 17:57 ` Takashi Iwai
2002-10-29 10:08   ` Takashi Iwai
2002-10-29 17:43     ` Osamu Tomita
2002-10-30 17:52       ` Takashi Iwai
2002-11-01 13:02         ` Osamu Tomita
2002-11-01 13:44           ` Takashi Iwai
2002-11-02  2:44             ` Osamu Tomita
2002-11-04 10:17               ` Takashi Iwai
2002-10-25  2:12 Osamu Tomita
2002-10-18 16:56 Osamu Tomita
2002-10-23 11:01 ` Takashi Iwai
2002-10-23 15:35   ` Osamu Tomita
2002-10-23 15:46     ` Takashi Iwai
2002-10-23 16:12       ` Osamu Tomita
2002-10-23 16:29       ` Alan Cox

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=s5hu1ja4ynx.wl@alsa2.suse.de \
    --to=tiwai@suse.de \
    --cc=linux-kernel@vger.kernel.org \
    --cc=tomita@cinet.co.jp \
    /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.