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.
commit ff9c54ec792041f6f7f45d5abceb5af47a71a2f7
Author: Rene Herman <rene.herman@xxxxxxxxx>
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))
_______________________________________________
Alsa-devel mailing list
Alsa-devel@xxxxxxxxxxxxxxxx
http://mailman.alsa-project.org/mailman/listinfo/alsa-devel