usbd_var.h revision 142399
1142399Swpaul/*- 2142399Swpaul * Copyright (c) 2003 3142399Swpaul * Bill Paul <wpaul@windriver.com>. All rights reserved. 4142399Swpaul * 5142399Swpaul * Redistribution and use in source and binary forms, with or without 6142399Swpaul * modification, are permitted provided that the following conditions 7142399Swpaul * are met: 8142399Swpaul * 1. Redistributions of source code must retain the above copyright 9142399Swpaul * notice, this list of conditions and the following disclaimer. 10142399Swpaul * 2. Redistributions in binary form must reproduce the above copyright 11142399Swpaul * notice, this list of conditions and the following disclaimer in the 12142399Swpaul * documentation and/or other materials provided with the distribution. 13142399Swpaul * 3. All advertising materials mentioning features or use of this software 14142399Swpaul * must display the following acknowledgement: 15142399Swpaul * This product includes software developed by Bill Paul. 16142399Swpaul * 4. Neither the name of the author nor the names of any co-contributors 17142399Swpaul * may be used to endorse or promote products derived from this software 18142399Swpaul * without specific prior written permission. 19142399Swpaul * 20142399Swpaul * THIS SOFTWARE IS PROVIDED BY Bill Paul AND CONTRIBUTORS ``AS IS'' AND 21142399Swpaul * ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE 22142399Swpaul * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE 23142399Swpaul * ARE DISCLAIMED. IN NO EVENT SHALL Bill Paul OR THE VOICES IN HIS HEAD 24142399Swpaul * BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR 25142399Swpaul * CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF 26142399Swpaul * SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS 27142399Swpaul * INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN 28142399Swpaul * CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) 29142399Swpaul * ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF 30142399Swpaul * THE POSSIBILITY OF SUCH DAMAGE. 31142399Swpaul * 32142399Swpaul * $FreeBSD: head/sys/compat/ndis/usbd_var.h 142399 2005-02-24 21:49:14Z wpaul $ 33142399Swpaul */ 34142399Swpaul 35142399Swpaul#ifndef _USBD_VAR_H_ 36142399Swpaul#define _USBD_VAR_H_ 37142399Swpaul 38142399Swpaul#define USBDI_VERSION 0x00000500 39142399Swpaul#define USB_VER_1_1 0x00000110 40142399Swpaul#define USB_VER_2_0 0x00000200 41142399Swpaul 42142399Swpaulstruct usbd_version_info { 43142399Swpaul uint32_t uvi_usbdi_vers; 44142399Swpaul uint32_t uvi_supported_vers; 45142399Swpaul}; 46142399Swpaul 47142399Swpaultypedef struct usbd_version_info usbd_version_info; 48142399Swpaul 49142399Swpaulextern image_patch_table usbd_functbl[]; 50142399Swpaul 51142399Swpaul__BEGIN_DECLS 52142399Swpaulextern int usbd_libinit(void); 53142399Swpaulextern int usbd_libfini(void); 54142399Swpaul__END_DECLS 55142399Swpaul 56142399Swpaul#endif /* _USBD_VAR_H_ */ 57