public inbox for linux-ia64@vger.kernel.org
 help / color / mirror / Atom feed
* [Linux-ia64] entry->irq = entry->link.index (problem 2 of thread [ Re: patch for updating IA64 ACPI
@ 2003-06-23  7:13 Yu, Luming
  2003-06-23 18:27 ` [Linux-ia64] entry->irq = entry->link.index (problem 2 of thread [ Re: patch for updating IA64 A David Mosberger
  0 siblings, 1 reply; 2+ messages in thread
From: Yu, Luming @ 2003-06-23  7:13 UTC (permalink / raw)
  To: linux-ia64

> @@ -248,6 +253,8 @@
>  		return_VALUE(0);
>  	}
>  
> +	entry->irq = entry->link.index;
> +
>  	if (!entry->irq && entry->link.handle) {
>  		entry->irq = acpi_pci_link_get_irq(entry->link.handle, entry->link.index);
>  		if (!entry->irq) {

> I don't quite understand what this is for.  Anyone know?

To understand the meaning of entry->link.index, please reference  acpi_get_prt  which is in arch/ia64/kernel/acpi.c.  
There is  vector[i].irq = entry->link.index , entry is acpi_prt_entry. And you can look into mp_parse_prt 
which is in arch/i386/kernel/mpparse.c. There is irq = entry->link.index.

Here,  "entry->irq = entry->link.index" just make sure that a default initial irq value is assigned according to prt entry.

Thanks,
Luming


_______________________________________________
Linux-IA64 mailing list
Linux-IA64@linuxia64.org
http://lists.linuxia64.org/lists/listinfo/linux-ia64

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

end of thread, other threads:[~2003-06-23 18:27 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2003-06-23  7:13 [Linux-ia64] entry->irq = entry->link.index (problem 2 of thread [ Re: patch for updating IA64 ACPI Yu, Luming
2003-06-23 18:27 ` [Linux-ia64] entry->irq = entry->link.index (problem 2 of thread [ Re: patch for updating IA64 A David Mosberger

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