GUI: Fix Tomato RAF theme for all builds. Compilation typo.
[tomato.git] / release / src-rt-6.x.4708 / cfe / cfe / arch / mips / board / p6064 / include / pci_machdep.h
blob7cf060a16631b4738991fe706fb07afd3c8ccc62
1 /*
2 * Copyright (c) 2001,2002,2003 SiByte, Inc. All rights reserved.
3 */
5 #ifndef _PCI_MACHDEP_H_
6 #define _PCI_MACHDEP_H_
8 /*
9 * Machine-specific definitions for PCI autoconfiguration.
11 * See the comments in pci_machdep.c for more explanation.
14 #include "lib_types.h"
17 * Address types, as integers.
19 typedef uint32_t pci_addr_t;
20 typedef uint64_t phys_addr_t; /* ZBbus physical addresses. */
23 * Root of the bus hierarchy, one per host bridge.
25 typedef struct pciroot_s *pciroot_t;
27 #define PCI_ROOTMAX 1
30 * Configuration tag; created from a {bus,device,function} triplet by
31 * pci_make_tag(), and passed to pci_conf_read() and pci_conf_write().
33 typedef uint32_t pcitag_t;
36 * Type of a value read from or written to a configuration register.
37 * Always 32 bits.
39 typedef uint32_t pcireg_t;
42 * The number of rooted bus trees to be configured (i.e., host bridges
43 * with independent address spaces).
45 #define PCI_HOST_PORTS 1
46 #define PCI_PORTMAX 0x00
48 #endif /* _PCI_MACHDEP_H_ */