All of lore.kernel.org
 help / color / mirror / Atom feed
From: Rene Herman <rene.herman@gmail.com>
To: Rask Ingemann Lambertsen <rask@sygehus.dk>
Cc: Adam Belay <ambx1@neo.rr.com>, alsa-devel@alsa-project.org
Subject: Re: [PATCH] PnP: Protocol for Media Vision	Jazz16	sound cards
Date: Sun, 22 Apr 2007 18:27:44 +0200	[thread overview]
Message-ID: <462B8D00.8020305@gmail.com> (raw)
In-Reply-To: <20070420200007.GD3192@sygehus.dk>

[-- Attachment #1: Type: text/plain, Size: 1729 bytes --]

On 04/20/2007 10:00 PM, Rask Ingemann Lambertsen wrote:

> On Fri, Apr 20, 2007 at 07:27:25PM +0200, Rene Herman wrote:

>> Just got around to giving this a spin again and unfortunately the preffered 
>> options code isn't working for me:

>    Do you have a PCI device like this one? /sbin/lspci -v:
> 
> 00:07.3 Bridge: Intel Corporation 82371AB/EB/MB PIIX4 ACPI (rev 01)
>         Flags: medium devsel, IRQ 9

Mmm, yes, I do. Was on an Intel 430VX chipset with a PIIX3 last time and on 
a 430TX with the PIIX4 this time.

> I don't know who to blame, but I know of no way of moving that device off
> of IRQ 9.

Indeed; it seems to be a well-known problem.

The Intel 430TX and 440BX (which also uses the PIIX4 if I'm not mistaken) 
were hugely popular chipsets in the later generation of boards that still 
had ISA slots and given that noone will deperately want the MPU-401 IRQ 
assigned; how would you feel about the attached? Just adds the preffered 
options minus the MPU IRQ as the first acceptable. Works for me...

I ran the driver through a complete test again. Playback, capture (from 
line, CD and mic), the OPL3 synth and MPU-401 out- and input (both with and 
without the MPU-401 IRQ) and all work fine. Feel free to add my signed-off 
to the ALSA part.

As to the PnP part; other than that IRQ9 thing everything also working fine 
and if you think the attached is ugly; I don't much care. I still have the 
possible objection with the BIOS maybe needing to know about the card anyway 
so it can route the IRQ to ISA (and the slight discomfort about Jazz16 code 
in drivers/pnp). But next iteration can be final.

If Adam still isn't commenting by then, let's just feed it through Andrew 
Morton and LKML.

Rene.


[-- Attachment #2: jazz16pnp-irq9.diff --]
[-- Type: text/plain, Size: 840 bytes --]

commit ff9c54ec792041f6f7f45d5abceb5af47a71a2f7
Author: Rene Herman <rene.herman@gmail.com>
Date:   Sat Apr 21 09:07:44 2007 +0200

    IRQ 9 is unavailable on PIIX4 boards -- the MPU-401 UART can
    do without an IRQ as well...

diff --git a/drivers/pnp/jazz16pnp.c b/drivers/pnp/jazz16pnp.c
index b71381b..020b6bb 100644
--- a/drivers/pnp/jazz16pnp.c
+++ b/drivers/pnp/jazz16pnp.c
@@ -233,6 +233,11 @@ static int __init jazz16pnp_add_sb(void)
 				   jazz16pnp_pref_dmas, 1))
 		goto out_no_sboption;
 	if (!jazz16pnp_easy_option(sbdev, PNP_RES_PRIORITY_ACCEPTABLE,
+				   jazz16pnp_pref_ports, 3,
+				   jazz16pnp_pref_irqs, 1,
+				   jazz16pnp_pref_dmas, 1))
+		goto out_no_sboption;
+	if (!jazz16pnp_easy_option(sbdev, PNP_RES_PRIORITY_ACCEPTABLE,
 				   jazz16pnp_ports, 3,
 				   jazz16pnp_irqs, 2,
 				   jazz16pnp_dmas, 1))

[-- Attachment #3: Type: text/plain, Size: 160 bytes --]

_______________________________________________
Alsa-devel mailing list
Alsa-devel@alsa-project.org
http://mailman.alsa-project.org/mailman/listinfo/alsa-devel

  reply	other threads:[~2007-04-22 16:29 UTC|newest]

Thread overview: 7+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
     [not found] <20070412195523.GC5324@sygehus.dk>
2007-04-20 17:27 ` [PATCH] PnP: Protocol for Media Vision Jazz16 sound cards Rene Herman
2007-04-20 20:00   ` Rask Ingemann Lambertsen
2007-04-22 16:27     ` Rene Herman [this message]
2007-04-23 18:52       ` Rask Ingemann Lambertsen
2007-04-26 12:55         ` Rene Herman
2007-04-26 13:00           ` Takashi Iwai
2007-04-26 15:11             ` Rene Herman

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=462B8D00.8020305@gmail.com \
    --to=rene.herman@gmail.com \
    --cc=alsa-devel@alsa-project.org \
    --cc=ambx1@neo.rr.com \
    --cc=rask@sygehus.dk \
    /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.