hcd-xhci.c (ce5e5b522e8d3b848b6445c34226b69c77c46403) hcd-xhci.c (6c2d1c32d084320081b0cd047f8cacd6e722d03a)
1/*
2 * USB xHCI controller emulation
3 *
4 * Copyright (c) 2011 Securiforest
5 * Date: 2011-05-11 ; Author: Hector Martin <hector@marcansoft.com>
6 * Based on usb-ohci.c, emulates Renesas NEC USB 3.0
7 *
8 * This library is free software; you can redistribute it and/or

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

3162 dc->props = xhci_properties;
3163 dc->reset = xhci_reset;
3164 k->init = usb_xhci_initfn;
3165 k->vendor_id = PCI_VENDOR_ID_NEC;
3166 k->device_id = PCI_DEVICE_ID_NEC_UPD720200;
3167 k->class_id = PCI_CLASS_SERIAL_USB;
3168 k->revision = 0x03;
3169 k->is_express = 1;
1/*
2 * USB xHCI controller emulation
3 *
4 * Copyright (c) 2011 Securiforest
5 * Date: 2011-05-11 ; Author: Hector Martin <hector@marcansoft.com>
6 * Based on usb-ohci.c, emulates Renesas NEC USB 3.0
7 *
8 * This library is free software; you can redistribute it and/or

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

3162 dc->props = xhci_properties;
3163 dc->reset = xhci_reset;
3164 k->init = usb_xhci_initfn;
3165 k->vendor_id = PCI_VENDOR_ID_NEC;
3166 k->device_id = PCI_DEVICE_ID_NEC_UPD720200;
3167 k->class_id = PCI_CLASS_SERIAL_USB;
3168 k->revision = 0x03;
3169 k->is_express = 1;
3170 k->no_hotplug = 1;
3170}
3171
3172static TypeInfo xhci_info = {
3173 .name = "nec-usb-xhci",
3174 .parent = TYPE_PCI_DEVICE,
3175 .instance_size = sizeof(XHCIState),
3176 .class_init = xhci_class_init,
3177};
3178
3179static void xhci_register_types(void)
3180{
3181 type_register_static(&xhci_info);
3182}
3183
3184type_init(xhci_register_types)
3171}
3172
3173static TypeInfo xhci_info = {
3174 .name = "nec-usb-xhci",
3175 .parent = TYPE_PCI_DEVICE,
3176 .instance_size = sizeof(XHCIState),
3177 .class_init = xhci_class_init,
3178};
3179
3180static void xhci_register_types(void)
3181{
3182 type_register_static(&xhci_info);
3183}
3184
3185type_init(xhci_register_types)