5 *----------------------------------------------------------------------------
6 * Includes for hub class
7 *----------------------------------------------------------------------------
8 * By Chris Hodges <chrisly@platon42.de>
13 #include <devices/usb_hub.h>
19 struct NepClassHub
* usbAttemptDeviceBinding(struct NepHubBase
*nh
, struct PsdDevice
*pd
);
20 struct NepClassHub
* usbForceDeviceBinding(struct NepHubBase
* nh
, struct PsdDevice
*pd
);
21 void usbReleaseDeviceBinding(struct NepHubBase
*nh
, struct NepClassHub
*nch
);
23 struct NepClassHub
* nAllocHub(void);
24 void nFreeHub(struct NepClassHub
*nch
);
25 struct PsdDevice
* nConfigurePort(struct NepClassHub
*nch
, UWORD port
);
26 LONG
nClearPortStatus(struct NepClassHub
*nch
, UWORD port
);
27 BOOL
nHubSuspendDevice(struct NepClassHub
*nch
, struct PsdDevice
*pd
);
28 BOOL
nHubResumeDevice(struct NepClassHub
*nch
, struct PsdDevice
*pd
);
29 void nHandleHubMethod(struct NepClassHub
*nch
, struct NepHubMsg
*nhm
);
31 AROS_UFP0(void, nHubTask
);
33 #endif /* HUB_CLASS_H */