From: "Tod E. Kurt" <tod@blastoff.com>
To: Zhaobin Zhu <zzhu@emc.com>
Cc: linuxppc-embedded@lists.linuxppc.org
Subject: Re: pci_read_config_byte in Hardhat CDK1.2 for powerpc
Date: Thu, 19 Oct 2000 10:48:59 -0700 [thread overview]
Message-ID: <39EF340B.8F309605@blastoff.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.
As someone else mentioned, it (along with most all the other functions
declared in 'pci.h') is is '/usr/src/linux/drivers/pci/pci.c'. It wraps
'pcibios_read_config_byte', which is defined in
'/usr/src/linux/arch/i386/kernel/bios32.c' for PCs and in various files
(depending on specific arch) in '/usr/src/linux/arch/ppc/kernel'.
-=tod
** Sent via the linuxppc-embedded mail list. See http://lists.linuxppc.org/
next prev parent reply other threads:[~2000-10-19 17:48 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
2000-10-19 18:22 ` Zhaobin Zhu
2000-10-19 19:55 ` Mark A. Greer
2000-10-19 17:48 ` Tod E. Kurt [this message]
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=39EF340B.8F309605@blastoff.com \
--to=tod@blastoff.com \
--cc=linuxppc-embedded@lists.linuxppc.org \
--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 a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).