diff options
author | wkoszek <wkoszek@FreeBSD.org> | 2010-01-18 22:46:06 +0000 |
---|---|---|
committer | wkoszek <wkoszek@FreeBSD.org> | 2010-01-18 22:46:06 +0000 |
commit | 260e3efd2e45228ab1445c7e7eade0f2679a538e (patch) | |
tree | cfb45762cc2327e706fdc29b7d4ab2b25f382286 /sys/compat/linux/linux_ioctl.h | |
parent | 85555d355f49895dce2738102fdb839df8397d68 (diff) | |
download | FreeBSD-src-260e3efd2e45228ab1445c7e7eade0f2679a538e.zip FreeBSD-src-260e3efd2e45228ab1445c7e7eade0f2679a538e.tar.gz |
Let us to use our libusb(3) in Linuxolator.
With this change, Linux binaries can work with our libusb(3) when
it's compiled against our header files on GNU/Linux system -- this
solves the problem with differences between /dev layouts.
With ported libusb(3), I am able to use my USB JTAG cable with Linux
binaries that support it.
Reviewed by: thompsa
Diffstat (limited to 'sys/compat/linux/linux_ioctl.h')
-rw-r--r-- | sys/compat/linux/linux_ioctl.h | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/sys/compat/linux/linux_ioctl.h b/sys/compat/linux/linux_ioctl.h index 5eb0c59..5503362 100644 --- a/sys/compat/linux/linux_ioctl.h +++ b/sys/compat/linux/linux_ioctl.h @@ -611,4 +611,10 @@ int linux_ifname(struct ifnet *, char *, size_t); #define LINUX_IOCTL_VIDEO_MIN LINUX_VIDIOCGCAP #define LINUX_IOCTL_VIDEO_MAX LINUX_VIDIOCSVBIFMT +/* + * Keep in sync with our include/dev/usb/usb_ioctl.h. + */ +#define LINUX_FBSD_USB_MIN 0x5100 +#define LINUX_FBSD_USB_MAX 0x55c7 + #endif /* !_LINUX_IOCTL_H_ */ |