pci_hose_read_config_byte() definition puzzles
Hi all,
I met a PCI init problem and happened to find several PCI functions like pci_hose_read_config_byte() defined and used but no function prototype. It made me really surprised. I hope I was in an unclear mind to report it:-)
Attached is the grep result of u-boot-1.1.3 included in ELDK3.1.1. Any thoughts?
Thanks in advance!
Sam
_________________________________________________________
Do You Yahoo!?
150??MP3????????????
http://cn.rd.yahoo.com/mail_cn/tag/yisou/music/*http://music.yisou.com/
???????????????????
http://cn.rd.yahoo.com/mail_cn/tag/yisou/image/*http://image.yisou.com
1G??1000???????????
http://cn.rd.yahoo.com/mail_cn/tag/1g/*http://cn.mail.yahoo.com/event/mail_1g/
-------------- next part --------------
An embedded and charset-unspecified text was scrubbed...
Name: pci-function.txt
Url: http://lists.denx.de/pipermail/u-boot/attachments/20050601/fd7f0c98/attachment.txt
Quoted 4 lines · In message <[email protected]> you wrote:
I met a PCI init problem and happened to find several PCI functions like
pci_hose_read_config_byte()defined and used but no function prototype. It made
...
Quoted 2 lines
Attached is the grep result of u-boot-1.1.3 included in ELDK3.1.1. Any thoughts?
...
Quoted 1 line
./include/pci.h:extern int pci_hose_read_config_byte(struct
pci_controller*hose,
This looks very much like a prototype definition to me.
Best regards,
Wolfgang Denk
Signature · 6 lines
Software Engineering: Embedded and Realtime Systems, Embedded Linux Phone: (+49)-8142-66989-10 Fax: (+49)-8142-66989-80 Email: wd at denx.de Once at a social gathering, Gladstone said to Disraeli, "I predict, Sir, that you will die either by hanging or of some vile disease". Disraeli replied, "That all depends, Sir, upon whether I embrace your principles or your mistress."