head	1.23;
access;
symbols
	RELENG_7_4_0_RELEASE:1.22.12.1
	RELENG_7_4:1.22.0.12
	RELENG_7_4_BP:1.22
	RELENG_7_3_0_RELEASE:1.22.10.1
	RELENG_7_3:1.22.0.10
	RELENG_7_3_BP:1.22
	RELENG_7_2_0_RELEASE:1.22.8.1
	RELENG_7_2:1.22.0.8
	RELENG_7_2_BP:1.22
	RELENG_7_1_0_RELEASE:1.22.6.1
	RELENG_6_4_0_RELEASE:1.18.2.1.8.1
	RELENG_7_1:1.22.0.6
	RELENG_7_1_BP:1.22
	RELENG_6_4:1.18.2.1.0.8
	RELENG_6_4_BP:1.18.2.1
	RELENG_7_0_0_RELEASE:1.22
	RELENG_6_3_0_RELEASE:1.18.2.1
	RELENG_7_0:1.22.0.4
	RELENG_7_0_BP:1.22
	RELENG_6_3:1.18.2.1.0.6
	RELENG_6_3_BP:1.18.2.1
	RELENG_7:1.22.0.2
	RELENG_7_BP:1.22
	RELENG_6_2_0_RELEASE:1.18.2.1
	RELENG_6_2:1.18.2.1.0.4
	RELENG_6_2_BP:1.18.2.1
	RELENG_5_5_0_RELEASE:1.16
	RELENG_5_5:1.16.0.8
	RELENG_5_5_BP:1.16
	RELENG_6_1_0_RELEASE:1.18.2.1
	RELENG_6_1:1.18.2.1.0.2
	RELENG_6_1_BP:1.18.2.1
	RELENG_6_0_0_RELEASE:1.18
	RELENG_6_0:1.18.0.4
	RELENG_6_0_BP:1.18
	RELENG_6:1.18.0.2
	RELENG_6_BP:1.18
	RELENG_5_4_0_RELEASE:1.16
	RELENG_5_4:1.16.0.6
	RELENG_5_4_BP:1.16
	RELENG_4_11_0_RELEASE:1.10.2.1
	RELENG_4_11:1.10.2.1.0.4
	RELENG_4_11_BP:1.10.2.1
	RELENG_5_3_0_RELEASE:1.16
	RELENG_5_3:1.16.0.4
	RELENG_5_3_BP:1.16
	RELENG_5:1.16.0.2
	RELENG_5_BP:1.16
	RELENG_4_10_0_RELEASE:1.10.2.1
	RELENG_4_10:1.10.2.1.0.2
	RELENG_4_10_BP:1.10.2.1
	RELENG_5_2_1_RELEASE:1.14
	RELENG_5_2_0_RELEASE:1.14
	RELENG_5_2:1.14.0.6
	RELENG_5_2_BP:1.14
	RELENG_4_9_0_RELEASE:1.10
	RELENG_4_9:1.10.0.16
	RELENG_4_9_BP:1.10
	RELENG_5_1_0_RELEASE:1.14
	RELENG_5_1:1.14.0.4
	RELENG_5_1_BP:1.14
	RELENG_4_8_0_RELEASE:1.10
	RELENG_4_8:1.10.0.14
	RELENG_4_8_BP:1.10
	RELENG_5_0_0_RELEASE:1.14
	RELENG_5_0:1.14.0.2
	RELENG_5_0_BP:1.14
	RELENG_4_7_0_RELEASE:1.10
	RELENG_4_7:1.10.0.12
	RELENG_4_7_BP:1.10
	RELENG_4_6_2_RELEASE:1.10
	RELENG_4_6_1_RELEASE:1.10
	RELENG_4_6_0_RELEASE:1.10
	RELENG_4_6:1.10.0.10
	RELENG_4_6_BP:1.10
	RELENG_4_5_0_RELEASE:1.10
	RELENG_4_5:1.10.0.8
	RELENG_4_5_BP:1.10
	RELENG_4_4_0_RELEASE:1.10
	RELENG_4_4:1.10.0.6
	RELENG_4_4_BP:1.10
	KSE_MILESTONE_2:1.13
	KSE_PRE_MILESTONE_2:1.13
	RELENG_4_3_0_RELEASE:1.10
	RELENG_4_3:1.10.0.4
	RELENG_4_3_BP:1.10
	RELENG_4_2_0_RELEASE:1.10
	RELENG_4_1_1_RELEASE:1.10
	PRE_SMPNG:1.12
	RELENG_4_1_0_RELEASE:1.10
	RELENG_4_0_0_RELEASE:1.10
	RELENG_4:1.10.0.2
	RELENG_4_BP:1.10;
