881f5acc93
src/sys/dev/usb2/core/usbdevs src/sys/dev/usb2/include/urio2_ioctl.h src/sys/dev/usb2/storage/ustorage2_fs.h These files are not used any more. src/usr.sbin/Makefile src/etc/mtree/BSD.include.dist src/include/Makefile src/lib/Makefile src/share/man/man7/hier.7 src/share/mk/bsd.libnames.mk src/etc/mtree/BSD.include.dist Make "usbconfig" and "libusb20" a part of the default build. src/sys/dev/usb/rio500_usb.h src/sys/dev/usb2/storage/urio2.c Use common include file. src/sys/dev/usb2/bluetooth/ng_ubt2.c Make USB bluetooth depend on "ng_hci" module. src/sys/dev/usb2/controller/ehci2.c src/sys/dev/usb2/controller/ehci2.h Patches for Marvell EHCI. src/sys/dev/usb2/core/usb2_busdma.c Bugfix for 64-bit platforms. Need to unload the previously loaded DMA map and some cleanup regarding some corner cases. src/sys/dev/usb2/core/usb2_core.h src/sys/dev/usb2/core/usb2_dev.c src/sys/dev/usb2/core/usb2_dev.h Bugfix for libusb filesystem interface. New feature: Add support for filtering device data at the expense of the userland process. Add some more comments. Some minor code styling. Remove unused function, usb2_fifo_get_data_next(). Fix an issue about "fifo_index" being used instead of "ep_index". src/sys/dev/usb2/core/usb2_device.c src/sys/dev/usb2/core/usb2_generic.c Bugfix for Linux USB compat layer. Do not free non-generic FIFOs when doing an alternate setting. Cleanup USB IOCTL and USB reference handling. Fix a corner case where USB-FS was left initialised after setting a new configuration or alternate setting. src/sys/dev/usb2/core/usb2_hub.c Improvement: Check all USB HUB ports by default at least one time. src/sys/dev/usb2/core/usb2_request.c Bugfix: Make sure destination ASCII string is properly zero terminated in all cases. Improvement: Skip invalid characters instead of replacing with a dot. src/sys/dev/usb2/core/usb2_util.c src/sys/dev/usb2/image/uscanner2.c Spelling. src/sys/dev/usb2/include/Makefile Share "usbdevs" with the old USB stack. src/sys/dev/usb2/include/usb2_devid.h src/sys/dev/usb2/include/usb2_devtable.h Regenerate files. Alfred: Please fix the RCS tag at the top. src/sys/dev/usb2/include/usb2_ioctl.h Fix compilation of "kdump". src/sys/dev/usb2/serial/ubsa2.c src/sys/dev/usb2/serial/ugensa2.c Remove device ID's which will end up in a new 3G driver. src/sys/dev/usb2/sound/uaudio2.c Correct a debug printout. src/sys/dev/usb2/storage/umass2.c Sync with old USB stack. src/lib/libusb20/libusb20.3 Add more documentation. src/lib/libusb20/libusb20.c Various bugfixes and improvements. src/usr.sbin/usbconfig/dump.c src/usr.sbin/usbconfig/usbconfig.c New commands for dumping strings and doing custom USB requests from the command line. Remove keyword requirements from generated files: "head/sys/dev/usb2/include/usb2_devid.h" "head/sys/dev/usb2/include/usb2_devtable.h"
49 lines
1.4 KiB
C
49 lines
1.4 KiB
C
/*-
|
|
----------------------------------------------------------------------
|
|
|
|
Copyright (C) 2000 Cesar Miquel (miquel@df.uba.ar)
|
|
|
|
Redistribution and use in source and binary forms, with or without
|
|
modification, are permitted under any licence of your choise which
|
|
meets the open source licence definiton
|
|
http://www.opensource.org/opd.html such as the GNU licence or the
|
|
BSD licence.
|
|
|
|
This program is distributed in the hope that it will be useful,
|
|
but WITHOUT ANY WARRANTY; without even the implied warranty of
|
|
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
|
|
General Public License or the BSD license for more details.
|
|
|
|
----------------------------------------------------------------------
|
|
|
|
Modified for FreeBSD by Iwasa Kazmi <kzmi@ca2.so-net.ne.jp>
|
|
|
|
---------------------------------------------------------------------- */
|
|
|
|
/* $FreeBSD$ */
|
|
|
|
#include <sys/ioccom.h>
|
|
#ifndef USB_VENDOR_DIAMOND
|
|
#define USB_VENDOR_DIAMOND 0x841
|
|
#endif
|
|
#ifndef USB_PRODUCT_DIAMOND_RIO500USB
|
|
#define USB_PRODUCT_DIAMOND_RIO500USB 0x1
|
|
#endif
|
|
|
|
struct RioCommand
|
|
{
|
|
uint16_t length;
|
|
int request;
|
|
int requesttype;
|
|
int value;
|
|
int index;
|
|
void *buffer;
|
|
int timeout;
|
|
};
|
|
|
|
#define RIO_SEND_COMMAND _IOWR('U', 200, struct RioCommand)
|
|
#define RIO_RECV_COMMAND _IOWR('U', 201, struct RioCommand)
|
|
|
|
#define RIO_DIR_OUT 0x0
|
|
#define RIO_DIR_IN 0x1
|