Revision c7a2196a hw/usb.h
b/hw/usb.h | ||
---|---|---|
240 | 240 |
struct USBPort { |
241 | 241 |
USBDevice *dev; |
242 | 242 |
int speedmask; |
243 |
char path[16]; |
|
243 | 244 |
USBPortOps *ops; |
244 | 245 |
void *opaque; |
245 | 246 |
USBDevice *pdev; |
... | ... | |
354 | 355 |
USBDevice *usbdevice_create(const char *cmdline); |
355 | 356 |
void usb_register_port(USBBus *bus, USBPort *port, void *opaque, int index, |
356 | 357 |
USBDevice *pdev, USBPortOps *ops, int speedmask); |
358 |
void usb_port_location(USBPort *downstream, USBPort *upstream, int portnr); |
|
357 | 359 |
void usb_unregister_port(USBBus *bus, USBPort *port); |
358 | 360 |
int usb_device_attach(USBDevice *dev); |
359 | 361 |
int usb_device_detach(USBDevice *dev); |
Also available in: Unified diff