Thread (5 messages) flat view 5 messages, 3 authors, 2000-10-19

Re: pci_read_config_byte in Hardhat CDK1.2 for powerpc

From: Tod E. Kurt <hidden>
Date: 2000-10-19 17:48:59

Zhaobin Zhu wrote:
"Tod E. Kurt" wrote:
quoted
Zhaobin Zhu wrote:
quoted
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/
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help