public inbox for linux-kernel@vger.kernel.org
 help / color / mirror / Atom feed
* PIIX4 ACPI device - hardwired IRQ9
@ 2004-07-13 17:34 Torsten Scheck
  2004-07-19  5:36 ` Andrey Panin
  0 siblings, 1 reply; 2+ messages in thread
From: Torsten Scheck @ 2004-07-13 17:34 UTC (permalink / raw)
  To: linux-kernel

Dear friends:

Please excuse my ignorance: Does the indicated line below have any other 
purpose apart from making me comment it and recompile the kernel to get 
my soundcard working? ;-)

kernel-source-2.4.26/arch/i386/kernel/pci-pc.c
static void __devinit pci_fixup_piix4_acpi(struct pci_dev *d)
         /* PIIX4 ACPI device: hardwired IRQ9 */
  ===>   d->irq = 9;

$ isapnp /etc/isapnp.conf
/etc/isapnp.conf:167 -- Fatal - resource conflict allocating IRQ9
(see pci)
/etc/isapnp.conf:167 -- Fatal - Error occurred executing request
'IRQ 9' --- further action aborted

My soundcard is a Terratec EWS64 XL. I successfully use the 
sam9407-1.0.4 driver after a proper isapnp configuration, i.e. comment 
the hardwired IRQ9 line, compile the kernel, run isapnp.


If there should be really no other purpose I recommend to comment the 
line, so I can use a precompiled kernel from now on. :-)

kernel-source-2.4.26/arch/i386/kernel/pci-pc.c
static void __devinit pci_fixup_piix4_acpi(struct pci_dev *d)
         /* PIIX4 ACPI device: hardwired IRQ9 */
         /* d->irq = 9; */


Or maybe there is some method to deactivate hardwired irqs with boot 
parameters? My first experiments (without a clue about kernel internals) 
using kernel boot parameters like 'acpi=', 'pci=irqmask=0xMMMM' failed, 
though.


Please CC me, if you want me to read your reply asap.

All the best-
Torsten Scheck



^ permalink raw reply	[flat|nested] 2+ messages in thread

* Re: PIIX4 ACPI device - hardwired IRQ9
  2004-07-13 17:34 PIIX4 ACPI device - hardwired IRQ9 Torsten Scheck
@ 2004-07-19  5:36 ` Andrey Panin
  0 siblings, 0 replies; 2+ messages in thread
From: Andrey Panin @ 2004-07-19  5:36 UTC (permalink / raw)
  To: Torsten Scheck; +Cc: linux-kernel

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

On 195, 07 13, 2004 at 07:34:26PM +0200, Torsten Scheck wrote:
> Dear friends:
> 
> Please excuse my ignorance: Does the indicated line below have any other 
> purpose apart from making me comment it and recompile the kernel to get 
> my soundcard working? ;-)
> 
> kernel-source-2.4.26/arch/i386/kernel/pci-pc.c
> static void __devinit pci_fixup_piix4_acpi(struct pci_dev *d)
>         /* PIIX4 ACPI device: hardwired IRQ9 */
>  ===>   d->irq = 9;
> 
> $ isapnp /etc/isapnp.conf
> /etc/isapnp.conf:167 -- Fatal - resource conflict allocating IRQ9
> (see pci)
> /etc/isapnp.conf:167 -- Fatal - Error occurred executing request
> 'IRQ 9' --- further action aborted
> 
> My soundcard is a Terratec EWS64 XL. I successfully use the 
> sam9407-1.0.4 driver after a proper isapnp configuration, i.e. comment 
> the hardwired IRQ9 line, compile the kernel, run isapnp.
> 
> 
> If there should be really no other purpose I recommend to comment the 
> line, so I can use a precompiled kernel from now on. :-)

The answer is simple: don't use isapnptools with 2.4 kernel,
drivers should use kernel ISA PnP subsystem instead.

Unfortunately the sam9407-1.0.4 is extremely ugly piece of code and
no person sane enough will touch it (for the good summ of money perhaps :)

So the real thing you need is sam9407 driver rewritten from scrath :(

-- 
Andrey Panin		| Linux and UNIX system administrator
pazke@donpac.ru		| PGP key: wwwkeys.pgp.net

[-- Attachment #2: Digital signature --]
[-- Type: application/pgp-signature, Size: 189 bytes --]

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2004-07-19  5:36 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2004-07-13 17:34 PIIX4 ACPI device - hardwired IRQ9 Torsten Scheck
2004-07-19  5:36 ` Andrey Panin

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox