j
: Next unread message k
: Previous unread message j a
: Jump to all threads
j l
: Jump to MailingList overview
Hi Everyone I need to write PCI Bus Driver for MIPS Embedded Processor. In my case PCI is a built-in device, need to know the details about writing PCI Enumeration -- i.e configuring and enumerating PCI Devices. Should there be any base enumeration to be written in C program if so where is the hook Point in Openbios kernel and then rest in Forth or everything (configuring, enumerating, Reading and writing) needs to be implemented in Forth using PCI Bus Binding according to Open Firmware.
Regards Viswa
The information contained in this e-mail message and in any annexure is confidential to the recipient and may contain privileged information. If you are not the intended recipient, please notify the sender and delete the message along with any annexure. You should not disclose, copy or otherwise use the information contained in the message or any annexure. Any views expressed in this e-mail are those of the individual sender except where the sender specifically states them to be the views of SoCrates Software India Pvt Ltd., Bangalore.
On Thu, 30 Sep 2004 Vishu@soc-soft.com wrote:
Point in Openbios kernel and then rest in Forth or everything (configuring, enumerating, Reading and writing) needs to be implemented in Forth using PCI Bus Binding according to Open Firmware.
why do you have to do binding in forth? If the openbios does it in c, I don't see the need for forth.
The information contained in this e-mail message and in any annexure is confidential to the recipient and may contain privileged information. If you are not the intended recipient, please notify the sender and delete the message along with any annexure. You should not disclose, copy or otherwise use the information contained in the message or any annexure. Any views expressed in this e-mail are those of the individual sender except where the sender specifically states them to be the views of SoCrates Software India Pvt Ltd., Bangalore.
what's the point of a disclaimer like this on a mailing list, I wonder ...
ron
Hi Viswa,
I need to write PCI Bus Driver for MIPS Embedded Processor. In my case PCI is a built-in device, need to know the details about writing PCI Enumeration -- i.e configuring and enumerating PCI Devices.
Have a look at the sources ;-) The PCI driver is already there in OpenBIOS. See openbios-devel/drivers/pci.* To get it working for a new platform, you basically need to adapt openbios-devel/include/<arch>/pci.h
Note: The driver does not do much at the moment. IE ROM probing does not work correctly. See the issue tracker for more details:
https://www.openbios.org/roundup/openbios/
Do you have OpenBIOS running on MIPS hardware?
Should there be any base enumeration to be written in C program if so where is the hook Point in Openbios kernel and then rest in Forth or everything (configuring, enumerating, Reading and writing) needs to be implemented in Forth using PCI Bus Binding according to Open Firmware.
See the existing driver.
Stefan