/*
* CDDL HEADER START
*
* The contents of this file are subject to the terms of the
* Common Development and Distribution License (the "License").
* You may not use this file except in compliance with the License.
*
* You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
* See the License for the specific language governing permissions
* and limitations under the License.
*
* When distributing Covered Code, include this CDDL HEADER in each
* file and include the License file at usr/src/OPENSOLARIS.LICENSE.
* If applicable, add the following below this CDDL HEADER, with the
* fields enclosed by brackets "[]" replaced with your own identifying
* information: Portions Copyright [yyyy] [name of copyright owner]
*
* CDDL HEADER END
*/
/*
* Copyright 2008 Sun Microsystems, Inc. All rights reserved.
* Use is subject to license terms.
*/
/*
* Bridge module containing functions with different names than those in the
* usba10 module, so the usba10 module can call functions in this (usba) module.
*
* The usba10 module is present to satisfy a runtime loader dependency for
* legacy DDK drivers (V0.8). The usba10 module calls functions in this (usba)
* module to carry out driver requests.
*
* The intent is that this file disappear once krtld functionality is improved
* so that drivers dependent on usba10 can call into usba without these wrapper
* functions.
*
* header file for descriptions and comments for these functions.
*/
#ifndef __lock_lint
int
{
return (usb_register_client(
}
void
{
}
void
{
}
char *format,
void *structure,
{
return (usb_parse_data(
}
{
return (usb_get_ep_data(
}
int
char *buf,
{
}
int
{
return (usb_get_addr(dip));
}
int
{
return (usb_get_if_number(dip));
}
{
return (usb_owns_device(dip));
}
int
{
}
int
{
return (usb_ep_num(ph));
}
int
{
}
void
void (*cb)(
int rval,
{
}
int
void (*cb)(
int rval,
{
return (usb_pipe_drain_reqs(
}
int
{
}
{
return (usb_pipe_get_private(pipe_handle));
}
void
void (*cb)(
int rval,
{
}
{
}
void
{
}
int
{
}
int
{
}
int
{
}
int
{
return (usb_pipe_ctrl_xfer_wait(
}
int
void (*cb)(
int rval,
{
}
int
{
}
int
void (*cb)(
int rval,
{
return (usb_set_alt_if(
}
int
{
}
{
}
void
{
}
int
{
}
int
{
}
{
}
void
{
}
int
{
}
void
{
}
{
}
void
{
}
{
return (usb_get_current_frame_number(dip));
}
{
return (usb_get_max_isoc_pkts(dip));
}
int
{
}
void
{
}
int
int comp,
int level,
void *arg,
{
}
int
int comp,
int level,
void *arg,
{
}
int
{
return (usb_is_pm_enabled(dip));
}
int
int cmd)
{
}
int
{
}
int
{
return (usb_set_device_pwrlvl0(dip));
}
int
{
return (usb_set_device_pwrlvl1(dip));
}
int
{
return (usb_set_device_pwrlvl2(dip));
}
int
{
return (usb_set_device_pwrlvl3(dip));
}
int
void (*func)(void *),
void *arg,
{
}
int
{
}
void
{
}
void
{
}
int
char *fmt,
{
}
char *name,
{
return (usb_alloc_log_handle(
}
void
{
}
int
{
}
int
{
}
int
int log_level,
int log_mask,
char *device_string)
{
return (usb_check_same_device(
}
const char *
{
return (usb_str_cr(cr));
}
char *
char *buffer,
{
}
const char *
{
return (usb_str_pipe_state(state));
}
const char *
{
return (usb_str_dev_state(state));
}
const char *
{
return (usb_str_rval(rval));
}
int
{
return (usb_rval2errno(rval));
}
{
}
void
{
}
int
{
return (usb_serialize_access(
}
int
{
}
void
{
}
#endif