#include <stdio.h>
#include <stdlib.h>
#include <string.h>
#include "bus_isa.h"
#include "bus_pci.h"
#include "cpu.h"
#include "device.h"
#include "devices.h"
#include "diskimage.h"
#include "machine.h"
#include "memory.h"
#include "misc.h"
#include "wdc.h"
#include "thirdparty/cpc700reg.h"
Go to the source code of this file.
Classes | |
struct | piix_ide_extra |
struct | vt82c586_ide_extra |
struct | symphony_82c105_extra |
Macros | |
#define | BUS_PCI_C |
#define | PCI_VENDOR_INTEGRAPHICS 0x10ea |
#define | PCI_VENDOR_S3 0x5333 |
#define | PCI_PRODUCT_S3_VIRGE 0x5631 |
#define | PCI_PRODUCT_S3_VIRGE_DX 0x8a01 |
#define | PCI_VENDOR_ALI 0x10b9 |
#define | PCI_PRODUCT_ALI_M1543 0x1533 /* NOTE: not 1543 */ |
#define | PCI_PRODUCT_ALI_M5229 0x5229 |
#define | PCI_VENDOR_ADP 0x9004 /* Adaptec */ |
#define | PCI_PRODUCT_ADP_AIC7880 0x8078 /* AIC7880 */ |
#define | PCI_VENDOR_GALILEO 0x11ab /* Galileo Technology */ |
#define | PCI_PRODUCT_GALILEO_GT64011 0x4146 /* GT-64011 System Controller */ |
#define | PCI_PRODUCT_GALILEO_GT64120 0x4620 /* GT-64120 */ |
#define | PCI_PRODUCT_GALILEO_GT64260 0x6430 /* GT-64260 */ |
#define | PCI_VENDOR_AMD 0x1022 /* Advanced Micro Devices */ |
#define | PCI_PRODUCT_AMD_PCNET_PCI 0x2000 /* PCnet-PCI Ethernet */ |
#define | PCI_VENDOR_INTEL 0x8086 |
#define | PCI_PRODUCT_INTEL_31244 0x3200 |
#define | PCI_PRODUCT_INTEL_82371SB_ISA 0x7000 |
#define | PCI_PRODUCT_INTEL_82371SB_IDE 0x7010 |
#define | PCI_PRODUCT_INTEL_82371AB_ISA 0x7110 |
#define | PCI_PRODUCT_INTEL_82371AB_IDE 0x7111 |
#define | PCI_PRODUCT_INTEL_SIO 0x0484 |
#define | PCI_VENDOR_IBM 0x1014 |
#define | PCI_PRODUCT_IBM_ISABRIDGE 0x000a |
#define | PCI_VENDOR_HEURICON 0x1223 |
#define | PCI_PRODUCT_HEURICON_PMPPC 0x000e |
#define | PCI_VENDOR_VIATECH 0x1106 /* VIA Technologies */ |
#define | PCI_PRODUCT_VIATECH_VT82C586_IDE |
#define | PCI_PRODUCT_VIATECH_VT82C586_ISA |
#define | COBALT_PCIB_BOARD_ID_REG 0x94 |
#define | COBALT_QUBE2_ID 5 |
#define | PCI_VENDOR_SYMPHONY 0x10ad |
#define | PCI_PRODUCT_SYMPHONY_83C553 0x0565 |
#define | PCI_PRODUCT_SYMPHONY_82C105 0x0105 |
#define | PCI_VENDOR_REALTEK 0x10ec |
#define | PCI_PRODUCT_REALTEK_RT8139 0x8139 |
#define | PCI_VENDOR_DEC 0x1011 /* Digital Equipment */ |
#define | PCI_PRODUCT_DEC_21142 0x0019 /* DECchip 21142/21143 10/100 Ethernet */ |
#define | PCI_PRODUCT_DEC_21030 0x0004 /* DECchip 21030 ("TGA") */ |
#define | PCI_VENDOR_MOT 0x1057 |
#define | PCI_PRODUCT_MOT_MPC105 0x0001 |
#define | PCI_VENDOR_APPLE 0x106b |
#define | PCI_PRODUCT_APPLE_GC 0x0002 |
#define | PCI_PRODUCT_APPLE_UNINORTH1 0x001e |
#define | PCI_VENDOR_ATI 0x1002 |
#define | PCI_PRODUCT_ATI_RADEON_9200_2 0x5962 |
Functions | |
void | bus_pci_decompose_1 (uint32_t t, int *bus, int *dev, int *func, int *reg) |
void | bus_pci_data_access (struct cpu *cpu, struct pci_data *pci_data, uint64_t *data, int len, int writeflag) |
void | bus_pci_setaddr (struct cpu *cpu, struct pci_data *pci_data, int bus, int device, int function, int reg) |
void | bus_pci_add (struct machine *machine, struct pci_data *pci_data, struct memory *mem, int bus, int device, int function, const char *name) |
struct pci_data * | bus_pci_init (struct machine *machine, const char *irq_path, uint64_t pci_actual_io_offset, uint64_t pci_actual_mem_offset, uint64_t pci_portbase, uint64_t pci_membase, const char *pci_irqbase, uint64_t isa_portbase, uint64_t isa_membase, const char *isa_irqbase) |
PCIINIT (igsfb) | |
PCIINIT (s3_virge) | |
PCIINIT (ali_m1543) | |
PCIINIT (ali_m5229) | |
PCIINIT (ahc) | |
PCIINIT (gt64011) | |
PCIINIT (gt64120) | |
PCIINIT (gt64260) | |
PCIINIT (pcn) | |
PCIINIT (i31244) | |
int | piix_isa_cfg_reg_write (struct pci_device *pd, int reg, uint32_t value) |
PCIINIT (piix3_isa) | |
PCIINIT (piix4_isa) | |
PCIINIT (i82378zb) | |
int | piix_ide_cfg_reg_write (struct pci_device *pd, int reg, uint32_t value) |
PCIINIT (piix3_ide) | |
PCIINIT (piix4_ide) | |
PCIINIT (ibm_isa) | |
PCIINIT (heuricon_pmppc) | |
PCIINIT (vt82c586_isa) | |
int | vt82c586_ide_cfg_reg_write (struct pci_device *pd, int reg, uint32_t value) |
PCIINIT (vt82c586_ide) | |
PCIINIT (symphony_83c553) | |
int | symphony_82c105_cfg_reg_write (struct pci_device *pd, int reg, uint32_t value) |
PCIINIT (symphony_82c105) | |
PCIINIT (rtl8139c) | |
PCIINIT (dec21143) | |
PCIINIT (dec21030) | |
PCIINIT (eagle) | |
PCIINIT (gc_obio) | |
PCIINIT (uninorth) | |
PCIINIT (ati_radeon_9200_2) | |
Variables | |
int | verbose |
#define BUS_PCI_C |
Definition at line 49 of file bus_pci.cc.
#define COBALT_PCIB_BOARD_ID_REG 0x94 |
#define COBALT_QUBE2_ID 5 |
#define PCI_PRODUCT_ADP_AIC7880 0x8078 /* AIC7880 */ |
Definition at line 527 of file bus_pci.cc.
#define PCI_PRODUCT_ALI_M1543 0x1533 /* NOTE: not 1543 */ |
Definition at line 460 of file bus_pci.cc.
#define PCI_PRODUCT_ALI_M5229 0x5229 |
Definition at line 461 of file bus_pci.cc.
#define PCI_PRODUCT_AMD_PCNET_PCI 0x2000 /* PCnet-PCI Ethernet */ |
Definition at line 627 of file bus_pci.cc.
#define PCI_PRODUCT_APPLE_GC 0x0002 |
Definition at line 1360 of file bus_pci.cc.
#define PCI_PRODUCT_APPLE_UNINORTH1 0x001e |
Definition at line 1361 of file bus_pci.cc.
#define PCI_PRODUCT_ATI_RADEON_9200_2 0x5962 |
Definition at line 1405 of file bus_pci.cc.
#define PCI_PRODUCT_DEC_21030 0x0004 /* DECchip 21030 ("TGA") */ |
Definition at line 1280 of file bus_pci.cc.
#define PCI_PRODUCT_DEC_21142 0x0019 /* DECchip 21142/21143 10/100 Ethernet */ |
Definition at line 1204 of file bus_pci.cc.
#define PCI_PRODUCT_GALILEO_GT64011 0x4146 /* GT-64011 System Controller */ |
Definition at line 581 of file bus_pci.cc.
#define PCI_PRODUCT_GALILEO_GT64120 0x4620 /* GT-64120 */ |
Definition at line 582 of file bus_pci.cc.
#define PCI_PRODUCT_GALILEO_GT64260 0x6430 /* GT-64260 */ |
Definition at line 583 of file bus_pci.cc.
#define PCI_PRODUCT_HEURICON_PMPPC 0x000e |
Definition at line 921 of file bus_pci.cc.
#define PCI_PRODUCT_IBM_ISABRIDGE 0x000a |
Definition at line 900 of file bus_pci.cc.
#define PCI_PRODUCT_INTEL_31244 0x3200 |
Definition at line 671 of file bus_pci.cc.
#define PCI_PRODUCT_INTEL_82371AB_IDE 0x7111 |
Definition at line 675 of file bus_pci.cc.
#define PCI_PRODUCT_INTEL_82371AB_ISA 0x7110 |
Definition at line 674 of file bus_pci.cc.
#define PCI_PRODUCT_INTEL_82371SB_IDE 0x7010 |
Definition at line 673 of file bus_pci.cc.
#define PCI_PRODUCT_INTEL_82371SB_ISA 0x7000 |
Definition at line 672 of file bus_pci.cc.
#define PCI_PRODUCT_INTEL_SIO 0x0484 |
Definition at line 676 of file bus_pci.cc.
#define PCI_PRODUCT_MOT_MPC105 0x0001 |
Definition at line 1336 of file bus_pci.cc.
#define PCI_PRODUCT_REALTEK_RT8139 0x8139 |
Definition at line 1159 of file bus_pci.cc.
#define PCI_PRODUCT_S3_VIRGE 0x5631 |
Definition at line 436 of file bus_pci.cc.
#define PCI_PRODUCT_S3_VIRGE_DX 0x8a01 |
Definition at line 437 of file bus_pci.cc.
#define PCI_PRODUCT_SYMPHONY_82C105 0x0105 |
Definition at line 1047 of file bus_pci.cc.
#define PCI_PRODUCT_SYMPHONY_83C553 0x0565 |
Definition at line 1046 of file bus_pci.cc.
#define PCI_PRODUCT_VIATECH_VT82C586_IDE |
Definition at line 947 of file bus_pci.cc.
#define PCI_PRODUCT_VIATECH_VT82C586_ISA |
Definition at line 948 of file bus_pci.cc.
#define PCI_VENDOR_ADP 0x9004 /* Adaptec */ |
Definition at line 526 of file bus_pci.cc.
#define PCI_VENDOR_ALI 0x10b9 |
Definition at line 459 of file bus_pci.cc.
#define PCI_VENDOR_AMD 0x1022 /* Advanced Micro Devices */ |
Definition at line 626 of file bus_pci.cc.
#define PCI_VENDOR_APPLE 0x106b |
Definition at line 1359 of file bus_pci.cc.
#define PCI_VENDOR_ATI 0x1002 |
Definition at line 1404 of file bus_pci.cc.
#define PCI_VENDOR_DEC 0x1011 /* Digital Equipment */ |
Definition at line 1203 of file bus_pci.cc.
#define PCI_VENDOR_GALILEO 0x11ab /* Galileo Technology */ |
Definition at line 580 of file bus_pci.cc.
#define PCI_VENDOR_HEURICON 0x1223 |
Definition at line 920 of file bus_pci.cc.
#define PCI_VENDOR_IBM 0x1014 |
Definition at line 899 of file bus_pci.cc.
#define PCI_VENDOR_INTEGRAPHICS 0x10ea |
Definition at line 406 of file bus_pci.cc.
#define PCI_VENDOR_INTEL 0x8086 |
Definition at line 670 of file bus_pci.cc.
#define PCI_VENDOR_MOT 0x1057 |
Definition at line 1335 of file bus_pci.cc.
#define PCI_VENDOR_REALTEK 0x10ec |
Definition at line 1158 of file bus_pci.cc.
#define PCI_VENDOR_S3 0x5333 |
Definition at line 435 of file bus_pci.cc.
#define PCI_VENDOR_SYMPHONY 0x10ad |
Definition at line 1045 of file bus_pci.cc.
#define PCI_VENDOR_VIATECH 0x1106 /* VIA Technologies */ |
Definition at line 946 of file bus_pci.cc.
void bus_pci_add | ( | struct machine * | machine, |
struct pci_data * | pci_data, | ||
struct memory * | mem, | ||
int | bus, | ||
int | device, | ||
int | function, | ||
const char * | name | ||
) |
Definition at line 216 of file bus_pci.cc.
References CHECK_ALLOCATION, fatal(), PCI_COMMAND_IO_ENABLE, PCI_COMMAND_MEM_ENABLE, PCI_COMMAND_STATUS_REG, pci_lookup_initf, PCI_MAPREG_END, and PCI_MAPREG_START.
Referenced by dev_gt_init(), dev_uninorth_init(), DEVINIT(), and MACHINE_SETUP().
void bus_pci_data_access | ( | struct cpu * | cpu, |
struct pci_data * | pci_data, | ||
uint64_t * | data, | ||
int | len, | ||
int | writeflag | ||
) |
Definition at line 95 of file bus_pci.cc.
References data, debug, fatal(), MEM_READ, MEM_WRITE, PCI_COMMAND_IO_ENABLE, PCI_COMMAND_STATUS_REG, PCI_MAPREG_END, and PCI_MAPREG_START.
Referenced by DEVICE_ACCESS().
void bus_pci_decompose_1 | ( | uint32_t | t, |
int * | bus, | ||
int * | dev, | ||
int * | func, | ||
int * | reg | ||
) |
Definition at line 76 of file bus_pci.cc.
References fatal(), reg, and t.
Referenced by DEVICE_ACCESS().
struct pci_data* bus_pci_init | ( | struct machine * | machine, |
const char * | irq_path, | ||
uint64_t | pci_actual_io_offset, | ||
uint64_t | pci_actual_mem_offset, | ||
uint64_t | pci_portbase, | ||
uint64_t | pci_membase, | ||
const char * | pci_irqbase, | ||
uint64_t | isa_portbase, | ||
uint64_t | isa_membase, | ||
const char * | isa_irqbase | ||
) |
Definition at line 355 of file bus_pci.cc.
References CHECK_ALLOCATION.
Referenced by dev_gt_init(), dev_macepci_init(), dev_uninorth_init(), and DEVINIT().
void bus_pci_setaddr | ( | struct cpu * | cpu, |
struct pci_data * | pci_data, | ||
int | bus, | ||
int | device, | ||
int | function, | ||
int | reg | ||
) |
Definition at line 196 of file bus_pci.cc.
Referenced by DEVICE_ACCESS().
PCIINIT | ( | ahc | ) |
Definition at line 529 of file bus_pci.cc.
References device_add(), PCI_BHLC_REG, PCI_CLASS_CODE, PCI_CLASS_MASS_STORAGE, PCI_CLASS_REG, PCI_COMMAND_STATUS_REG, PCI_ID_CODE, PCI_ID_REG, PCI_INTERRUPT_REG, PCI_MAPREG_START, PCI_PRODUCT_ADP_AIC7880, PCI_SUBCLASS_MASS_STORAGE_SCSI, and PCI_VENDOR_ADP.
PCIINIT | ( | ali_m1543 | ) |
Definition at line 463 of file bus_pci.cc.
References bus_isa_init(), BUS_ISA_PCKBC_FORCE_USE, BUS_ISA_PCKBC_NONPCSTYLE, fatal(), MACHINE_CATS, machine::machine_type, PCI_BHLC_CODE, PCI_BHLC_REG, PCI_CLASS_BRIDGE, PCI_CLASS_CODE, PCI_CLASS_REG, PCI_ID_CODE, PCI_ID_REG, PCI_PRODUCT_ALI_M1543, PCI_SUBCLASS_BRIDGE_ISA, and PCI_VENDOR_ALI.
PCIINIT | ( | ali_m5229 | ) |
Definition at line 489 of file bus_pci.cc.
References device_add(), diskimage_exist(), DISKIMAGE_IDE, fatal(), MACHINE_CATS, machine::machine_type, PCI_CLASS_CODE, PCI_CLASS_MASS_STORAGE, PCI_CLASS_REG, PCI_ID_CODE, PCI_ID_REG, PCI_PRODUCT_ALI_M5229, PCI_SUBCLASS_MASS_STORAGE_IDE, and PCI_VENDOR_ALI.
PCIINIT | ( | ati_radeon_9200_2 | ) |
Definition at line 1407 of file bus_pci.cc.
References PCI_CLASS_CODE, PCI_CLASS_DISPLAY, PCI_CLASS_REG, PCI_ID_CODE, PCI_ID_REG, PCI_PRODUCT_ATI_RADEON_9200_2, PCI_SUBCLASS_DISPLAY_VGA, and PCI_VENDOR_ATI.
PCIINIT | ( | dec21030 | ) |
Definition at line 1282 of file bus_pci.cc.
References device_add(), fatal(), MACHINE_ARC, machine::machine_type, PCI_BHLC_REG, PCI_CLASS_CODE, PCI_CLASS_DISPLAY, PCI_CLASS_REG, PCI_COMMAND_STATUS_REG, PCI_ID_CODE, PCI_ID_REG, PCI_INTERRUPT_REG, PCI_PRODUCT_DEC_21030, PCI_SUBCLASS_DISPLAY_VGA, and PCI_VENDOR_DEC.
PCIINIT | ( | dec21143 | ) |
Definition at line 1206 of file bus_pci.cc.
References CPC_IB_EXT1, MACHINE_CATS, MACHINE_COBALT, MACHINE_MACPPC, MACHINE_MVMEPPC, MACHINE_PMPPC, MACHINE_PREP, machine::machine_type, PCI_BHLC_CODE, PCI_BHLC_REG, PCI_CLASS_CODE, PCI_CLASS_NETWORK, PCI_CLASS_REG, PCI_COMMAND_STATUS_REG, PCI_ID_CODE, PCI_ID_REG, PCI_INTERRUPT_REG, PCI_PRODUCT_DEC_21142, PCI_SUBCLASS_NETWORK_ETHERNET, and PCI_VENDOR_DEC.
PCIINIT | ( | eagle | ) |
Definition at line 1338 of file bus_pci.cc.
References PCI_BHLC_CODE, PCI_BHLC_REG, PCI_CLASS_BRIDGE, PCI_CLASS_CODE, PCI_CLASS_REG, PCI_ID_CODE, PCI_ID_REG, PCI_PRODUCT_MOT_MPC105, PCI_SUBCLASS_BRIDGE_HOST, and PCI_VENDOR_MOT.
PCIINIT | ( | gc_obio | ) |
Definition at line 1363 of file bus_pci.cc.
References PCI_BHLC_CODE, PCI_BHLC_REG, PCI_CLASS_CODE, PCI_CLASS_REG, PCI_CLASS_SYSTEM, PCI_ID_CODE, PCI_ID_REG, PCI_PRODUCT_APPLE_GC, PCI_SUBCLASS_SYSTEM_PIC, and PCI_VENDOR_APPLE.
PCIINIT | ( | gt64011 | ) |
Definition at line 585 of file bus_pci.cc.
References PCI_CLASS_BRIDGE, PCI_CLASS_CODE, PCI_CLASS_REG, PCI_ID_CODE, PCI_ID_REG, PCI_PRODUCT_GALILEO_GT64011, PCI_SUBCLASS_BRIDGE_HOST, and PCI_VENDOR_GALILEO.
PCIINIT | ( | gt64120 | ) |
Definition at line 594 of file bus_pci.cc.
References MACHINE_EVBMIPS, machine::machine_type, PCI_CLASS_BRIDGE, PCI_CLASS_CODE, PCI_CLASS_REG, PCI_ID_CODE, PCI_ID_REG, PCI_MAPREG_START, PCI_PRODUCT_GALILEO_GT64120, PCI_SUBCLASS_BRIDGE_HOST, and PCI_VENDOR_GALILEO.
PCIINIT | ( | gt64260 | ) |
Definition at line 609 of file bus_pci.cc.
References PCI_CLASS_BRIDGE, PCI_CLASS_CODE, PCI_CLASS_REG, PCI_ID_CODE, PCI_ID_REG, PCI_PRODUCT_GALILEO_GT64260, PCI_SUBCLASS_BRIDGE_HOST, and PCI_VENDOR_GALILEO.
PCIINIT | ( | heuricon_pmppc | ) |
Definition at line 923 of file bus_pci.cc.
References PCI_BHLC_CODE, PCI_BHLC_REG, PCI_CLASS_BRIDGE, PCI_CLASS_CODE, PCI_CLASS_REG, PCI_ID_CODE, PCI_ID_REG, PCI_PRODUCT_HEURICON_PMPPC, PCI_SUBCLASS_BRIDGE_HOST, and PCI_VENDOR_HEURICON.
PCIINIT | ( | i31244 | ) |
Definition at line 678 of file bus_pci.cc.
References fatal(), MACHINE_IQ80321, machine::machine_type, PCI_CLASS_CODE, PCI_CLASS_MASS_STORAGE, PCI_CLASS_REG, PCI_ID_CODE, PCI_ID_REG, PCI_INTERRUPT_REG, PCI_PRODUCT_INTEL_31244, PCI_SUBCLASS_MASS_STORAGE_IDE, and PCI_VENDOR_INTEL.
PCIINIT | ( | i82378zb | ) |
Definition at line 757 of file bus_pci.cc.
References PCI_BHLC_CODE, PCI_BHLC_REG, PCI_CLASS_BRIDGE, PCI_CLASS_CODE, PCI_CLASS_REG, PCI_ID_CODE, PCI_ID_REG, PCI_PRODUCT_INTEL_SIO, PCI_SUBCLASS_BRIDGE_ISA, and PCI_VENDOR_INTEL.
PCIINIT | ( | ibm_isa | ) |
Definition at line 902 of file bus_pci.cc.
References PCI_BHLC_CODE, PCI_BHLC_REG, PCI_CLASS_BRIDGE, PCI_CLASS_CODE, PCI_CLASS_REG, PCI_ID_CODE, PCI_ID_REG, PCI_PRODUCT_IBM_ISABRIDGE, PCI_SUBCLASS_BRIDGE_ISA, and PCI_VENDOR_IBM.
PCIINIT | ( | igsfb | ) |
Definition at line 408 of file bus_pci.cc.
References device_add(), PCI_CLASS_CODE, PCI_CLASS_DISPLAY, PCI_CLASS_REG, PCI_ID_CODE, PCI_ID_REG, PCI_SUBCLASS_DISPLAY_VGA, and PCI_VENDOR_INTEGRAPHICS.
PCIINIT | ( | pcn | ) |
Definition at line 629 of file bus_pci.cc.
References fatal(), MACHINE_EVBMIPS, machine::machine_type, PCI_CLASS_CODE, PCI_CLASS_NETWORK, PCI_CLASS_REG, PCI_ID_CODE, PCI_ID_REG, PCI_INTERRUPT_REG, PCI_PRODUCT_AMD_PCNET_PCI, PCI_SUBCLASS_NETWORK_ETHERNET, and PCI_VENDOR_AMD.
PCIINIT | ( | piix3_ide | ) |
Definition at line 808 of file bus_pci.cc.
References CHECK_ALLOCATION, device_add(), diskimage_exist(), DISKIMAGE_IDE, PCI_CLASS_CODE, PCI_CLASS_MASS_STORAGE, PCI_CLASS_REG, PCI_ID_CODE, PCI_ID_REG, PCI_PRODUCT_INTEL_82371SB_IDE, PCI_SUBCLASS_MASS_STORAGE_IDE, PCI_VENDOR_INTEL, and piix_ide_cfg_reg_write().
PCIINIT | ( | piix3_isa | ) |
Definition at line 731 of file bus_pci.cc.
References PCI_BHLC_CODE, PCI_BHLC_REG, PCI_CLASS_BRIDGE, PCI_CLASS_CODE, PCI_CLASS_REG, PCI_ID_CODE, PCI_ID_REG, PCI_PRODUCT_INTEL_82371SB_ISA, PCI_SUBCLASS_BRIDGE_ISA, and PCI_VENDOR_INTEL.
PCIINIT | ( | piix4_ide | ) |
Definition at line 848 of file bus_pci.cc.
References CHECK_ALLOCATION, device_add(), diskimage_exist(), DISKIMAGE_IDE, PCI_CLASS_CODE, PCI_CLASS_MASS_STORAGE, PCI_CLASS_REG, PCI_ID_CODE, PCI_ID_REG, PCI_PRODUCT_INTEL_82371AB_IDE, PCI_SUBCLASS_MASS_STORAGE_IDE, PCI_VENDOR_INTEL, and piix_ide_cfg_reg_write().
PCIINIT | ( | piix4_isa | ) |
Definition at line 743 of file bus_pci.cc.
References PCI_BHLC_CODE, PCI_BHLC_REG, PCI_CLASS_BRIDGE, PCI_CLASS_CODE, PCI_CLASS_REG, PCI_ID_CODE, PCI_ID_REG, PCI_PRODUCT_INTEL_82371AB_ISA, PCI_SUBCLASS_BRIDGE_ISA, PCI_VENDOR_INTEL, and piix_isa_cfg_reg_write().
PCIINIT | ( | rtl8139c | ) |
Definition at line 1161 of file bus_pci.cc.
References fatal(), MACHINE_LANDISK, machine::machine_type, PCI_CLASS_CODE, PCI_CLASS_NETWORK, PCI_CLASS_REG, PCI_ID_CODE, PCI_ID_REG, PCI_INTERRUPT_REG, PCI_PRODUCT_REALTEK_RT8139, PCI_SUBCLASS_NETWORK_ETHERNET, and PCI_VENDOR_REALTEK.
PCIINIT | ( | s3_virge | ) |
Definition at line 439 of file bus_pci.cc.
References dev_vga_init(), machine::machine_name, PCI_CLASS_CODE, PCI_CLASS_DISPLAY, PCI_CLASS_REG, PCI_ID_CODE, PCI_ID_REG, PCI_PRODUCT_S3_VIRGE_DX, PCI_SUBCLASS_DISPLAY_VGA, and PCI_VENDOR_S3.
PCIINIT | ( | symphony_82c105 | ) |
Definition at line 1108 of file bus_pci.cc.
PCIINIT | ( | symphony_83c553 | ) |
Definition at line 1049 of file bus_pci.cc.
References bus_isa_init(), fatal(), MACHINE_NETWINDER, machine::machine_type, PCI_BHLC_CODE, PCI_BHLC_REG, PCI_CLASS_BRIDGE, PCI_CLASS_CODE, PCI_CLASS_REG, PCI_ID_CODE, PCI_ID_REG, PCI_PRODUCT_SYMPHONY_83C553, PCI_SUBCLASS_BRIDGE_ISA, and PCI_VENDOR_SYMPHONY.
PCIINIT | ( | uninorth | ) |
Definition at line 1381 of file bus_pci.cc.
PCIINIT | ( | vt82c586_ide | ) |
Definition at line 998 of file bus_pci.cc.
PCIINIT | ( | vt82c586_isa | ) |
Definition at line 950 of file bus_pci.cc.
References COBALT_PCIB_BOARD_ID_REG, COBALT_QUBE2_ID, MACHINE_COBALT, machine::machine_type, PCI_BHLC_CODE, PCI_BHLC_REG, PCI_CLASS_BRIDGE, PCI_CLASS_CODE, PCI_CLASS_REG, PCI_ID_CODE, PCI_ID_REG, PCI_PRODUCT_VIATECH_VT82C586_ISA, PCI_SUBCLASS_BRIDGE_ISA, and PCI_VENDOR_VIATECH.
int piix_ide_cfg_reg_write | ( | struct pci_device * | pd, |
int | reg, | ||
uint32_t | value | ||
) |
Definition at line 779 of file bus_pci.cc.
References PCI_COMMAND_IO_ENABLE, PCI_COMMAND_STATUS_REG, PCI_MAPREG_START, reg, piix_ide_extra::wdc0, piix_ide_extra::wdc1, and wdc_set_io_enabled().
Referenced by PCIINIT().
int piix_isa_cfg_reg_write | ( | struct pci_device * | pd, |
int | reg, | ||
uint32_t | value | ||
) |
Definition at line 715 of file bus_pci.cc.
References PCI_MAPREG_START, and reg.
Referenced by PCIINIT().
int symphony_82c105_cfg_reg_write | ( | struct pci_device * | pd, |
int | reg, | ||
uint32_t | value | ||
) |
Definition at line 1075 of file bus_pci.cc.
int vt82c586_ide_cfg_reg_write | ( | struct pci_device * | pd, |
int | reg, | ||
uint32_t | value | ||
) |
Definition at line 978 of file bus_pci.cc.