source: rtems/c/src/lib/libbsp/powerpc/shared/pci/pci.h @ d4d6c2ca

4.104.114.84.95
Last change on this file since d4d6c2ca was d4d6c2ca, checked in by Ralf Corsepius <ralf.corsepius@…>, on 05/06/05 at 04:54:48

2005-05-06 Ralf Corsepius <ralf.corsepius@…>

  • pci/pci.h: Add pci_bus_count().
  • Property mode set to 100644
File size: 813 bytes
Line 
1/*
2 *
3 *      PCI defines and function prototypes
4 *      Copyright 1994, Drew Eckhardt
5 *      Copyright 1997, 1998 Martin Mares <mj@atrey.karlin.mff.cuni.cz>
6 *
7 *      For more information, please consult the following manuals (look at
8 *      http://www.pcisig.com/ for how to get them):
9 *
10 *      PCI BIOS Specification
11 *      PCI Local Bus Specification
12 *      PCI to PCI Bridge Specification
13 *      PCI System Design Guide
14 *
15 * $Id$
16 */
17
18#ifndef BSP_POWERPC_PCI_H
19#define BSP_POWERPC_PCI_H
20
21#include <rtems/pci.h>
22
23struct _pin_routes
24{
25      int pin, int_name[4];
26};
27struct _int_map
28{
29      int bus, slot, opts;
30      struct _pin_routes pin_route[5];
31};
32
33void FixupPCI( const struct _int_map *, int (*swizzler)(int,int) );
34
35/* FIXME: This probably belongs into rtems/pci.h */
36extern unsigned char pci_bus_count();
37
38#endif /* BSP_POWERPC_PCI_H */
Note: See TracBrowser for help on using the repository browser.