xref: /openbmc/qemu/hw/usb/hcd-uhci-sysbus.h (revision 83698261)
1*83698261SGuenter Roeck #ifndef HW_USB_HCD_UHCI_SYSBUS_H
2*83698261SGuenter Roeck #define HW_USB_HCD_UHCI_SYSBUS_H
3*83698261SGuenter Roeck 
4*83698261SGuenter Roeck #include "hcd-uhci.h"
5*83698261SGuenter Roeck 
6*83698261SGuenter Roeck #define TYPE_SYSBUS_UHCI "sysbus-uhci"
7*83698261SGuenter Roeck 
8*83698261SGuenter Roeck OBJECT_DECLARE_SIMPLE_TYPE(UHCISysBusState, SYSBUS_UHCI)
9*83698261SGuenter Roeck 
10*83698261SGuenter Roeck struct UHCISysBusState {
11*83698261SGuenter Roeck     /*< private >*/
12*83698261SGuenter Roeck     SysBusDevice parent_obj;
13*83698261SGuenter Roeck     /*< public >*/
14*83698261SGuenter Roeck     UHCIState uhci;
15*83698261SGuenter Roeck 
16*83698261SGuenter Roeck     char *masterbus;
17*83698261SGuenter Roeck     uint32_t firstport;
18*83698261SGuenter Roeck     uint32_t frame_bandwidth;
19*83698261SGuenter Roeck     uint32_t maxframes;
20*83698261SGuenter Roeck     uint32_t num_ports;
21*83698261SGuenter Roeck };
22*83698261SGuenter Roeck 
23*83698261SGuenter Roeck #endif /* HW_USB_HCD_UHCI_SYSBUS_H */
24