locks; strict;
comment	@# @;


1.23
date	2009.02.23.18.16.17;	author thompsa;	state dead;
branches;
next	1.22;

1.22
date	2006.09.27.19.57.01;	author ru;	state Exp;
branches
	1.22.2.1
	1.22.6.1
	1.22.8.1
	1.22.10.1
	1.22.12.1;
next	1.21;

1.21
date	2005.10.14.23.30.16;	author yar;	state Exp;
branches;
next	1.20;

1.20
date	2005.07.16.14.02.47;	author phk;	state Exp;
branches;
next	1.19;

1.19
date	2005.07.16.09.18.03;	author phk;	state Exp;
branches;
next	1.18;

1.18
date	2005.06.04.10.58.38;	author schweikh;	state Exp;
branches
	1.18.2.1;
next	1.17;

1.17
date	2004.12.29.08.49.50;	author imp;	state Exp;
branches;
next	1.16;

1.16
date	2004.06.27.12.33.18;	author imp;	state Exp;
branches
	1.16.2.1;
next	1.15;

1.15
date	2003.12.29.09.15.48;	author bde;	state Exp;
branches;
next	1.14;

1.14
date	2002.01.11.15.49.00;	author ru;	state Exp;
branches;
next	1.13;

1.13
date	2001.01.06.14.00.33;	author obrien;	state Exp;
branches;
next	1.12;

1.12
date	2000.05.27.01.14.24;	author peter;	state Exp;
branches;
next	1.11;

1.11
date	2000.05.04.12.08.40;	author peter;	state Exp;
branches;
next	1.10;

1.10
date	2000.01.20.13.25.18;	author yokota;	state Exp;
branches
	1.10.2.1;
next	1.9;

1.9
date	2000.01.12.00.46.08;	author yokota;	state Exp;
branches;
next	1.8;

1.8
date	99.11.28.18.53.31;	author bde;	state Exp;
branches;
next	1.7;

1.7
date	99.11.22.03.55.30;	author n_hibma;	state Exp;
branches;
next	1.6;

1.6
date	99.11.17.22.47.09;	author n_hibma;	state Exp;
branches;
next	1.5;

1.5
date	99.11.17.01.40.21;	author n_hibma;	state Exp;
branches;
next	1.4;

1.4
date	99.10.08.14.09.15;	author green;	state Exp;
branches;
next	1.3;

1.3
date	99.10.08.07.41.14;	author n_hibma;	state Exp;
branches;
next	1.2;

1.2
date	99.10.07.21.25.04;	author n_hibma;	state Exp;
branches;
next	1.1;

1.1
date	99.10.07.21.23.05;	author n_hibma;	state Exp;
branches;
next	;

1.22.2.1
date	2012.11.17.08.06.59;	author svnexp;	state Exp;
branches;
next	;

1.22.6.1
date	2008.11.25.02.59.29;	author kensmith;	state Exp;
branches;
next	;

1.22.8.1
date	2009.04.15.03.14.26;	author kensmith;	state Exp;
branches;
next	;

1.22.10.1
date	2010.02.10.00.26.20;	author kensmith;	state Exp;
branches;
next	;

1.22.12.1
date	2010.12.21.17.10.29;	author kensmith;	state Exp;
branches;
next	1.22.12.2;

1.22.12.2
date	2012.11.17.08.17.28;	author svnexp;	state Exp;
branches;
next	;

1.18.2.1
date	2006.02.10.00.38.07;	author yar;	state Exp;
branches
	1.18.2.1.8.1;
next	1.18.2.2;

1.18.2.2
date	2012.11.17.07.44.27;	author svnexp;	state Exp;
branches;
next	;

1.18.2.1.8.1
date	2008.10.02.02.57.24;	author kensmith;	state Exp;
branches;
next	;

1.16.2.1
date	2006.07.09.19.49.27;	author markm;	state Exp;
branches;
next	;

1.10.2.1
date	2004.03.01.00.07.25;	author julian;	state Exp;
branches;
next	1.10.2.2;

1.10.2.2
date	2012.11.17.07.26.36;	author svnexp;	state Exp;
branches;
next	;


desc
@@


1.23
log
@SVN rev 188939 on 2009-02-23 18:16:17Z by thompsa

Move usb to a graveyard location under sys/legacy/dev, it is intended that the
new USB2 stack will fully replace this for 8.0.

