/* usb_serial_select - handle select start */ static status_t usb_serial_select(void *cookie, uint8 event, uint32 ref, selectsync *sync) { TRACE_FUNCALLS("> usb_serial_select(0x%08x, 0x%08x, 0x%08x, %p)\n", cookie, event, ref, sync); SerialDevice *device = (SerialDevice *)cookie; return device->Select(event, ref, sync); }
/* usb_serial_select - handle select start */ static status_t usb_serial_select(void *cookie, uint8 event, uint32 ref, selectsync *sync) { TRACE_FUNCALLS("> usb_serial_select(0x%08x, 0x%08x, 0x%08x, %p)\n", cookie, event, ref, sync); SerialDevice *device = (SerialDevice *)cookie; status_t status = device->Select(event, ref, sync); TRACE_FUNCRET("< usb_serial_select() returns: 0x%08x\n", status); return status; }