Kernel - Added a (slightly hacky) virtual PCI interface
[tpg/acess2.git] / KernelLand / Kernel / arch / armv7 / vpci_tegra2.c
1 /*
2  * Acess2 Kernel ARMv7 Port
3  * - By John Hodge (thePowersGang)
4  *
5  * vpci_tegra2.c
6  * - Tegra2 VPCI Definitions
7  */
8 #include <virtual_pci.h>
9
10 // === PROTOTYPES ===
11
12 // === GLOBALS ===
13 tVPCI_Device    gaVPCI_Devices[] = {
14         {
15         .Vendor=0x0ACE,.Device=0x1100,
16         .Class = 0x0C032000,    // Serial, USB, ECHI
17         .BARs = {0xC5000000,0,0,0,0,0},
18         .IRQ = 0*32+20,
19         },
20         {
21         .Vendor=0x0ACE,.Device=0x1100,
22         .Class = 0x0C032000,    // Serial, USB, ECHI
23         .BARs = {0xC5004000,0,0,0,0,0},
24         .IRQ = 0*32+21,
25         },
26         {
27         .Vendor=0x0ACE,.Device=0x1100,
28         .Class = 0x0C032000,    // Serial, USB, ECHI
29         .BARs = {0xC5008000,0,0,0,0,0},
30         .IRQ = 4*32+1,
31         }
32 };
33 int giVPCI_DeviceCount = sizeof(gaVPCI_Devices)/sizeof(gaVPCI_Devices[0]);
34

UCC git Repository :: git.ucc.asn.au