Main Page
Modules
Data Structures
Files
Related Pages
PCI
[
Bus scanning code
]
PCI bus scan functions.
More...
Defines
#define
IORESOURCE_BITS
0x000000ff
#define
IORESOURCE_IO
0x00000100
#define
IORESOURCE_MEM
0x00000200
#define
IORESOURCE_IRQ
0x00000400
#define
IORESOURCE_DMA
0x00000800
#define
IORESOURCE_PREFETCH
0x00001000
#define
IORESOURCE_READONLY
0x00002000
#define
IORESOURCE_CACHEABLE
0x00004000
#define
IORESOURCE_DISABLED
0x10000000
Functions
static void
add_pci_data
(
hd_data_t
*
hd_data
)
static
pci_t
*
add_pci_entry
(
hd_data_t
*
hd_data
,
pci_t
*new_pci)
static unsigned char
pci_cfg_byte
(
pci_t
*pci, int fd, unsigned idx)
static void
dump_pci_data
(
hd_data_t
*
hd_data
)
static void
hd_read_macio
(
hd_data_t
*
hd_data
)
static void
hd_read_vio
(
hd_data_t
*
hd_data
)
static void
hd_read_xen
(
hd_data_t
*
hd_data
)
static void
hd_read_ps3_system_bus
(
hd_data_t
*
hd_data
)
static void
hd_read_vm
(
hd_data_t
*
hd_data
)
static void
add_mv643xx_eth
(
hd_data_t
*
hd_data
, char *entry, char *platform_type)
static void
hd_read_platform
(
hd_data_t
*
hd_data
)
static void
hd_read_of_platform
(
hd_data_t
*
hd_data
)
static void
add_xen_network
(
hd_data_t
*
hd_data
)
static void
add_xen_storage
(
hd_data_t
*
hd_data
)
static void
hd_read_virtio
(
hd_data_t
*
hd_data
)
static void
hd_read_ibmebus
(
hd_data_t
*
hd_data
)
void
hd_scan_sysfs_pci
(
hd_data_t
*
hd_data
)
void
hd_pci_read_data
(
hd_data_t
*
hd_data
)
void
hd_pci_complete_data
(
hd_t
*hd)
Detailed Description
PCI bus scan functions.
Define Documentation
#define IORESOURCE_BITS 0x000000ff
#define IORESOURCE_CACHEABLE 0x00004000
#define IORESOURCE_DISABLED 0x10000000
#define IORESOURCE_DMA 0x00000800
#define IORESOURCE_IO 0x00000100
#define IORESOURCE_IRQ 0x00000400
#define IORESOURCE_MEM 0x00000200
#define IORESOURCE_PREFETCH 0x00001000
#define IORESOURCE_READONLY 0x00002000
Function Documentation
void add_mv643xx_eth
(
hd_data_t
*
hd_data
,
char *
entry
,
char *
platform_type
)
[static]
void add_pci_data
(
hd_data_t
*
hd_data
)
[static]
pci_t
* add_pci_entry
(
hd_data_t
*
hd_data
,
pci_t
*
new_pci
)
[static]
void add_xen_network
(
hd_data_t
*
hd_data
)
[static]
void add_xen_storage
(
hd_data_t
*
hd_data
)
[static]
void dump_pci_data
(
hd_data_t
*
hd_data
)
[static]
void hd_pci_complete_data
(
hd_t
*
hd
)
void hd_pci_read_data
(
hd_data_t
*
hd_data
)
void hd_read_ibmebus
(
hd_data_t
*
hd_data
)
[static]
void hd_read_macio
(
hd_data_t
*
hd_data
)
[static]
void hd_read_of_platform
(
hd_data_t
*
hd_data
)
[static]
void hd_read_platform
(
hd_data_t
*
hd_data
)
[static]
void hd_read_ps3_system_bus
(
hd_data_t
*
hd_data
)
[static]
void hd_read_vio
(
hd_data_t
*
hd_data
)
[static]
void hd_read_virtio
(
hd_data_t
*
hd_data
)
[static]
void hd_read_vm
(
hd_data_t
*
hd_data
)
[static]
void hd_read_xen
(
hd_data_t
*
hd_data
)
[static]
void hd_scan_sysfs_pci
(
hd_data_t
*
hd_data
)
unsigned char pci_cfg_byte
(
pci_t
*
pci
,
int
fd
,
unsigned
idx
)
[static]