[Top] [All Lists]

Re: help, question on pci communication!

Subject: Re: help, question on pci communication!
From: "invictus rm" <>
Date: Wed, 24 Sep 2003 23:15:18 +0530
Original-recipient: rfc822;

If the BCM1250 is operating in the device mode in the peripheral slot of the CPCI chassis, u need t get the enumeration of the PCI being done from MCP 750 right. The code for MCP750 alread exists in the linux kernel ( if i remember correctly).

U can proceed in the following directions-->
(a) Get the PCI enumeration working properly on the MCP750 ( look at the ouput of lspci -vvv to decide whether resource allocation is proper or not) . The powerpc provides a fairly comprehensive PCI enumeration code( including scanning beyond the bridge).

(b) Once u are able to see ur device in the lspci output on the MCP board , u can load the driver ( ur custom driver ) to do the transfer from the BCM1250 to MCP and vice versa.

(v) Look at the few PCI based drivers about the way the data transfers is handled specially pci_alloc_* / pci_map_*/pci_resource_*.........

Hope this helps

From: "Guangxing Zhang" <>
To: Fuxin Zhang <>
CC: <>, angela <>
Subject: help, question on pci communication!
Date: Wed, 24 Sep 2003 16:29:32 +0800

Hi, Fuxin and everyone see this mail,
In linux world ,newbies always like to ask and the veterans will always be enthusiastic.:)~~
    Now there is a "ask", of course i am a newbie.
    Follow is the  architecture  which we are working on.
Now i want to transfer the data from the "sb1250" to mcp750 through the PCI bus with the help of 21555 bridge. I want to implement it in kernel module.Although knowing "use the force ,read source",but i really do not know
how and where to begin.
Is there any advice on it ? How to implement the communication through PCI (or PCI-to-PCI bridge) in kernel
    Any help will be appreciated!Thank in advance!

                          |  MCP 750  |  (Power PC)
¡¡        -------------------------------------------CPCI
             |      --------|-----                         |
             |      |Intel 21555 |(PCI-TO-PCI Bridge)      |
             |      --------------                         |
             |        |                                                    |
             |      --------(PCI bus)                                      |
                         |          |                                  |
                         |       --------                              |
                         |               |SB1250|(CPU)                         |
                         |       --------                              |
¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡Guangxing Zhang
                            2003-09-24 16:03:04

Talk to Karthikeyan. Watch his stunning feats. Download images.

<Prev in Thread] Current Thread [Next in Thread>