All of lore.kernel.org
 help / color / mirror / Atom feed
From: "Yu, Luming" <luming.yu@intel.com>
To: linux-ia64@vger.kernel.org
Subject: [Linux-ia64] entry->irq = entry->link.index (problem 2 of thread [ Re: patch for updating IA64 ACPI
Date: Mon, 23 Jun 2003 07:13:18 +0000	[thread overview]
Message-ID: <marc-linux-ia64-105635248609013@msgid-missing> (raw)

> @@ -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

             reply	other threads:[~2003-06-23  7:13 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2003-06-23  7:13 Yu, Luming [this message]
2003-06-23 18:27 ` [Linux-ia64] entry->irq = entry->link.index (problem 2 of thread [ Re: patch for updating IA64 A David Mosberger

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=marc-linux-ia64-105635248609013@msgid-missing \
    --to=luming.yu@intel.com \
    --cc=linux-ia64@vger.kernel.org \
    /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.