Deleted Added
full compact
linux_ioctl.c (189106) linux_ioctl.c (191876)
1/*-
2 * Copyright (c) 1994-1995 S�ren Schmidt
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

--- 16 unchanged lines hidden (view full) ---

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
29#include "opt_route.h"
30#include "opt_compat.h"
31
32#include <sys/cdefs.h>
1/*-
2 * Copyright (c) 1994-1995 S�ren Schmidt
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

--- 16 unchanged lines hidden (view full) ---

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
29#include "opt_route.h"
30#include "opt_compat.h"
31
32#include <sys/cdefs.h>
33__FBSDID("$FreeBSD: head/sys/compat/linux/linux_ioctl.c 189106 2009-02-27 14:12:05Z bz $");
33__FBSDID("$FreeBSD: head/sys/compat/linux/linux_ioctl.c 191876 2009-05-07 09:39:20Z dchagin $");
34
35#include <sys/param.h>
36#include <sys/systm.h>
37#include <sys/sysproto.h>
38#include <sys/cdio.h>
39#include <sys/dvdio.h>
40#include <sys/conf.h>
41#include <sys/disk.h>

--- 30 unchanged lines hidden (view full) ---

72#include <machine/../linux32/linux32_proto.h>
73#else
74#include <machine/../linux/linux.h>
75#include <machine/../linux/linux_proto.h>
76#endif
77
78#include <compat/linux/linux_ioctl.h>
79#include <compat/linux/linux_mib.h>
34
35#include <sys/param.h>
36#include <sys/systm.h>
37#include <sys/sysproto.h>
38#include <sys/cdio.h>
39#include <sys/dvdio.h>
40#include <sys/conf.h>
41#include <sys/disk.h>

--- 30 unchanged lines hidden (view full) ---

72#include <machine/../linux32/linux32_proto.h>
73#else
74#include <machine/../linux/linux.h>
75#include <machine/../linux/linux_proto.h>
76#endif
77
78#include <compat/linux/linux_ioctl.h>
79#include <compat/linux/linux_mib.h>
80#include <compat/linux/linux_socket.h>
80#include <compat/linux/linux_util.h>
81
82CTASSERT(LINUX_IFNAMSIZ == IFNAMSIZ);
83
84static linux_ioctl_function_t linux_ioctl_cdrom;
85static linux_ioctl_function_t linux_ioctl_vfat;
86static linux_ioctl_function_t linux_ioctl_console;
87static linux_ioctl_function_t linux_ioctl_hdio;

--- 2637 unchanged lines hidden ---
81#include <compat/linux/linux_util.h>
82
83CTASSERT(LINUX_IFNAMSIZ == IFNAMSIZ);
84
85static linux_ioctl_function_t linux_ioctl_cdrom;
86static linux_ioctl_function_t linux_ioctl_vfat;
87static linux_ioctl_function_t linux_ioctl_console;
88static linux_ioctl_function_t linux_ioctl_hdio;

--- 2637 unchanged lines hidden ---