Remove kernel modules, a subsequent commit will update conf/files. Unhook
usbdevs from the build.
@
text
@# $FreeBSD: src/sys/modules/ukbd/Makefile,v 1.22 2006/09/27 19:57:01 ru Exp $

.PATH: ${.CURDIR}/../../dev/usb

KMOD=	ukbd
SRCS=	bus_if.h device_if.h opt_compat.h opt_usb.h opt_kbd.h opt_ukbd.h \
	usbdevs.h ukbd.c

.if !defined(KERNBUILDDIR)
opt_compat.h:
	echo "#define COMPAT_FREEBSD6 1" > ${.TARGET}

opt_kbd.h:
	echo "#define KBD_INSTALL_CDEV 1" > ${.TARGET}
.endif

.include <bsd.kmod.mk>
@


1.22
log
@Fix our ioctl(2) implementation when the argument is "int".  New
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
@
text
@d1 1
a1 1
# $FreeBSD$
@


1.22.2.1
log
@Switch importer
@
text
@d1 1
a1 1
# $FreeBSD: stable/7/sys/modules/ukbd/Makefile 162711 2006-09-27 19:57:02Z ru $
@


1.22.12.1
log
@SVN rev 216618 on 2010-12-21 17:10:29Z by kensmith

Copy stable/7 to releng/7.4 in preparation for FreeBSD-7.4 release.

Approved by:	re (implicit)
@
text
@@


1.22.12.2
log
@Switch importer
@
text
@d1 1
a1 1
# $FreeBSD: releng/7.4/sys/modules/ukbd/Makefile 162711 2006-09-27 19:57:02Z ru $
@


1.22.10.1
log
@SVN rev 203736 on 2010-02-10 00:26:20Z by kensmith

Copy stable/7 to releng/7.3 as part of the 7.3-RELEASE process.

Approved by:	re (implicit)
@
text
@@


1.22.8.1
log
@SVN rev 191087 on 2009-04-15 03:14:26Z by kensmith

Create releng/7.2 from stable/7 in preparation for 7.2-RELEASE.

Approved by:	re (implicit)
@
text
@@


1.22.6.1
log
@SVN rev 185281 on 2008-11-25 02:59:29Z by kensmith

Create releng/7.1 in preparation for moving into RC phase of 7.1 release
cycle.

Approved by:	re (implicit)
@
text
@@


1.21
log
@Let modules use the kernel's opt_*.h files if built along with
the kernel by wrapping all targets for fake opt_*.h files in
.if defined(KERNBUILDDIR).  Thus, such fake files won't be
created at all if modules are built with the kernel.

Some modules undergo cleanup like removing unused or unneeded
options or .h files, without which they wouldn't build this way
or the other.

Reviewed by:	ru
Tested by:	no binary changes in modules built alone
Tested on:	i386 sparc64 amd64
@
text
@d6 2
a7 1
SRCS=	bus_if.h device_if.h opt_usb.h opt_kbd.h opt_ukbd.h usbdevs.h ukbd.c
d10 3
@


1.20
log
@Revert last commit: It fixed make universe but broke regular kernel make.
@
text
@d8 1
d11 1
@


1.19
log
@Add missing reference to ukbdmap.h

Fixes build of ukbd module under "make universe"
@
text
@d6 1
a6 1
SRCS=	bus_if.h device_if.h opt_usb.h opt_kbd.h opt_ukbd.h usbdevs.h ukbd.c ukbdmap.h
@


1.18
log
@Release n_hibma's maintainership due to his ENOTIME.

Discussed with, okayed, authorized, requested by, on behalf of:	n_hibma (MAINTAINER)
@
text
@d6 1
a6 1
SRCS=	bus_if.h device_if.h opt_usb.h opt_kbd.h opt_ukbd.h usbdevs.h ukbd.c
@


1.18.2.1
log
@MFC:
Avoid creating (and subsequently using) fake opt_*.h files
when the modules are built with the kernel and hence actual
opt_*.h files are available in ${KERNBUILDDIR}.  Fix a few
small bugs that would prevent this from working.

At last the build options of the modules become consistent
with those of the kernel unless the MODULES_WITH_WORLD way
still is used.

Approved by:	re (kensmith, scottl)
Requested by:	ru
Tested on:	amd64 i386 sparc64
Tested by:	md5
@
text
@a7 1
.if !defined(KERNBUILDDIR)
a9 1
.endif
@


