Skip to contentSkip to conversation

Parallel port detection via ACPI

PATCH Dino Klein 1 participant 1 message Jun 28, 2004

lore
Share & tools
lore

Dino Klein

author
#0 lore raw

Hey,
I have one question about using acpi_register_gsi() - this is an ia64 only thing, right?
Thing is, that I remember an exchange on the acpi mailing list mentioning that there is no legacy hardware on ia64 systems; wouldn't that also include the parallel port?

Quoted 18 lines

From: Bjorn Helgaas <[email protected]>
To: Dino Klein <[email protected]>
Subject: Re: [PATCH 2.6.7] Parallel port detection via ACPI
Date: Tue, 22 Jun 2004 17:42:36 -0600

Nice start at this! As you note, it needs a little work. Here are a couple things I noticed:

- the ACPI stuff should be under #ifdef CONFIG_ACPI
- the IRQ should be fed through acpi_register_gsi() (a new interface that showed up in BK a few days ago)
- there are IRQ and extended IRQ structures -- maybe should be extended to handle both?
- seems like it'd be nice to arrange it so we look in ACPI first, then fall back to previous detection if that fails (probably with a boot-time option to disable the ACPI detection in case the firmware is buggy)

Quoted 4 lines

Again, good work! I'm glad to see us starting to take advantage of this stuff.

Bjorn

_________________________________________________________________
MSN Messenger: instale gr�tis e converse com seus amigos. http://messenger.msn.com.br