hcd-ohci.c (5f580e9411a24b7decc07013edeb8abf8d5ae25c) hcd-ohci.c (6c2d1c32d084320081b0cd047f8cacd6e722d03a)
1/*
2 * QEMU USB OHCI Emulation
3 * Copyright (c) 2004 Gianni Tedesco
4 * Copyright (c) 2006 CodeSourcery
5 * Copyright (c) 2006 Openedhand Ltd.
6 *
7 * This library is free software; you can redistribute it and/or
8 * modify it under the terms of the GNU Lesser General Public

--- 1868 unchanged lines hidden (view full) ---

1877{
1878 DeviceClass *dc = DEVICE_CLASS(klass);
1879 PCIDeviceClass *k = PCI_DEVICE_CLASS(klass);
1880
1881 k->init = usb_ohci_initfn_pci;
1882 k->vendor_id = PCI_VENDOR_ID_APPLE;
1883 k->device_id = PCI_DEVICE_ID_APPLE_IPID_USB;
1884 k->class_id = PCI_CLASS_SERIAL_USB;
1/*
2 * QEMU USB OHCI Emulation
3 * Copyright (c) 2004 Gianni Tedesco
4 * Copyright (c) 2006 CodeSourcery
5 * Copyright (c) 2006 Openedhand Ltd.
6 *
7 * This library is free software; you can redistribute it and/or
8 * modify it under the terms of the GNU Lesser General Public

--- 1868 unchanged lines hidden (view full) ---

1877{
1878 DeviceClass *dc = DEVICE_CLASS(klass);
1879 PCIDeviceClass *k = PCI_DEVICE_CLASS(klass);
1880
1881 k->init = usb_ohci_initfn_pci;
1882 k->vendor_id = PCI_VENDOR_ID_APPLE;
1883 k->device_id = PCI_DEVICE_ID_APPLE_IPID_USB;
1884 k->class_id = PCI_CLASS_SERIAL_USB;
1885 k->no_hotplug = 1;
1885 dc->desc = "Apple USB Controller";
1886 dc->props = ohci_pci_properties;
1887}
1888
1889static TypeInfo ohci_pci_info = {
1890 .name = "pci-ohci",
1891 .parent = TYPE_PCI_DEVICE,
1892 .instance_size = sizeof(OHCIPCIState),

--- 33 unchanged lines hidden ---
1886 dc->desc = "Apple USB Controller";
1887 dc->props = ohci_pci_properties;
1888}
1889
1890static TypeInfo ohci_pci_info = {
1891 .name = "pci-ohci",
1892 .parent = TYPE_PCI_DEVICE,
1893 .instance_size = sizeof(OHCIPCIState),

--- 33 unchanged lines hidden ---