1/* 2 * Copyright 2022, Haiku, Inc. All rights reserved. 3 * Distributed under the terms of the MIT license. 4 */ 5#ifndef _FBSD_COMPAT_USB_DEVICE_H_ 6#define _FBSD_COMPAT_USB_DEVICE_H_ 7 8struct usb_device { 9 struct usb_endpoint endpoints[USB_MAX_EP_UNITS]; 10 uint8_t endpoints_max; /* number of endpoints present */ 11 12 uint32 haiku_usb_device; 13}; 14 15void usb_cleanup_device(struct usb_device* udev); 16 17#endif // _FBSD_COMPAT_USB_DEVICE_H_ 18