usb_msctest.h (185290) | usb_msctest.h (185948) |
---|---|
1/* $FreeBSD: head/sys/dev/usb2/core/usb2_msctest.h 185290 2008-11-25 08:04:40Z alfred $ */ | 1/* $FreeBSD: head/sys/dev/usb2/core/usb2_msctest.h 185948 2008-12-11 23:13:02Z thompsa $ */ |
2/*- 3 * Copyright (c) 2008 Hans Petter Selasky. All rights reserved. 4 * 5 * Redistribution and use in source and binary forms, with or without 6 * modification, are permitted provided that the following conditions 7 * are met: 8 * 1. Redistributions of source code must retain the above copyright 9 * notice, this list of conditions and the following disclaimer. --- 12 unchanged lines hidden (view full) --- 22 * LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY 23 * OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF 24 * SUCH DAMAGE. 25 */ 26 27#ifndef _USB2_MSCTEST_H_ 28#define _USB2_MSCTEST_H_ 29 | 2/*- 3 * Copyright (c) 2008 Hans Petter Selasky. All rights reserved. 4 * 5 * Redistribution and use in source and binary forms, with or without 6 * modification, are permitted provided that the following conditions 7 * are met: 8 * 1. Redistributions of source code must retain the above copyright 9 * notice, this list of conditions and the following disclaimer. --- 12 unchanged lines hidden (view full) --- 22 * LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY 23 * OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF 24 * SUCH DAMAGE. 25 */ 26 27#ifndef _USB2_MSCTEST_H_ 28#define _USB2_MSCTEST_H_ 29 |
30usb2_error_t usb2_test_autoinstall(struct usb2_device *udev, uint8_t iface_index, uint8_t do_eject); 31usb2_error_t usb2_test_huawei(struct usb2_device *udev, struct usb2_attach_arg *uaa); | 30usb2_error_t usb2_test_autoinstall(struct usb2_device *udev, 31 uint8_t iface_index, uint8_t do_eject); 32usb2_error_t usb2_test_huawei(struct usb2_device *udev, 33 struct usb2_attach_arg *uaa); |
32int usb2_lookup_huawei(struct usb2_attach_arg *uaa); 33 34/* Huawei specific defines */ 35 36#define U3GINFO(flag,speed) ((flag)|((speed) * 256)) 37#define U3G_GET_SPEED(uaa) (USB_GET_DRIVER_INFO(uaa) / 256) 38 39#define U3GFL_NONE 0x00 --- 17 unchanged lines hidden --- | 34int usb2_lookup_huawei(struct usb2_attach_arg *uaa); 35 36/* Huawei specific defines */ 37 38#define U3GINFO(flag,speed) ((flag)|((speed) * 256)) 39#define U3G_GET_SPEED(uaa) (USB_GET_DRIVER_INFO(uaa) / 256) 40 41#define U3GFL_NONE 0x00 --- 17 unchanged lines hidden --- |