1.18.2.2
log
@Switch importer
@
text
@d1 1
a1 1
# $FreeBSD: stable/6/sys/modules/ukbd/Makefile 155500 2006-02-10 00:38:08Z yar $
@


1.18.2.1.8.1
log
@SVN rev 183531 on 2008-10-02 02:57:24Z by kensmith

Create releng/6.4 from stable/6 in preparation for 6.4-RC1.

Approved by:	re (implicit)
@
text
@@


1.17
log
@We don't need to generate vnode_if.h anymore
@
text
@d1 1
a1 3
# $FreeBSD$ 

MAINTAINER=	n_hibma@@freebsd.org
@


1.16
log
@Add usbdevs.h and pccarddevs.h to the build list, as appropriate.  This is needed to build as part of world or in src/sys/modules.
@
text
@d8 1
a8 3
SRCS=	bus_if.h device_if.h vnode_if.h \
	opt_usb.h opt_kbd.h opt_ukbd.h \
	ukbd.c usbdevs.h
@


1.16.2.1
log
@MFC: keep the maintainers consistent with HEAD.
@
text
@d3 2
@


1.15
log
@Use double quotes instead of single quotes for echos to build options
headers as in most other modules Makefiles (5 yesterday, none now).
Fixed any simple nearby style bugs (not many).
@
text
@d10 1
a10 1
	ukbd.c
@


1.14
log
@Drop <bsd.man.mk> support from <bsd.kmod.mk>.

Not objected to by:	-current
@
text
@d2 1
d13 1
a13 1
	echo '#define KBD_INSTALL_CDEV 1' > opt_kbd.h
@


1.13
log
@Use a consistent style and one much closer to the rest of /usr/src
@
text
@d1 1
a1 1
# $FreeBSD: src/sys/modules/ukbd/Makefile,v 1.12 2000/05/27 01:14:24 peter Exp $ 
a9 1
NOMAN=
@


