diff options
| author | Hans Petter Selasky <hselasky@FreeBSD.org> | 2020-03-13 08:57:22 +0000 |
|---|---|---|
| committer | Hans Petter Selasky <hselasky@FreeBSD.org> | 2020-03-13 08:57:22 +0000 |
| commit | b94a1da4ad808e1a0f4714a34b8be486ef8e28ba (patch) | |
| tree | afd6af97d121a8096bdb8b9813ee3262d32ca998 | |
| parent | 4bd5683e45eb4b6596ea01e8d91ea5ba4c08c0a2 (diff) | |
Notes
| -rw-r--r-- | sys/compat/linux/linux_ioctl.c | 3 | ||||
| -rw-r--r-- | sys/compat/linux/linux_ioctl.h | 3 |
2 files changed, 5 insertions, 1 deletions
diff --git a/sys/compat/linux/linux_ioctl.c b/sys/compat/linux/linux_ioctl.c index 99983ffd0313..3ad3dd9166b0 100644 --- a/sys/compat/linux/linux_ioctl.c +++ b/sys/compat/linux/linux_ioctl.c @@ -3555,6 +3555,9 @@ linux_ioctl_fbsd_usb(struct thread *td, struct linux_ioctl_args *args) case FBSD_LUSB_GET_POWER_USAGE: args->cmd = USB_GET_POWER_USAGE; break; + case FBSD_LUSB_DEVICESTATS: + args->cmd = USB_DEVICESTATS; + break; default: error = ENOIOCTL; } diff --git a/sys/compat/linux/linux_ioctl.h b/sys/compat/linux/linux_ioctl.h index 873937deecd1..a7ec660c481c 100644 --- a/sys/compat/linux/linux_ioctl.h +++ b/sys/compat/linux/linux_ioctl.h @@ -740,9 +740,10 @@ #define FBSD_LUSB_FS_OPEN_STREAM 0xffdf #define FBSD_LUSB_GET_DEV_PORT_PATH 0xffde #define FBSD_LUSB_GET_POWER_USAGE 0xffdd +#define FBSD_LUSB_DEVICESTATS 0xffdc #define FBSD_LUSB_MAX 0xffff -#define FBSD_LUSB_MIN 0xffdd +#define FBSD_LUSB_MIN 0xffdc /* * Linux btrfs clone operation |
