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

Re: pci_read_config_byte in Hardhat CDK1.2 for powerpc

From: Mark A. Greer <hidden>
Date: 2000-10-19 19:55:14

Zhaobin Zhu wrote:
"Mark A. Greer" wrote:
quoted
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
Thanks, Mark.

Here is what I found:

pci_read_config_byte =  generic_pcibios_read_byte =
ppc_md.pcibios_read_config_byte = indirect_pcibios_read_config_byte
in arch/ppc/kernel/indirect_pci.c
Yes, that is true because of the "set_config_access_method(indirect)" call in the
*_setup.c or *_pci.c routine for your platform (if you're looking at the
sandpoint, its in sandpoint_setup.c).  Other access methods are supported too.

Mark

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