revert between 56095 -> 55830 in arch
[AROS.git] / rom / usb / classes / hub / hub.class.h
blob5aa45c4490bc417637a38b3abf558b51e3e44dec
1 #ifndef HUB_CLASS_H
2 #define HUB_CLASS_H
4 /*
5 *----------------------------------------------------------------------------
6 * Includes for hub class
7 *----------------------------------------------------------------------------
8 * By Chris Hodges <chrisly@platon42.de>
9 */
11 #include "common.h"
13 #include <devices/usb_hub.h>
15 #include "hub.h"
17 /* Protos */
19 struct NepClassHub * GM_UNIQUENAME(usbAttemptDeviceBinding)(struct NepHubBase *nh, struct PsdDevice *pd);
20 struct NepClassHub * GM_UNIQUENAME(usbForceDeviceBinding)(struct NepHubBase * nh, struct PsdDevice *pd);
21 void GM_UNIQUENAME(usbReleaseDeviceBinding)(struct NepHubBase *nh, struct NepClassHub *nch);
23 struct NepClassHub * GM_UNIQUENAME(nAllocHub)(void);
24 void GM_UNIQUENAME(nFreeHub)(struct NepClassHub *nch);
25 struct PsdDevice * GM_UNIQUENAME(nConfigurePort)(struct NepClassHub *nch, UWORD port);
26 LONG GM_UNIQUENAME(nClearPortStatus)(struct NepClassHub *nch, UWORD port);
27 BOOL GM_UNIQUENAME(nHubSuspendDevice)(struct NepClassHub *nch, struct PsdDevice *pd);
28 BOOL GM_UNIQUENAME(nHubResumeDevice)(struct NepClassHub *nch, struct PsdDevice *pd);
29 void GM_UNIQUENAME(nHandleHubMethod)(struct NepClassHub *nch, struct NepHubMsg *nhm);
31 AROS_UFP0(void, GM_UNIQUENAME(nHubTask));
33 #endif /* HUB_CLASS_H */