Bring in USB4BSD, Hans Petter Selasky rework of the USB stack
that includes significant features and SMP safety.
This commit includes a more or less complete rewrite of the *BSD USB
stack, including Host Controller and Device Controller drivers and
updating all existing USB drivers to use the new USB API:
1) A brief feature list:
- A new and mutex enabled USB API.
- Many USB drivers are now running Giant free.
- Linux USB kernel compatibility layer.
- New UGEN backend and libusb library, finally solves the "driver
unloading" problem. The new BSD licensed libusb20 library is fully
compatible with libusb-0.1.12 from sourceforge.
- New "usbconfig" utility, for easy configuration of USB.
- Full support for Split transactions, which means you can use your
full speed USB audio device on a high speed USB HUB.
- Full support for HS ISOC transactions, which makes writing drivers
for various HS webcams possible, for example.
- Full support for USB on embedded platforms, mostly cache flushing
and buffer invalidating stuff.
- Safer parsing of USB descriptors.
- Autodetect of annoying USB install disks.
- Support for USB device side mode, also called USB gadget mode,
using the same API like the USB host side. In other words the new
USB stack is symmetric with regard to host and device side.
- Support for USB transfers like I/O vectors, means more throughput
and less interrupts.
- ... see the FreeBSD quarterly status reports under "USB project"
2) To enable the driver in the default kernel build:
2.a) Remove all existing USB device options from your kernel config
file.
2.b) Add the following USB device options to your kernel configuration
file:
# USB core support
device usb2_core
# USB controller support
device usb2_controller
device usb2_controller_ehci
device usb2_controller_ohci
device usb2_controller_uhci
# USB mass storage support
device usb2_storage
device usb2_storage_mass
# USB ethernet support, requires miibus
device usb2_ethernet
device usb2_ethernet_aue
device usb2_ethernet_axe
device usb2_ethernet_cdce
device usb2_ethernet_cue
device usb2_ethernet_kue
device usb2_ethernet_rue
device usb2_ethernet_dav
# USB wireless LAN support
device usb2_wlan
device usb2_wlan_rum
device usb2_wlan_ral
device usb2_wlan_zyd
# USB serial device support
device usb2_serial
device usb2_serial_ark
device usb2_serial_bsa
device usb2_serial_bser
device usb2_serial_chcom
device usb2_serial_cycom
device usb2_serial_foma
device usb2_serial_ftdi
device usb2_serial_gensa
device usb2_serial_ipaq
device usb2_serial_lpt
device usb2_serial_mct
device usb2_serial_modem
device usb2_serial_moscom
device usb2_serial_plcom
device usb2_serial_visor
device usb2_serial_vscom
# USB bluetooth support
device usb2_bluetooth
device usb2_bluetooth_ng
# USB input device support
device usb2_input
device usb2_input_hid
device usb2_input_kbd
device usb2_input_ms
# USB sound and MIDI device support
device usb2_sound
2) To enable the driver at runtime:
2.a) Unload all existing USB modules. If USB is compiled into the
kernel then you might have to build a new kernel.
2.b) Load the "usb2_xxx.ko" modules under /boot/kernel having the same
base name like the kernel device option.
Submitted by: Hans Petter Selasky hselasky at c2i dot net
Reviewed by: imp, alfred
2008-11-04 02:31:03 +00:00
|
|
|
#
|
|
|
|
# $FreeBSD$
|
|
|
|
#
|
|
|
|
# Makefile for the FreeBSD specific LibUSB 2.0
|
|
|
|
#
|
|
|
|
|
2016-02-04 21:16:35 +00:00
|
|
|
PACKAGE=lib${LIB}
|
2009-03-09 17:05:31 +00:00
|
|
|
LIB= usb
|
2012-04-25 21:50:20 +00:00
|
|
|
SHLIB_MAJOR= 3
|
Bring in USB4BSD, Hans Petter Selasky rework of the USB stack
that includes significant features and SMP safety.
This commit includes a more or less complete rewrite of the *BSD USB
stack, including Host Controller and Device Controller drivers and
updating all existing USB drivers to use the new USB API:
1) A brief feature list:
- A new and mutex enabled USB API.
- Many USB drivers are now running Giant free.
- Linux USB kernel compatibility layer.
- New UGEN backend and libusb library, finally solves the "driver
unloading" problem. The new BSD licensed libusb20 library is fully
compatible with libusb-0.1.12 from sourceforge.
- New "usbconfig" utility, for easy configuration of USB.
- Full support for Split transactions, which means you can use your
full speed USB audio device on a high speed USB HUB.
- Full support for HS ISOC transactions, which makes writing drivers
for various HS webcams possible, for example.
- Full support for USB on embedded platforms, mostly cache flushing
and buffer invalidating stuff.
- Safer parsing of USB descriptors.
- Autodetect of annoying USB install disks.
- Support for USB device side mode, also called USB gadget mode,
using the same API like the USB host side. In other words the new
USB stack is symmetric with regard to host and device side.
- Support for USB transfers like I/O vectors, means more throughput
and less interrupts.
- ... see the FreeBSD quarterly status reports under "USB project"
2) To enable the driver in the default kernel build:
2.a) Remove all existing USB device options from your kernel config
file.
2.b) Add the following USB device options to your kernel configuration
file:
# USB core support
device usb2_core
# USB controller support
device usb2_controller
device usb2_controller_ehci
device usb2_controller_ohci
device usb2_controller_uhci
# USB mass storage support
device usb2_storage
device usb2_storage_mass
# USB ethernet support, requires miibus
device usb2_ethernet
device usb2_ethernet_aue
device usb2_ethernet_axe
device usb2_ethernet_cdce
device usb2_ethernet_cue
device usb2_ethernet_kue
device usb2_ethernet_rue
device usb2_ethernet_dav
# USB wireless LAN support
device usb2_wlan
device usb2_wlan_rum
device usb2_wlan_ral
device usb2_wlan_zyd
# USB serial device support
device usb2_serial
device usb2_serial_ark
device usb2_serial_bsa
device usb2_serial_bser
device usb2_serial_chcom
device usb2_serial_cycom
device usb2_serial_foma
device usb2_serial_ftdi
device usb2_serial_gensa
device usb2_serial_ipaq
device usb2_serial_lpt
device usb2_serial_mct
device usb2_serial_modem
device usb2_serial_moscom
device usb2_serial_plcom
device usb2_serial_visor
device usb2_serial_vscom
# USB bluetooth support
device usb2_bluetooth
device usb2_bluetooth_ng
# USB input device support
device usb2_input
device usb2_input_hid
device usb2_input_kbd
device usb2_input_ms
# USB sound and MIDI device support
device usb2_sound
2) To enable the driver at runtime:
2.a) Unload all existing USB modules. If USB is compiled into the
kernel then you might have to build a new kernel.
2.b) Load the "usb2_xxx.ko" modules under /boot/kernel having the same
base name like the kernel device option.
Submitted by: Hans Petter Selasky hselasky at c2i dot net
Reviewed by: imp, alfred
2008-11-04 02:31:03 +00:00
|
|
|
SHLIB_MINOR= 0
|
|
|
|
SRCS= libusb20.c
|
|
|
|
SRCS+= libusb20_desc.c
|
|
|
|
SRCS+= libusb20_ugen20.c
|
|
|
|
INCS+= libusb20.h
|
|
|
|
INCS+= libusb20_desc.h
|
2009-06-23 01:00:26 +00:00
|
|
|
MAN= libusb.3 libusb20.3
|
Bring in USB4BSD, Hans Petter Selasky rework of the USB stack
that includes significant features and SMP safety.
This commit includes a more or less complete rewrite of the *BSD USB
stack, including Host Controller and Device Controller drivers and
updating all existing USB drivers to use the new USB API:
1) A brief feature list:
- A new and mutex enabled USB API.
- Many USB drivers are now running Giant free.
- Linux USB kernel compatibility layer.
- New UGEN backend and libusb library, finally solves the "driver
unloading" problem. The new BSD licensed libusb20 library is fully
compatible with libusb-0.1.12 from sourceforge.
- New "usbconfig" utility, for easy configuration of USB.
- Full support for Split transactions, which means you can use your
full speed USB audio device on a high speed USB HUB.
- Full support for HS ISOC transactions, which makes writing drivers
for various HS webcams possible, for example.
- Full support for USB on embedded platforms, mostly cache flushing
and buffer invalidating stuff.
- Safer parsing of USB descriptors.
- Autodetect of annoying USB install disks.
- Support for USB device side mode, also called USB gadget mode,
using the same API like the USB host side. In other words the new
USB stack is symmetric with regard to host and device side.
- Support for USB transfers like I/O vectors, means more throughput
and less interrupts.
- ... see the FreeBSD quarterly status reports under "USB project"
2) To enable the driver in the default kernel build:
2.a) Remove all existing USB device options from your kernel config
file.
2.b) Add the following USB device options to your kernel configuration
file:
# USB core support
device usb2_core
# USB controller support
device usb2_controller
device usb2_controller_ehci
device usb2_controller_ohci
device usb2_controller_uhci
# USB mass storage support
device usb2_storage
device usb2_storage_mass
# USB ethernet support, requires miibus
device usb2_ethernet
device usb2_ethernet_aue
device usb2_ethernet_axe
device usb2_ethernet_cdce
device usb2_ethernet_cue
device usb2_ethernet_kue
device usb2_ethernet_rue
device usb2_ethernet_dav
# USB wireless LAN support
device usb2_wlan
device usb2_wlan_rum
device usb2_wlan_ral
device usb2_wlan_zyd
# USB serial device support
device usb2_serial
device usb2_serial_ark
device usb2_serial_bsa
device usb2_serial_bser
device usb2_serial_chcom
device usb2_serial_cycom
device usb2_serial_foma
device usb2_serial_ftdi
device usb2_serial_gensa
device usb2_serial_ipaq
device usb2_serial_lpt
device usb2_serial_mct
device usb2_serial_modem
device usb2_serial_moscom
device usb2_serial_plcom
device usb2_serial_visor
device usb2_serial_vscom
# USB bluetooth support
device usb2_bluetooth
device usb2_bluetooth_ng
# USB input device support
device usb2_input
device usb2_input_hid
device usb2_input_kbd
device usb2_input_ms
# USB sound and MIDI device support
device usb2_sound
2) To enable the driver at runtime:
2.a) Unload all existing USB modules. If USB is compiled into the
kernel then you might have to build a new kernel.
2.b) Load the "usb2_xxx.ko" modules under /boot/kernel having the same
base name like the kernel device option.
Submitted by: Hans Petter Selasky hselasky at c2i dot net
Reviewed by: imp, alfred
2008-11-04 02:31:03 +00:00
|
|
|
MKLINT= no
|
|
|
|
NOGCCERROR=
|
2013-07-14 10:22:00 +00:00
|
|
|
PTHREAD_LIBS?= -lpthread
|
Bring in USB4BSD, Hans Petter Selasky rework of the USB stack
that includes significant features and SMP safety.
This commit includes a more or less complete rewrite of the *BSD USB
stack, including Host Controller and Device Controller drivers and
updating all existing USB drivers to use the new USB API:
1) A brief feature list:
- A new and mutex enabled USB API.
- Many USB drivers are now running Giant free.
- Linux USB kernel compatibility layer.
- New UGEN backend and libusb library, finally solves the "driver
unloading" problem. The new BSD licensed libusb20 library is fully
compatible with libusb-0.1.12 from sourceforge.
- New "usbconfig" utility, for easy configuration of USB.
- Full support for Split transactions, which means you can use your
full speed USB audio device on a high speed USB HUB.
- Full support for HS ISOC transactions, which makes writing drivers
for various HS webcams possible, for example.
- Full support for USB on embedded platforms, mostly cache flushing
and buffer invalidating stuff.
- Safer parsing of USB descriptors.
- Autodetect of annoying USB install disks.
- Support for USB device side mode, also called USB gadget mode,
using the same API like the USB host side. In other words the new
USB stack is symmetric with regard to host and device side.
- Support for USB transfers like I/O vectors, means more throughput
and less interrupts.
- ... see the FreeBSD quarterly status reports under "USB project"
2) To enable the driver in the default kernel build:
2.a) Remove all existing USB device options from your kernel config
file.
2.b) Add the following USB device options to your kernel configuration
file:
# USB core support
device usb2_core
# USB controller support
device usb2_controller
device usb2_controller_ehci
device usb2_controller_ohci
device usb2_controller_uhci
# USB mass storage support
device usb2_storage
device usb2_storage_mass
# USB ethernet support, requires miibus
device usb2_ethernet
device usb2_ethernet_aue
device usb2_ethernet_axe
device usb2_ethernet_cdce
device usb2_ethernet_cue
device usb2_ethernet_kue
device usb2_ethernet_rue
device usb2_ethernet_dav
# USB wireless LAN support
device usb2_wlan
device usb2_wlan_rum
device usb2_wlan_ral
device usb2_wlan_zyd
# USB serial device support
device usb2_serial
device usb2_serial_ark
device usb2_serial_bsa
device usb2_serial_bser
device usb2_serial_chcom
device usb2_serial_cycom
device usb2_serial_foma
device usb2_serial_ftdi
device usb2_serial_gensa
device usb2_serial_ipaq
device usb2_serial_lpt
device usb2_serial_mct
device usb2_serial_modem
device usb2_serial_moscom
device usb2_serial_plcom
device usb2_serial_visor
device usb2_serial_vscom
# USB bluetooth support
device usb2_bluetooth
device usb2_bluetooth_ng
# USB input device support
device usb2_input
device usb2_input_hid
device usb2_input_kbd
device usb2_input_ms
# USB sound and MIDI device support
device usb2_sound
2) To enable the driver at runtime:
2.a) Unload all existing USB modules. If USB is compiled into the
kernel then you might have to build a new kernel.
2.b) Load the "usb2_xxx.ko" modules under /boot/kernel having the same
base name like the kernel device option.
Submitted by: Hans Petter Selasky hselasky at c2i dot net
Reviewed by: imp, alfred
2008-11-04 02:31:03 +00:00
|
|
|
|
2010-01-02 09:58:07 +00:00
|
|
|
WARNS?= 2
|
|
|
|
|
2014-11-25 11:07:26 +00:00
|
|
|
LIBADD= pthread
|
2012-06-12 07:28:25 +00:00
|
|
|
|
2009-06-23 01:00:26 +00:00
|
|
|
MLINKS+= libusb.3 usb.3
|
2009-03-10 15:49:43 +00:00
|
|
|
|
2009-03-09 17:05:31 +00:00
|
|
|
# libusb 0.1 compat
|
|
|
|
INCS+= usb.h
|
2011-06-24 11:14:09 +00:00
|
|
|
SRCS+= libusb01.c
|
2009-06-23 01:00:26 +00:00
|
|
|
|
|
|
|
# libusb 1.0 compat
|
|
|
|
INCS+= libusb.h
|
|
|
|
SRCS+= libusb10.c
|
|
|
|
SRCS+= libusb10_desc.c
|
2016-06-22 10:38:41 +00:00
|
|
|
SRCS+= libusb10_hotplug.c
|
2009-06-23 01:00:26 +00:00
|
|
|
SRCS+= libusb10_io.c
|
2009-03-09 17:05:31 +00:00
|
|
|
|
2010-10-14 20:38:18 +00:00
|
|
|
.if defined(COMPAT_32BIT)
|
|
|
|
CFLAGS+= -DCOMPAT_32BIT
|
2015-10-03 16:34:21 +00:00
|
|
|
.endif
|
|
|
|
|
2015-09-18 23:49:32 +00:00
|
|
|
FILES= libusb-0.1.pc libusb-1.0.pc libusb-2.0.pc
|
|
|
|
FILESDIR= ${LIBDATADIR}/pkgconfig
|
2013-07-25 03:54:08 +00:00
|
|
|
|
2013-03-13 12:23:14 +00:00
|
|
|
#
|
|
|
|
# Cross platform support
|
|
|
|
#
|
|
|
|
# Examples:
|
|
|
|
# make LIBUSB_GLOBAL_INCLUDE_FILE=libusb_global_linux.h
|
2013-07-14 10:22:00 +00:00
|
|
|
# make COMPAT_32BIT=YES \
|
|
|
|
# LIBUSB_GLOBAL_INCLUDE_FILE=libusb_global_linux.h \
|
|
|
|
# DEBUG_FLAGS="-g"
|
|
|
|
#
|
|
|
|
# From Ubuntu 10.04:
|
|
|
|
# freebsd-make LIBUSB_GLOBAL_INCLUDE_FILE=libusb_global_linux.h \
|
|
|
|
# PTHREAD_LIBS="-lpthread -lrt"
|
|
|
|
# freebsd-make COMPAT32_BIT=YES \
|
|
|
|
# LIBUSB_GLOBAL_INCLUDE_FILE=libusb_global_linux.h \
|
|
|
|
# PTHREAD_LIBS="-lpthread -lrt"
|
|
|
|
#
|
2013-03-13 12:23:14 +00:00
|
|
|
#
|
|
|
|
.if defined(LIBUSB_GLOBAL_INCLUDE_FILE)
|
|
|
|
CFLAGS+= -DLIBUSB_GLOBAL_INCLUDE_FILE=\"${LIBUSB_GLOBAL_INCLUDE_FILE}\"
|
|
|
|
CFLAGS+= -DUSB_GLOBAL_INCLUDE_FILE=\"${LIBUSB_GLOBAL_INCLUDE_FILE}\"
|
|
|
|
CFLAGS+= -I ../../sys
|
2010-10-14 20:38:18 +00:00
|
|
|
.endif
|
|
|
|
|
2011-02-28 18:53:06 +00:00
|
|
|
# LibUSB v1.0
|
2016-06-16 07:48:21 +00:00
|
|
|
MLINKS += libusb.3 libusb_get_version.3
|
2011-02-28 18:53:06 +00:00
|
|
|
MLINKS += libusb.3 libusb_init.3
|
|
|
|
MLINKS += libusb.3 libusb_exit.3
|
|
|
|
MLINKS += libusb.3 libusb_strerror.3
|
2011-09-19 08:52:06 +00:00
|
|
|
MLINKS += libusb.3 libusb_error_name.3
|
2011-02-28 18:53:06 +00:00
|
|
|
MLINKS += libusb.3 libusb_set_debug.3
|
|
|
|
MLINKS += libusb.3 libusb_get_device_list.3
|
|
|
|
MLINKS += libusb.3 libusb_free_device_list.3
|
|
|
|
MLINKS += libusb.3 libusb_get_bus_number.3
|
2016-06-16 14:26:04 +00:00
|
|
|
MLINKS += libusb.3 libusb_get_port_number.3
|
2011-02-28 18:53:06 +00:00
|
|
|
MLINKS += libusb.3 libusb_get_device_address.3
|
2011-08-16 21:04:04 +00:00
|
|
|
MLINKS += libusb.3 libusb_get_device_speed.3
|
2011-02-28 18:53:06 +00:00
|
|
|
MLINKS += libusb.3 libusb_get_max_packet_size.3
|
2012-04-12 18:06:30 +00:00
|
|
|
MLINKS += libusb.3 libusb_get_max_iso_packet_size.3
|
2011-02-28 18:53:06 +00:00
|
|
|
MLINKS += libusb.3 libusb_ref_device.3
|
|
|
|
MLINKS += libusb.3 libusb_unref_device.3
|
|
|
|
MLINKS += libusb.3 libusb_open.3
|
|
|
|
MLINKS += libusb.3 libusb_open_device_with_vid_pid.3
|
|
|
|
MLINKS += libusb.3 libusb_close.3
|
|
|
|
MLINKS += libusb.3 libusb_get_device.3
|
|
|
|
MLINKS += libusb.3 libusb_get_configuration.3
|
|
|
|
MLINKS += libusb.3 libusb_set_configuration.3
|
|
|
|
MLINKS += libusb.3 libusb_claim_interface.3
|
|
|
|
MLINKS += libusb.3 libusb_release_interface.3
|
|
|
|
MLINKS += libusb.3 libusb_set_interface_alt_setting.3
|
|
|
|
MLINKS += libusb.3 libusb_clear_halt.3
|
|
|
|
MLINKS += libusb.3 libusb_reset_device.3
|
|
|
|
MLINKS += libusb.3 libusb_check_connected.3
|
|
|
|
MLINKS += libusb.3 libusb_kernel_driver_active.3
|
|
|
|
MLINKS += libusb.3 libusb_get_driver.3
|
|
|
|
MLINKS += libusb.3 libusb_get_driver_np.3
|
|
|
|
MLINKS += libusb.3 libusb_detach_kernel_driver.3
|
|
|
|
MLINKS += libusb.3 libusb_detach_kernel_driver_np.3
|
|
|
|
MLINKS += libusb.3 libusb_attach_kernel_driver.3
|
2016-06-16 14:26:04 +00:00
|
|
|
MLINKS += libusb.3 libusb_set_auto_detach_kernel_driver.3
|
2011-02-28 18:53:06 +00:00
|
|
|
MLINKS += libusb.3 libusb_get_device_descriptor.3
|
2012-04-25 21:50:20 +00:00
|
|
|
MLINKS += libusb.3 libusb_get_active_config_descriptor.3
|
2011-02-28 18:53:06 +00:00
|
|
|
MLINKS += libusb.3 libusb_get_config_descriptor.3
|
|
|
|
MLINKS += libusb.3 libusb_get_config_descriptor_by_value.3
|
|
|
|
MLINKS += libusb.3 libusb_free_config_descriptor.3
|
2012-05-07 14:07:13 +00:00
|
|
|
MLINKS += libusb.3 libusb_get_string_descriptor.3
|
2011-02-28 18:53:06 +00:00
|
|
|
MLINKS += libusb.3 libusb_get_string_descriptor_ascii.3
|
2011-11-09 19:03:26 +00:00
|
|
|
MLINKS += libusb.3 libusb_parse_ss_endpoint_comp.3
|
|
|
|
MLINKS += libusb.3 libusb_free_ss_endpoint_comp.3
|
2016-06-16 16:17:29 +00:00
|
|
|
MLINKS += libusb.3 libusb_get_ss_endpoint_companion_descriptor.3
|
|
|
|
MLINKS += libusb.3 libusb_free_ss_endpoint_companion_descriptor.3
|
2011-11-09 19:03:26 +00:00
|
|
|
MLINKS += libusb.3 libusb_parse_bos_descriptor.3
|
|
|
|
MLINKS += libusb.3 libusb_free_bos_descriptor.3
|
2016-06-16 16:17:29 +00:00
|
|
|
MLINKS += libusb.3 libusb_get_usb_2_0_extension_descriptor.3
|
|
|
|
MLINKS += libusb.3 libusb_free_usb_2_0_extension_descriptor.3
|
|
|
|
MLINKS += libusb.3 libusb_get_ss_usb_device_capability_descriptor.3
|
|
|
|
MLINKS += libusb.3 libusb_free_ss_usb_device_capability_descriptor.3
|
|
|
|
MLINKS += libusb.3 libusb_get_container_id_descriptor.3
|
|
|
|
MLINKS += libusb.3 libusb_free_container_id_descriptor.3
|
2016-06-23 07:12:22 +00:00
|
|
|
MLINKS += libusb.3 libusb_alloc_streams.3
|
|
|
|
MLINKS += libusb.3 libusb_free_streams.3
|
2011-02-28 18:53:06 +00:00
|
|
|
MLINKS += libusb.3 libusb_alloc_transfer.3
|
|
|
|
MLINKS += libusb.3 libusb_free_transfer.3
|
2016-06-23 07:12:22 +00:00
|
|
|
MLINKS += libusb.3 libusb_transfer_set_stream_id.3
|
|
|
|
MLINKS += libusb.3 libusb_transfer_get_stream_id.3
|
2011-02-28 18:53:06 +00:00
|
|
|
MLINKS += libusb.3 libusb_submit_transfer.3
|
|
|
|
MLINKS += libusb.3 libusb_cancel_transfer.3
|
|
|
|
MLINKS += libusb.3 libusb_control_transfer.3
|
|
|
|
MLINKS += libusb.3 libusb_bulk_transfer.3
|
|
|
|
MLINKS += libusb.3 libusb_interrupt_transfer.3
|
|
|
|
MLINKS += libusb.3 libusb_try_lock_events.3
|
|
|
|
MLINKS += libusb.3 libusb_lock_events.3
|
|
|
|
MLINKS += libusb.3 libusb_unlock_events.3
|
|
|
|
MLINKS += libusb.3 libusb_event_handling_ok.3
|
|
|
|
MLINKS += libusb.3 libusb_event_handler_active.3
|
|
|
|
MLINKS += libusb.3 libusb_lock_event_waiters.3
|
|
|
|
MLINKS += libusb.3 libusb_unlock_event_waiters.3
|
|
|
|
MLINKS += libusb.3 libusb_wait_for_event.3
|
2014-01-05 10:41:43 +00:00
|
|
|
MLINKS += libusb.3 libusb_handle_events_timeout_completed.3
|
|
|
|
MLINKS += libusb.3 libusb_handle_events_completed.3
|
2011-02-28 18:53:06 +00:00
|
|
|
MLINKS += libusb.3 libusb_handle_events_timeout.3
|
|
|
|
MLINKS += libusb.3 libusb_handle_events.3
|
|
|
|
MLINKS += libusb.3 libusb_handle_events_locked.3
|
|
|
|
MLINKS += libusb.3 libusb_get_next_timeout.3
|
|
|
|
MLINKS += libusb.3 libusb_set_pollfd_notifiers.3
|
|
|
|
MLINKS += libusb.3 libusb_get_pollfds.3
|
2016-06-22 10:38:41 +00:00
|
|
|
MLINKS += libusb.3 libusb_hotplug_register_callback.3
|
|
|
|
MLINKS += libusb.3 libusb_hotplug_deregister_callback.3
|
2011-02-28 18:53:06 +00:00
|
|
|
|
|
|
|
# LibUSB v0.1
|
|
|
|
MLINKS += libusb.3 usb_open.3
|
|
|
|
MLINKS += libusb.3 usb_close.3
|
|
|
|
MLINKS += libusb.3 usb_get_string.3
|
|
|
|
MLINKS += libusb.3 usb_get_string_simple.3
|
|
|
|
MLINKS += libusb.3 usb_get_descriptor_by_endpoint.3
|
|
|
|
MLINKS += libusb.3 usb_get_descriptor.3
|
|
|
|
MLINKS += libusb.3 usb_parse_descriptor.3
|
|
|
|
MLINKS += libusb.3 usb_parse_configuration.3
|
|
|
|
MLINKS += libusb.3 usb_destroy_configuration.3
|
|
|
|
MLINKS += libusb.3 usb_fetch_and_parse_descriptors.3
|
|
|
|
MLINKS += libusb.3 usb_bulk_write.3
|
|
|
|
MLINKS += libusb.3 usb_bulk_read.3
|
|
|
|
MLINKS += libusb.3 usb_interrupt_write.3
|
|
|
|
MLINKS += libusb.3 usb_interrupt_read.3
|
|
|
|
MLINKS += libusb.3 usb_control_msg.3
|
|
|
|
MLINKS += libusb.3 usb_set_configuration.3
|
|
|
|
MLINKS += libusb.3 usb_claim_interface.3
|
|
|
|
MLINKS += libusb.3 usb_release_interface.3
|
|
|
|
MLINKS += libusb.3 usb_set_altinterface.3
|
|
|
|
MLINKS += libusb.3 usb_resetep.3
|
|
|
|
MLINKS += libusb.3 usb_clear_halt.3
|
|
|
|
MLINKS += libusb.3 usb_reset.3
|
|
|
|
MLINKS += libusb.3 usb_strerror.3
|
|
|
|
MLINKS += libusb.3 usb_init.3
|
|
|
|
MLINKS += libusb.3 usb_set_debug.3
|
|
|
|
MLINKS += libusb.3 usb_find_busses.3
|
|
|
|
MLINKS += libusb.3 usb_find_devices.3
|
|
|
|
MLINKS += libusb.3 usb_device.3
|
|
|
|
MLINKS += libusb.3 usb_get_busses.3
|
|
|
|
MLINKS += libusb.3 usb_check_connected.3
|
|
|
|
|
|
|
|
# LibUSB v2.0
|
|
|
|
MLINKS += libusb20.3 libusb20_tr_close.3
|
|
|
|
MLINKS += libusb20.3 libusb20_tr_open.3
|
|
|
|
MLINKS += libusb20.3 libusb20_tr_get_pointer.3
|
|
|
|
MLINKS += libusb20.3 libusb20_tr_get_time_complete.3
|
|
|
|
MLINKS += libusb20.3 libusb20_tr_get_actual_frames.3
|
|
|
|
MLINKS += libusb20.3 libusb20_tr_get_actual_length.3
|
|
|
|
MLINKS += libusb20.3 libusb20_tr_get_max_frames.3
|
|
|
|
MLINKS += libusb20.3 libusb20_tr_get_max_packet_length.3
|
|
|
|
MLINKS += libusb20.3 libusb20_tr_get_max_total_length.3
|
|
|
|
MLINKS += libusb20.3 libusb20_tr_get_status.3
|
|
|
|
MLINKS += libusb20.3 libusb20_tr_pending.3
|
|
|
|
MLINKS += libusb20.3 libusb20_tr_callback_wrapper.3
|
|
|
|
MLINKS += libusb20.3 libusb20_tr_clear_stall_sync.3
|
|
|
|
MLINKS += libusb20.3 libusb20_tr_drain.3
|
|
|
|
MLINKS += libusb20.3 libusb20_tr_set_buffer.3
|
|
|
|
MLINKS += libusb20.3 libusb20_tr_set_callback.3
|
|
|
|
MLINKS += libusb20.3 libusb20_tr_set_flags.3
|
|
|
|
MLINKS += libusb20.3 libusb20_tr_get_length.3
|
|
|
|
MLINKS += libusb20.3 libusb20_tr_set_length.3
|
|
|
|
MLINKS += libusb20.3 libusb20_tr_set_priv_sc0.3
|
|
|
|
MLINKS += libusb20.3 libusb20_tr_set_priv_sc1.3
|
|
|
|
MLINKS += libusb20.3 libusb20_tr_set_timeout.3
|
|
|
|
MLINKS += libusb20.3 libusb20_tr_set_total_frames.3
|
|
|
|
MLINKS += libusb20.3 libusb20_tr_setup_bulk.3
|
|
|
|
MLINKS += libusb20.3 libusb20_tr_setup_control.3
|
|
|
|
MLINKS += libusb20.3 libusb20_tr_setup_intr.3
|
|
|
|
MLINKS += libusb20.3 libusb20_tr_setup_isoc.3
|
|
|
|
MLINKS += libusb20.3 libusb20_tr_bulk_intr_sync.3
|
|
|
|
MLINKS += libusb20.3 libusb20_tr_start.3
|
|
|
|
MLINKS += libusb20.3 libusb20_tr_stop.3
|
|
|
|
MLINKS += libusb20.3 libusb20_tr_submit.3
|
|
|
|
MLINKS += libusb20.3 libusb20_tr_get_priv_sc0.3
|
|
|
|
MLINKS += libusb20.3 libusb20_tr_get_priv_sc1.3
|
|
|
|
MLINKS += libusb20.3 libusb20_dev_get_backend_name.3
|
|
|
|
MLINKS += libusb20.3 libusb20_dev_get_info.3
|
|
|
|
MLINKS += libusb20.3 libusb20_dev_get_iface_desc.3
|
|
|
|
MLINKS += libusb20.3 libusb20_dev_get_desc.3
|
|
|
|
MLINKS += libusb20.3 libusb20_dev_close.3
|
|
|
|
MLINKS += libusb20.3 libusb20_dev_detach_kernel_driver.3
|
|
|
|
MLINKS += libusb20.3 libusb20_dev_set_config_index.3
|
|
|
|
MLINKS += libusb20.3 libusb20_dev_get_debug.3
|
|
|
|
MLINKS += libusb20.3 libusb20_dev_get_fd.3
|
|
|
|
MLINKS += libusb20.3 libusb20_dev_kernel_driver_active.3
|
|
|
|
MLINKS += libusb20.3 libusb20_dev_open.3
|
|
|
|
MLINKS += libusb20.3 libusb20_dev_process.3
|
|
|
|
MLINKS += libusb20.3 libusb20_dev_request_sync.3
|
|
|
|
MLINKS += libusb20.3 libusb20_dev_req_string_sync.3
|
|
|
|
MLINKS += libusb20.3 libusb20_dev_req_string_simple_sync.3
|
|
|
|
MLINKS += libusb20.3 libusb20_dev_reset.3
|
|
|
|
MLINKS += libusb20.3 libusb20_dev_check_connected.3
|
|
|
|
MLINKS += libusb20.3 libusb20_dev_set_power_mode.3
|
|
|
|
MLINKS += libusb20.3 libusb20_dev_get_power_mode.3
|
2013-05-03 07:44:58 +00:00
|
|
|
MLINKS += libusb20.3 libusb20_dev_get_port_path.3
|
2013-02-14 12:22:40 +00:00
|
|
|
MLINKS += libusb20.3 libusb20_dev_get_power_usage.3
|
2011-02-28 18:53:06 +00:00
|
|
|
MLINKS += libusb20.3 libusb20_dev_set_alt_index.3
|
|
|
|
MLINKS += libusb20.3 libusb20_dev_get_device_desc.3
|
|
|
|
MLINKS += libusb20.3 libusb20_dev_alloc_config.3
|
|
|
|
MLINKS += libusb20.3 libusb20_dev_alloc.3
|
|
|
|
MLINKS += libusb20.3 libusb20_dev_get_address.3
|
2011-06-24 11:14:09 +00:00
|
|
|
MLINKS += libusb20.3 libusb20_dev_get_parent_address.3
|
|
|
|
MLINKS += libusb20.3 libusb20_dev_get_parent_port.3
|
2011-02-28 18:53:06 +00:00
|
|
|
MLINKS += libusb20.3 libusb20_dev_get_bus_number.3
|
|
|
|
MLINKS += libusb20.3 libusb20_dev_get_mode.3
|
|
|
|
MLINKS += libusb20.3 libusb20_dev_get_speed.3
|
|
|
|
MLINKS += libusb20.3 libusb20_dev_get_config_index.3
|
|
|
|
MLINKS += libusb20.3 libusb20_dev_free.3
|
|
|
|
MLINKS += libusb20.3 libusb20_dev_set_debug.3
|
|
|
|
MLINKS += libusb20.3 libusb20_dev_wait_process.3
|
|
|
|
MLINKS += libusb20.3 libusb20_be_get_template.3
|
|
|
|
MLINKS += libusb20.3 libusb20_be_set_template.3
|
|
|
|
MLINKS += libusb20.3 libusb20_be_get_dev_quirk.3
|
|
|
|
MLINKS += libusb20.3 libusb20_be_get_quirk_name.3
|
|
|
|
MLINKS += libusb20.3 libusb20_be_add_dev_quirk.3
|
|
|
|
MLINKS += libusb20.3 libusb20_be_remove_dev_quirk.3
|
|
|
|
MLINKS += libusb20.3 libusb20_be_alloc_default.3
|
|
|
|
MLINKS += libusb20.3 libusb20_be_device_foreach.3
|
|
|
|
MLINKS += libusb20.3 libusb20_be_dequeue_device.3
|
|
|
|
MLINKS += libusb20.3 libusb20_be_enqueue_device.3
|
|
|
|
MLINKS += libusb20.3 libusb20_be_free.3
|
|
|
|
MLINKS += libusb20.3 libusb20_me_get_1.3
|
|
|
|
MLINKS += libusb20.3 libusb20_me_get_2.3
|
|
|
|
MLINKS += libusb20.3 libusb20_me_encode.3
|
|
|
|
MLINKS += libusb20.3 libusb20_me_decode.3
|
|
|
|
MLINKS += libusb20.3 libusb20_desc_foreach.3
|
2011-09-19 08:52:06 +00:00
|
|
|
MLINKS += libusb20.3 libusb20_strerror.3
|
|
|
|
MLINKS += libusb20.3 libusb20_error_name.3
|
2015-08-15 19:00:38 +00:00
|
|
|
|
|
|
|
.include <bsd.lib.mk>
|