From: Rask Ingemann Lambertsen <rask@sygehus.dk>
To: Rene Herman <rene.herman@gmail.com>
Cc: Adam Belay <ambx1@neo.rr.com>, alsa-devel@alsa-project.org
Subject: Re: [PATCH] PnP: Protocol for Media Vision Jazz16 sound cards
Date: Mon, 23 Apr 2007 20:52:21 +0200 [thread overview]
Message-ID: <20070423185221.GA3157@sygehus.dk> (raw)
In-Reply-To: <462B8D00.8020305@gmail.com>
On Sun, Apr 22, 2007 at 06:27:44PM +0200, Rene Herman wrote:
>
> 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...
Fine with me. Maybe the MPU IRQ should be omitted alltogether? You tell
me.
Thanks for the testing you've done.
> As to the PnP part; other than that IRQ9 thing everything also working fine
Aren't you having problems loading the module after a resource allocation
failure? I find that I need this additional patch to be able to retry:
--- linux-2.6.20.6-clean/drivers/pnp/driver.c 2007-02-04 19:44:54.000000000 +0100
+++ linux-2.6.20.6-ril/drivers/pnp/driver.c 2007-04-15 10:10:35.000000000 +0200
@@ -96,13 +96,13 @@
if (!(pnp_drv->flags & PNP_DRIVER_RES_DO_NOT_CHANGE)) {
error = pnp_activate_dev(pnp_dev);
if (error < 0)
- return error;
+ goto fail;
}
} else if ((pnp_drv->flags & PNP_DRIVER_RES_DISABLE)
== PNP_DRIVER_RES_DISABLE) {
error = pnp_disable_dev(pnp_dev);
if (error < 0)
- return error;
+ goto fail;
}
error = 0;
if (pnp_drv->probe) {
Without it, the device stays attached to the driver. What happens is
pnp_attach_device (device, driver);
error = pnp_activate_dev(device);
if (error < 0)
return error;
...
fail:
pnp_detach_device (device, driver);
return error;
--
Rask Ingemann Lambertsen
next prev parent reply other threads:[~2007-04-23 18:52 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
2007-04-23 18:52 ` Rask Ingemann Lambertsen [this message]
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=20070423185221.GA3157@sygehus.dk \
--to=rask@sygehus.dk \
--cc=alsa-devel@alsa-project.org \
--cc=ambx1@neo.rr.com \
--cc=rene.herman@gmail.com \
/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.