1.12
log
@Use .include <bsd.kmod.mk> to get to ../../*/conf/kmod.mk instead of
encoding the relative path.
@
text
@d1 2
a2 1
#       $FreeBSD: src/sys/modules/ukbd/Makefile,v 1.11 2000/05/04 12:08:40 peter Exp $ 
d4 1
a4 1
MAINTAINER	 = n_hibma@@freebsd.org
d6 5
a10 6
.PATH:  	 ${.CURDIR}/../../dev/usb
KMOD		 = ukbd
SRCS		 = bus_if.h device_if.h vnode_if.h \
		   opt_usb.h opt_kbd.h opt_ukbd.h \
		   ukbd.c
NOMAN		 =
@


1.11
log
@Pull in sys/conf/kmod.mk, rather than /usr/share/mk/bsd.kmod.mk.
This means that the kernel can be totally self contained now and is not
dependent on the last buildworld to update /usr/share/mk.  This might
also make it easier to build 5.x kernels on 4.0 boxes etc, assuming
gensetdefs and config(8) are updated.
@
text
@d1 1
a1 1
#       $FreeBSD: src/sys/modules/ukbd/Makefile,v 1.10 2000/01/20 13:25:18 yokota Exp $ 
d15 1
a15 1
.include "${.CURDIR}/../../conf/kmod.mk"
@


1.10
log
@Do not explicitly create empty option files; they are taken
care of by bsd.kmod.mk.

Pointed out by: bde
@
text
@d1 1
a1 1
#       $FreeBSD: src/sys/modules/ukbd/Makefile,v 1.9 2000/01/12 00:46:08 yokota Exp $ 
d15 1
a15 1
.include <bsd.kmod.mk>
@


1.10.2.1
log
@After Far too long, MFC something resembling the -current version of the
USB code. This will allow teh addition of USB-2 support to 4.10 and
simplify debugging as they had diverged too much.

Submitted by:	joe@@freebsd.org
Obtained from:	NeBSD via -current
@
text
@d1 1
a1 2
# $FreeBSD$ 
MAINTAINER=	n_hibma@@freebsd.org
d3 1
a3 1
.PATH: ${.CURDIR}/../../dev/usb
d5 6
a10 4
KMOD=	ukbd
SRCS=	bus_if.h device_if.h vnode_if.h \
	opt_usb.h opt_kbd.h opt_ukbd.h \
	ukbd.c
@


1.10.2.2
log
@Switch importer
@
text
@d1 1
a1 1
# $FreeBSD: stable/4/sys/modules/ukbd/Makefile 126420 2004-03-01 00:07:26Z julian $ 
@


1.9
log
@Add opt_ukbd.h.
@
text
@d1 1
a1 1
#       $FreeBSD: src/sys/modules/ukbd/Makefile,v 1.8 1999/11/28 18:53:31 bde Exp $ 
d8 1
a8 1
		   opt_usb.h ukbd.h opt_kbd.h opt_ukbd.h \
a10 4
CLEANFILES	 = ukbd.h opt_kbd.h opt_ukbd.h

ukbd.h:
	echo > ukbd.h
a13 3

opt_ukbd.h:
	echo > opt_ukbd.h
@


1.8
log
@Removed special rules for building and cleaning device interface files
and empty options files.  The rules are now generated automatically in
bsd.kmod.mk.  Cleaned up related things ($S and ${CLEANFILES}).
@
text
@d1 1
a1 1
#       $FreeBSD: src/sys/modules/ukbd/Makefile,v 1.7 1999/11/22 03:55:30 n_hibma Exp $ 
d8 1
a8 1
		   opt_usb.h ukbd.h opt_kbd.h \
d11 1
a11 1
CLEANFILES	 = ukbd.h opt_kbd.h
d18 3
@


1.7
log
@Clean up the Makefiles, make them consistent with the others and remove
debugging falgs (-g).
@
text
@d1 1
a1 1
#       $FreeBSD: src/sys/modules/ukbd/Makefile,v 1.6 1999/11/17 22:47:09 n_hibma Exp $ 
a3 1
S		 = ${.CURDIR}/../..
d5 1
a5 1
.PATH:  	 $S/dev/usb
d11 1
a11 6
CLEANFILES	+= bus_if.h device_if.h vnode_if.h \
		   opt_usb.h ukbd.h opt_kbd.h \
		   vnode_if.c

opt_usb.h:
	echo > opt_usb.h
a17 4
bus_if.h:
	perl $S/kern/makedevops.pl -h $S/kern/bus_if.m
device_if.h:
	perl $S/kern/makedevops.pl -h $S/kern/device_if.m
@


1.6
log
@Change the name of the modules from <name>_mod to <name>

Suggested by:	David O'Brien <obrien@@FreeBSD.ORG>
@
text
@d1 1
a1 1
#       $FreeBSD: src/sys/modules/ukbd/Makefile,v 1.5 1999/11/17 01:40:21 n_hibma Exp $ 
d4 1
a4 1
SOURCE		 = ${.CURDIR}/../../dev/usb
d6 1
a6 1
.PATH:  ${SOURCE}
a11 1
CFLAGS		+= -g
d18 1
d21 1
a23 1

d25 1
a25 1
	perl ${KERN}/makedevops.pl -h ${KERN}/bus_if.m
d27 1
a27 1
	perl ${KERN}/makedevops.pl -h ${KERN}/device_if.m
@


1.5
log
@Remove -O from CFLAGS
@
text
@d1 1
a1 1
#       $FreeBSD: src/sys/modules/ukbd/Makefile,v 1.4 1999/10/08 14:09:15 green Exp $ 
d7 1
a7 1
KMOD		 = ukbd_mod
@


1.4
log
@perl5 -> perl
(This was breaking world.)
@
text
@d1 1
a1 1
#       $FreeBSD: src/sys/modules/ukbd/Makefile,v 1.3 1999/10/08 07:41:14 n_hibma Exp $ 
d12 1
a12 1
CFLAGS		+= -g -O
@


1.3
log
@Change the SOURCE line to include ${CURDIR}

Submitted by:	Guy Helmer <ghelmer@@scl.ameslab.gov>
@
text
@d1 1
a1 1
#       $FreeBSD: src/sys/modules/ukbd/Makefile,v 1.2 1999/10/07 21:25:04 n_hibma Exp $ 
d25 1
a25 1
	perl5 ${KERN}/makedevops.pl -h ${KERN}/bus_if.m
d27 1
a27 1
	perl5 ${KERN}/makedevops.pl -h ${KERN}/device_if.m
@


1.2
log
@Fix typo
@
text
@d1 1
a1 1
#       $FreeBSD: src/sys/modules/ukbd/Makefile,v 1.1 1999/10/07 21:23:05 n_hibma Exp $ 
d4 1
a4 1
SOURCE		 = ../../dev/usb
@


1.1
log
@The Makefiles for the modules for the USB device drivers.

Finally.
@
text
@d1 1
a1 1
#       $FreeBSD$ 
d14 1
a14 1
		   opt_usb.h ukbd.h opt_ukbd.h \
@
