Searched refs:pci_conf (Results 1 – 2 of 2) sorted by relevance
238 uint8_t *pci_conf = d->config; in piix3_reset() local240 pci_conf[0x04] = 0x07; // master, memory and I/O in piix3_reset()241 pci_conf[0x05] = 0x00; in piix3_reset()242 pci_conf[0x06] = 0x00; in piix3_reset()243 pci_conf[0x07] = 0x02; // PCI_status_devsel_medium in piix3_reset()244 pci_conf[0x4c] = 0x4d; in piix3_reset()245 pci_conf[0x4e] = 0x03; in piix3_reset()246 pci_conf[0x4f] = 0x00; in piix3_reset()247 pci_conf[0x60] = 0x80; in piix3_reset()248 pci_conf[0x61] = 0x80; in piix3_reset()[all …]
810 uint8_t *pci_conf; in pci_ne2000_init() local812 pci_conf = d->dev.config; in pci_ne2000_init()813 pci_config_set_vendor_id(pci_conf, PCI_VENDOR_ID_REALTEK); in pci_ne2000_init()814 pci_config_set_device_id(pci_conf, PCI_DEVICE_ID_REALTEK_8029); in pci_ne2000_init()815 pci_config_set_class(pci_conf, PCI_CLASS_NETWORK_ETHERNET); in pci_ne2000_init()816 pci_conf[PCI_HEADER_TYPE] = PCI_HEADER_TYPE_NORMAL; // header_type in pci_ne2000_init()817 pci_conf[0x3d] = 1; // interrupt pin 0 in pci_ne2000_init()