diff options
Diffstat (limited to 'c/src/lib/libbsp/powerpc/shared/pci/pci.h')
-rw-r--r-- | c/src/lib/libbsp/powerpc/shared/pci/pci.h | 14 |
1 files changed, 14 insertions, 0 deletions
diff --git a/c/src/lib/libbsp/powerpc/shared/pci/pci.h b/c/src/lib/libbsp/powerpc/shared/pci/pci.h index 7327a6afbc..bacf8d51b5 100644 --- a/c/src/lib/libbsp/powerpc/shared/pci/pci.h +++ b/c/src/lib/libbsp/powerpc/shared/pci/pci.h @@ -1153,6 +1153,20 @@ pci_write_config_dword(unsigned char bus, unsigned char slot, unsigned char func extern unsigned char BusCountPCI(); extern void InitializePCI(); + +struct _pin_routes +{ + int pin, int_name[4]; +}; +struct _int_map +{ + int bus, slot, opts; + struct _pin_routes pin_route[5]; +}; + +void FixupPCI( struct _int_map *, int (*swizzler)(int,int) ); + + /* scan for a specific device */ /* find a particular PCI device * (currently, only bus0 is scanned for device/fun0) |