From: "Mark A. Greer" <mgreer@mvista.com>
To: Zhaobin Zhu <zzhu@emc.com>
Cc: "Tod E. Kurt" <tod@blastoff.com>, linuxppc-embedded@lists.linuxppc.org
Subject: Re: pci_read_config_byte in Hardhat CDK1.2 for powerpc
Date: Thu, 19 Oct 2000 10:41:35 -0700 [thread overview]
Message-ID: <39EF324F.B45B73FE@mvista.com> (raw)
In-Reply-To: 39EF2C2B.D24DCE15@emc.com
Zhaobin Zhu wrote:
> "Tod E. Kurt" wrote:
>
> > Zhaobin Zhu wrote:
> > >
> > > Hi,
> > >
> > > Anybody knows where the function "pci_read_config_byte(..)" is defined ?
> >
> > Again, use 'grep' in '/usr/include/linux/*.h'.
> >
> > I did that and found it in '/usr/include/linux/pci.h'.
>
> Yes, pci_read_config_byte(..) is declared in include/linux/pci.h, but I
> can't find
> its C source anywhere. I do find it in System.map.
The definitions of pci_xxx_config_yyy and pcibios_xxx_config_yyy are hard to
find.
pci_xxx_config_yyy are defined by the PCI_OP() macro in drivers/pci/pci.c
pcibios_xxx_config_yyy are defined by the PCI_OP() macro in
drivers/pci/compat.c
At least this is true in 2.4.0-test2.
Mark
** Sent via the linuxppc-embedded mail list. See http://lists.linuxppc.org/
next prev parent reply other threads:[~2000-10-19 17:41 UTC|newest]
Thread overview: 15+ messages / expand[flat|nested] mbox.gz Atom feed top
2000-10-17 21:02 MBX kernel compile error Yiran Duan
2000-10-17 23:46 ` Jamie Guinan
2000-10-18 17:09 ` LIST_HEAD Zhaobin Zhu
2000-10-18 17:52 ` LIST_HEAD Tod E. Kurt
2000-10-18 17:56 ` LIST_HEAD Tod E. Kurt
2000-10-18 21:11 ` pci_read_config_byte in Hardhat CDK1.2 for powerpc Zhaobin Zhu
2000-10-18 22:54 ` Cal Erickson
2000-10-18 22:56 ` Grant Erickson
2000-10-19 0:19 ` Graham Stoney
[not found] ` <39EE147B.B79A2837@blastoff.com>
2000-10-19 17:15 ` Zhaobin Zhu
2000-10-19 17:41 ` Mark A. Greer [this message]
2000-10-19 18:22 ` Zhaobin Zhu
2000-10-19 19:55 ` Mark A. Greer
2000-10-19 17:48 ` Tod E. Kurt
2000-10-18 0:08 ` MBX kernel compile error Wolfgang Denk
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=39EF324F.B45B73FE@mvista.com \
--to=mgreer@mvista.com \
--cc=linuxppc-embedded@lists.linuxppc.org \
--cc=tod@blastoff.com \
--cc=zzhu@emc.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.