mirror of
https://git.FreeBSD.org/src.git
synced 2024-12-02 08:42:48 +00:00
9fddcc6661
ioctls passing integer arguments should use the _IOWINT() macro. This fixes a lot of ioctl's not working on sparc64, most notable being keyboard/syscons ioctls. Full ABI compatibility is provided, with the bonus of fixing the handling of old ioctls on sparc64. Reviewed by: bde (with contributions) Tested by: emax, marius MFC after: 1 week
19 lines
345 B
Makefile
19 lines
345 B
Makefile
# Copyright (C) 1999-2000 by Maksim Yevmenkin <m_evmenkin@yahoo.com>
|
|
#
|
|
# $FreeBSD$
|
|
|
|
.PATH: ${.CURDIR}/../../net
|
|
|
|
KMOD= if_tap
|
|
SRCS= if_tap.c opt_compat.h opt_inet.h vnode_if.h
|
|
|
|
.if !defined(KERNBUILDDIR)
|
|
opt_compat.h:
|
|
echo "#define COMPAT_FREEBSD6 1" > ${.TARGET}
|
|
|
|
opt_inet.h:
|
|
echo "#define INET 1" > opt_inet.h
|
|
.endif
|
|
|
|
.include <bsd.kmod.mk>
|