linux_ioctl.h (221426) | linux_ioctl.h (246085) |
---|---|
1/*- 2 * Copyright (c) 1999 Marcel Moolenaar 3 * 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 --- 11 unchanged lines hidden (view full) --- 20 * IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR ANY DIRECT, INDIRECT, 21 * INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT 22 * NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, 23 * DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY 24 * THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT 25 * (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF 26 * THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. 27 * | 1/*- 2 * Copyright (c) 1999 Marcel Moolenaar 3 * 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 --- 11 unchanged lines hidden (view full) --- 20 * IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR ANY DIRECT, INDIRECT, 21 * INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT 22 * NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, 23 * DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY 24 * THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT 25 * (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF 26 * THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. 27 * |
28 * $FreeBSD: head/sys/compat/linux/linux_ioctl.h 221426 2011-05-04 09:05:39Z netchild $ | 28 * $FreeBSD: head/sys/compat/linux/linux_ioctl.h 246085 2013-01-29 18:41:30Z jhb $ |
29 */ 30 31#ifndef _LINUX_IOCTL_H_ 32#define _LINUX_IOCTL_H_ 33 34/* 35 * ioctl 36 * --- 706 unchanged lines hidden (view full) --- 743#define FBSD_LUSB_SET_CONFIG 0xffe3 744#define FBSD_LUSB_SET_IMMED 0xffe2 745#define FBSD_LUSB_SET_POWER_MODE 0xffe1 746#define FBSD_LUSB_SET_TEMPLATE 0xffe0 747 748#define FBSD_LUSB_MAX 0xffff 749#define FBSD_LUSB_MIN 0xffe0 750 | 29 */ 30 31#ifndef _LINUX_IOCTL_H_ 32#define _LINUX_IOCTL_H_ 33 34/* 35 * ioctl 36 * --- 706 unchanged lines hidden (view full) --- 743#define FBSD_LUSB_SET_CONFIG 0xffe3 744#define FBSD_LUSB_SET_IMMED 0xffe2 745#define FBSD_LUSB_SET_POWER_MODE 0xffe1 746#define FBSD_LUSB_SET_TEMPLATE 0xffe0 747 748#define FBSD_LUSB_MAX 0xffff 749#define FBSD_LUSB_MIN 0xffe0 750 |
751/* 752 * Pluggable ioctl handlers 753 */ 754struct linux_ioctl_args; 755struct thread; 756 757typedef int linux_ioctl_function_t(struct thread *, struct linux_ioctl_args *); 758 759struct linux_ioctl_handler { 760 linux_ioctl_function_t *func; 761 int low, high; 762}; 763 764int linux_ioctl_register_handler(struct linux_ioctl_handler *h); 765int linux_ioctl_unregister_handler(struct linux_ioctl_handler *h); 766 |
|
751#endif /* !_LINUX_IOCTL_H_ */ | 767#endif /* !_LINUX_IOCTL_H_ */ |