Revision 173a543b hw/usb-ohci.c
b/hw/usb-ohci.c | ||
---|---|---|
1682 | 1682 |
pci_config_set_vendor_id(ohci->pci_dev.config, PCI_VENDOR_ID_APPLE); |
1683 | 1683 |
pci_config_set_device_id(ohci->pci_dev.config, 0x003f); // device_id |
1684 | 1684 |
ohci->pci_dev.config[0x09] = 0x10; /* OHCI */ |
1685 |
ohci->pci_dev.config[0x0a] = 0x3; |
|
1686 |
ohci->pci_dev.config[0x0b] = 0xc; |
|
1685 |
pci_config_set_class(ohci->pci_dev.config, PCI_CLASS_SERIAL_USB); |
|
1687 | 1686 |
ohci->pci_dev.config[0x3d] = 0x01; /* interrupt pin 1 */ |
1688 | 1687 |
|
1689 | 1688 |
usb_ohci_init(&ohci->state, num_ports, devfn, ohci->pci_dev.irq[0], |
Also available in: Unified diff