diff options
Diffstat (limited to 'sys/dev/usb')
35 files changed, 108 insertions, 39 deletions
diff --git a/sys/dev/usb/ehci.c b/sys/dev/usb/ehci.c index ce069c4ee8d3..cb55f947f3ff 100644 --- a/sys/dev/usb/ehci.c +++ b/sys/dev/usb/ehci.c @@ -1,11 +1,13 @@ /* $NetBSD: ehci.c,v 1.46 2003/03/09 19:51:13 augustss Exp $ */ -/* $FreeBSD$ */ /* * TODO * hold off explorations by companion controllers until ehci has started. */ +#include <sys/cdefs.h> +__FBSDID("$FreeBSD$"); + /* * Copyright (c) 2001 The NetBSD Foundation, Inc. * All rights reserved. diff --git a/sys/dev/usb/ehci_pci.c b/sys/dev/usb/ehci_pci.c index 78ab401f1723..00b2206dc042 100644 --- a/sys/dev/usb/ehci_pci.c +++ b/sys/dev/usb/ehci_pci.c @@ -1,6 +1,4 @@ -/* $FreeBSD$ */ - -/* +/*- * Copyright (c) 1998 The NetBSD Foundation, Inc. * All rights reserved. * @@ -37,6 +35,9 @@ * POSSIBILITY OF SUCH DAMAGE. */ +#include <sys/cdefs.h> +__FBSDID("$FreeBSD$"); + /* * USB Enhanced Host Controller Driver, a.k.a. USB 2.0 controller. * @@ -44,7 +45,6 @@ * http://developer.intel.com/technology/usb/download/ehci-r10.pdf * and the USB 2.0 spec at * http://www.usb.org/developers/docs/usb_20.zip - * */ /* The low level controller code for EHCI has been split into @@ -52,7 +52,6 @@ * sharing of code between *BSD's */ - #include "opt_bus.h" #include <sys/param.h> diff --git a/sys/dev/usb/hid.c b/sys/dev/usb/hid.c index dba1e0d0ba29..f083a17cf681 100644 --- a/sys/dev/usb/hid.c +++ b/sys/dev/usb/hid.c @@ -1,6 +1,8 @@ /* $NetBSD: hid.c,v 1.17 2001/11/13 06:24:53 lukem Exp $ */ -/* $FreeBSD$ */ + +#include <sys/cdefs.h> +__FBSDID("$FreeBSD$"); /* * Copyright (c) 1998 The NetBSD Foundation, Inc. * All rights reserved. diff --git a/sys/dev/usb/if_aue.c b/sys/dev/usb/if_aue.c index 5903954df1de..a9f2ac8069ee 100644 --- a/sys/dev/usb/if_aue.c +++ b/sys/dev/usb/if_aue.c @@ -30,6 +30,9 @@ * THE POSSIBILITY OF SUCH DAMAGE. */ +#include <sys/cdefs.h> +__FBSDID("$FreeBSD$"); + /* * ADMtek AN986 Pegasus and AN8511 Pegasus II USB to ethernet driver. * Datasheet is available from http://www.admtek.com.tw. diff --git a/sys/dev/usb/if_axe.c b/sys/dev/usb/if_axe.c index 569f655c0306..a8087545f37d 100644 --- a/sys/dev/usb/if_axe.c +++ b/sys/dev/usb/if_axe.c @@ -29,9 +29,11 @@ * ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF * THE POSSIBILITY OF SUCH DAMAGE. * - * $FreeBSD$ */ +#include <sys/cdefs.h> +__FBSDID("$FreeBSD$"); + /* * ASIX Electronics AX88172 USB 2.0 ethernet driver. Used in the * LinkSys USB200M and various other adapters. diff --git a/sys/dev/usb/if_cue.c b/sys/dev/usb/if_cue.c index 77255b961106..72f0dedb2341 100644 --- a/sys/dev/usb/if_cue.c +++ b/sys/dev/usb/if_cue.c @@ -30,6 +30,9 @@ * THE POSSIBILITY OF SUCH DAMAGE. */ +#include <sys/cdefs.h> +__FBSDID("$FreeBSD$"); + /* * CATC USB-EL1210A USB to ethernet driver. Used in the CATC Netmate * adapters and others. diff --git a/sys/dev/usb/if_kue.c b/sys/dev/usb/if_kue.c index 3b855b0bc24e..49b72bb3801c 100644 --- a/sys/dev/usb/if_kue.c +++ b/sys/dev/usb/if_kue.c @@ -30,6 +30,9 @@ * THE POSSIBILITY OF SUCH DAMAGE. */ +#include <sys/cdefs.h> +__FBSDID("$FreeBSD$"); + /* * Kawasaki LSI KL5KUSB101B USB to ethernet adapter driver. * diff --git a/sys/dev/usb/if_rue.c b/sys/dev/usb/if_rue.c index d9483e40c459..d5f8c3adc769 100644 --- a/sys/dev/usb/if_rue.c +++ b/sys/dev/usb/if_rue.c @@ -23,9 +23,11 @@ * OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF * SUCH DAMAGE. * - * $FreeBSD$ */ +#include <sys/cdefs.h> +__FBSDID("$FreeBSD$"); + /* * RealTek RTL8150 USB to fast ethernet controller driver. * Datasheet is available from diff --git a/sys/dev/usb/ohci.c b/sys/dev/usb/ohci.c index 413d143748dd..db62fea38a26 100644 --- a/sys/dev/usb/ohci.c +++ b/sys/dev/usb/ohci.c @@ -1,5 +1,4 @@ /* $NetBSD: ohci.c,v 1.125 2002/05/28 12:42:38 augustss Exp $ */ -/* $FreeBSD$ */ /* Also, already ported: * $NetBSD: ohci.c,v 1.127 2002/08/07 20:03:19 augustss Exp $ @@ -17,6 +16,9 @@ * $NetBSD: ohci.c,v 1.140 2003/05/13 04:42:00 gson Exp $ */ +#include <sys/cdefs.h> +__FBSDID("$FreeBSD$"); + /* * Copyright (c) 1998 The NetBSD Foundation, Inc. * All rights reserved. diff --git a/sys/dev/usb/ohci_pci.c b/sys/dev/usb/ohci_pci.c index cd65897aeb5b..ec116b45e5c4 100644 --- a/sys/dev/usb/ohci_pci.c +++ b/sys/dev/usb/ohci_pci.c @@ -1,6 +1,4 @@ -/* $FreeBSD$ */ - -/* +/*- * Copyright (c) 1998 The NetBSD Foundation, Inc. * All rights reserved. * @@ -37,6 +35,9 @@ * POSSIBILITY OF SUCH DAMAGE. */ +#include <sys/cdefs.h> +__FBSDID("$FreeBSD$"); + /* * USB Open Host Controller driver. * @@ -48,7 +49,6 @@ * sharing of code between *BSD's */ - #include "opt_bus.h" #include <sys/param.h> diff --git a/sys/dev/usb/ubsa.c b/sys/dev/usb/ubsa.c index b8b21f004776..53fee2026390 100644 --- a/sys/dev/usb/ubsa.c +++ b/sys/dev/usb/ubsa.c @@ -23,6 +23,9 @@ * OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF * SUCH DAMAGE. */ + +#include <sys/cdefs.h> +__FBSDID("$FreeBSD$"); /* * Copyright (c) 2001 The NetBSD Foundation, Inc. * All rights reserved. diff --git a/sys/dev/usb/ucom.c b/sys/dev/usb/ucom.c index 4e2b2fbe8b6e..0ec2140e2fa0 100644 --- a/sys/dev/usb/ucom.c +++ b/sys/dev/usb/ucom.c @@ -1,5 +1,4 @@ /* $NetBSD: ucom.c,v 1.40 2001/11/13 06:24:54 lukem Exp $ */ -/* $FreeBSD$ */ /*- * Copyright (c) 2001-2002, Shunsuke Akiyama <akiyama@jp.FreeBSD.org>. @@ -27,6 +26,9 @@ * SUCH DAMAGE. */ +#include <sys/cdefs.h> +__FBSDID("$FreeBSD$"); + /* * Copyright (c) 1998, 2000 The NetBSD Foundation, Inc. * All rights reserved. diff --git a/sys/dev/usb/udbp.c b/sys/dev/usb/udbp.c index 35d18976ccc3..c021b314d4f2 100644 --- a/sys/dev/usb/udbp.c +++ b/sys/dev/usb/udbp.c @@ -26,9 +26,11 @@ * ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE * POSSIBILITY OF SUCH DAMAGE. * - * $FreeBSD$ */ +#include <sys/cdefs.h> +__FBSDID("$FreeBSD$"); + /* Driver for arbitrary double bulk pipe devices. * The driver assumes that there will be the same driver on the other side. * diff --git a/sys/dev/usb/ufm.c b/sys/dev/usb/ufm.c index 350a901752ce..217eb37214df 100644 --- a/sys/dev/usb/ufm.c +++ b/sys/dev/usb/ufm.c @@ -28,7 +28,9 @@ * its contributors. */ -/* $FreeBSD$ */ +#include <sys/cdefs.h> +__FBSDID("$FreeBSD$"); + #include <sys/param.h> #include <sys/systm.h> diff --git a/sys/dev/usb/uftdi.c b/sys/dev/usb/uftdi.c index 7db68ef91416..30cefacb9520 100644 --- a/sys/dev/usb/uftdi.c +++ b/sys/dev/usb/uftdi.c @@ -1,5 +1,4 @@ /* $NetBSD: uftdi.c,v 1.13 2002/09/23 05:51:23 simonb Exp $ */ -/* $FreeBSD$ */ /* * Copyright (c) 2000 The NetBSD Foundation, Inc. @@ -37,6 +36,9 @@ * POSSIBILITY OF SUCH DAMAGE. */ +#include <sys/cdefs.h> +__FBSDID("$FreeBSD$"); + /* * FTDI FT8U100AX serial adapter driver */ diff --git a/sys/dev/usb/ugen.c b/sys/dev/usb/ugen.c index f1b62b85c3a4..5a62c7fbc395 100644 --- a/sys/dev/usb/ugen.c +++ b/sys/dev/usb/ugen.c @@ -1,5 +1,4 @@ /* $NetBSD: ugen.c,v 1.59 2002/07/11 21:14:28 augustss Exp $ */ -/* $FreeBSD$ */ /* Also already merged from NetBSD: * $NetBSD: ugen.c,v 1.61 2002/09/23 05:51:20 simonb Exp $ @@ -7,6 +6,9 @@ * $NetBSD: ugen.c,v 1.65 2003/06/29 22:30:56 fvdl Exp $ */ +#include <sys/cdefs.h> +__FBSDID("$FreeBSD$"); + /* * Copyright (c) 1998 The NetBSD Foundation, Inc. * All rights reserved. diff --git a/sys/dev/usb/uhci.c b/sys/dev/usb/uhci.c index af4fd4a76deb..c312606a290a 100644 --- a/sys/dev/usb/uhci.c +++ b/sys/dev/usb/uhci.c @@ -1,5 +1,4 @@ /* $NetBSD: uhci.c,v 1.160 2002/05/28 12:42:39 augustss Exp $ */ -/* $FreeBSD$ */ /* Also already incorporated from NetBSD: * $NetBSD: uhci.c,v 1.162 2002/07/11 21:14:28 augustss Exp $ @@ -15,6 +14,9 @@ * $NetBSD: uhci.c,v 1.173 2003/05/13 04:41:59 gson Exp $ */ +#include <sys/cdefs.h> +__FBSDID("$FreeBSD$"); + /* * Copyright (c) 1998 The NetBSD Foundation, Inc. diff --git a/sys/dev/usb/uhci_pci.c b/sys/dev/usb/uhci_pci.c index acb26c5b202b..48996f613282 100644 --- a/sys/dev/usb/uhci_pci.c +++ b/sys/dev/usb/uhci_pci.c @@ -1,4 +1,4 @@ -/* +/*- * Copyright (c) 1998 The NetBSD Foundation, Inc. * All rights reserved. * @@ -33,10 +33,11 @@ * CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) * ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE * POSSIBILITY OF SUCH DAMAGE. - * - * $FreeBSD$ */ +#include <sys/cdefs.h> +__FBSDID("$FreeBSD$"); + /* Universal Host Controller Interface * * UHCI spec: http://www.intel.com/ diff --git a/sys/dev/usb/uhid.c b/sys/dev/usb/uhid.c index c21ac3ba37a7..591c5a76020c 100644 --- a/sys/dev/usb/uhid.c +++ b/sys/dev/usb/uhid.c @@ -1,10 +1,12 @@ /* $NetBSD: uhid.c,v 1.46 2001/11/13 06:24:55 lukem Exp $ */ -/* $FreeBSD$ */ /* Also already merged from NetBSD: * $NetBSD: uhid.c,v 1.54 2002/09/23 05:51:21 simonb Exp $ */ +#include <sys/cdefs.h> +__FBSDID("$FreeBSD$"); + /* * Copyright (c) 1998 The NetBSD Foundation, Inc. * All rights reserved. diff --git a/sys/dev/usb/uhub.c b/sys/dev/usb/uhub.c index 068f51d2bdc0..e0d8ada09276 100644 --- a/sys/dev/usb/uhub.c +++ b/sys/dev/usb/uhub.c @@ -1,5 +1,4 @@ /* $NetBSD: uhub.c,v 1.64 2003/02/08 03:32:51 ichiro Exp $ */ -/* $FreeBSD$ */ /* * Copyright (c) 1998 The NetBSD Foundation, Inc. @@ -38,6 +37,9 @@ * POSSIBILITY OF SUCH DAMAGE. */ +#include <sys/cdefs.h> +__FBSDID("$FreeBSD$"); + /* * USB spec: http://www.usb.org/developers/docs/usbspec.zip */ diff --git a/sys/dev/usb/ukbd.c b/sys/dev/usb/ukbd.c index 6d1c19f2294f..c5bb0844eb34 100644 --- a/sys/dev/usb/ukbd.c +++ b/sys/dev/usb/ukbd.c @@ -1,4 +1,3 @@ -/* $FreeBSD$ */ /* * Copyright (c) 1998 The NetBSD Foundation, Inc. @@ -37,6 +36,9 @@ * POSSIBILITY OF SUCH DAMAGE. */ +#include <sys/cdefs.h> +__FBSDID("$FreeBSD$"); + /* * HID spec: http://www.usb.org/developers/data/devclass/hid1_1.pdf */ diff --git a/sys/dev/usb/ulpt.c b/sys/dev/usb/ulpt.c index c8df70dc8a54..7e1ce890aa8a 100644 --- a/sys/dev/usb/ulpt.c +++ b/sys/dev/usb/ulpt.c @@ -1,5 +1,4 @@ /* $NetBSD: ulpt.c,v 1.55 2002/10/23 09:14:01 jdolecek Exp $ */ -/* $FreeBSD$ */ /* * Copyright (c) 1998 The NetBSD Foundation, Inc. @@ -38,6 +37,9 @@ * POSSIBILITY OF SUCH DAMAGE. */ +#include <sys/cdefs.h> +__FBSDID("$FreeBSD$"); + /* * Printer Class spec: http://www.usb.org/developers/data/devclass/usbprint109.PDF */ diff --git a/sys/dev/usb/umct.c b/sys/dev/usb/umct.c index ee8feeb96aff..fdc683f9d8d1 100644 --- a/sys/dev/usb/umct.c +++ b/sys/dev/usb/umct.c @@ -23,9 +23,11 @@ * OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF * SUCH DAMAGE. * - * $FreeBSD$ */ +#include <sys/cdefs.h> +__FBSDID("$FreeBSD$"); + /* * Driver for the MCT (Magic Control Technology) USB-RS232 Converter. * Based on the superb documentation from the linux mct_u232 driver by diff --git a/sys/dev/usb/umodem.c b/sys/dev/usb/umodem.c index 317a894015e6..c7a88b6baa2c 100644 --- a/sys/dev/usb/umodem.c +++ b/sys/dev/usb/umodem.c @@ -1,6 +1,8 @@ /* $NetBSD: umodem.c,v 1.45 2002/09/23 05:51:23 simonb Exp $ */ -/* $FreeBSD$ */ + +#include <sys/cdefs.h> +__FBSDID("$FreeBSD$"); /*- * Copyright (c) 2003, M. Warner Losh <imp@freebsd.org>. * All rights reserved. diff --git a/sys/dev/usb/ums.c b/sys/dev/usb/ums.c index a46cf425b96e..95283f2c68e9 100644 --- a/sys/dev/usb/ums.c +++ b/sys/dev/usb/ums.c @@ -1,4 +1,3 @@ -/* $FreeBSD$ */ /* * Copyright (c) 1998 The NetBSD Foundation, Inc. @@ -37,6 +36,9 @@ * POSSIBILITY OF SUCH DAMAGE. */ +#include <sys/cdefs.h> +__FBSDID("$FreeBSD$"); + /* * HID spec: http://www.usb.org/developers/data/devclass/hid1_1.pdf */ diff --git a/sys/dev/usb/uplcom.c b/sys/dev/usb/uplcom.c index 96d7bb39bfb1..5fb08430b391 100644 --- a/sys/dev/usb/uplcom.c +++ b/sys/dev/usb/uplcom.c @@ -1,5 +1,4 @@ /* $NetBSD: uplcom.c,v 1.21 2001/11/13 06:24:56 lukem Exp $ */ -/* $FreeBSD$ */ /*- * Copyright (c) 2001-2002, Shunsuke Akiyama <akiyama@jp.FreeBSD.org>. @@ -27,6 +26,9 @@ * SUCH DAMAGE. */ +#include <sys/cdefs.h> +__FBSDID("$FreeBSD$"); + /* * Copyright (c) 2001 The NetBSD Foundation, Inc. * All rights reserved. diff --git a/sys/dev/usb/urio.c b/sys/dev/usb/urio.c index e83f940c105d..25c08567c55e 100644 --- a/sys/dev/usb/urio.c +++ b/sys/dev/usb/urio.c @@ -28,7 +28,9 @@ * its contributors. */ -/* $FreeBSD$ */ +#include <sys/cdefs.h> +__FBSDID("$FreeBSD$"); + /* * 2000/3/24 added NetBSD/OpenBSD support (from Alex Nemirovsky) diff --git a/sys/dev/usb/usb.c b/sys/dev/usb/usb.c index 9571c2bb1f54..5812b355add4 100644 --- a/sys/dev/usb/usb.c +++ b/sys/dev/usb/usb.c @@ -1,11 +1,13 @@ /* $NetBSD: usb.c,v 1.68 2002/02/20 20:30:12 christos Exp $ */ -/* $FreeBSD$ */ /* Also already merged from NetBSD: * $NetBSD: usb.c,v 1.70 2002/05/09 21:54:32 augustss Exp $ * $NetBSD: usb.c,v 1.73 2002/09/23 05:51:19 simonb Exp $ */ +#include <sys/cdefs.h> +__FBSDID("$FreeBSD$"); + /* * Copyright (c) 1998 The NetBSD Foundation, Inc. * All rights reserved. diff --git a/sys/dev/usb/usb_ethersubr.c b/sys/dev/usb/usb_ethersubr.c index c13cbfa832bb..5c01a011e650 100644 --- a/sys/dev/usb/usb_ethersubr.c +++ b/sys/dev/usb/usb_ethersubr.c @@ -30,6 +30,9 @@ * THE POSSIBILITY OF SUCH DAMAGE. */ +#include <sys/cdefs.h> +__FBSDID("$FreeBSD$"); + /* * Callbacks in the USB code operate at splusb() (actually splbio() * in FreeBSD). However adding packets to the input queues has to be diff --git a/sys/dev/usb/usb_quirks.c b/sys/dev/usb/usb_quirks.c index c0377330ec3c..cbf2f91924c4 100644 --- a/sys/dev/usb/usb_quirks.c +++ b/sys/dev/usb/usb_quirks.c @@ -1,5 +1,4 @@ /* $NetBSD: usb_quirks.c,v 1.42 2003/01/02 04:19:00 imp Exp $ */ -/* $FreeBSD$ */ /* * Copyright (c) 1998 The NetBSD Foundation, Inc. @@ -38,6 +37,9 @@ * POSSIBILITY OF SUCH DAMAGE. */ +#include <sys/cdefs.h> +__FBSDID("$FreeBSD$"); + #include <sys/param.h> #include <sys/systm.h> diff --git a/sys/dev/usb/usb_subr.c b/sys/dev/usb/usb_subr.c index a78fb5dd1a8e..79a65c7bc642 100644 --- a/sys/dev/usb/usb_subr.c +++ b/sys/dev/usb/usb_subr.c @@ -1,11 +1,13 @@ /* $NetBSD: usb_subr.c,v 1.99 2002/07/11 21:14:34 augustss Exp $ */ -/* $FreeBSD$ */ /* Also already have from NetBSD: * $NetBSD: usb_subr.c,v 1.102 2003/01/01 16:21:50 augustss Exp $ * $NetBSD: usb_subr.c,v 1.103 2003/01/10 11:19:13 augustss Exp $ */ +#include <sys/cdefs.h> +__FBSDID("$FreeBSD$"); + /* * Copyright (c) 1998 The NetBSD Foundation, Inc. * All rights reserved. diff --git a/sys/dev/usb/usbdi.c b/sys/dev/usb/usbdi.c index 78c459f2a45d..b8f23ae9f5bc 100644 --- a/sys/dev/usb/usbdi.c +++ b/sys/dev/usb/usbdi.c @@ -1,11 +1,13 @@ /* $NetBSD: usbdi.c,v 1.100 2002/05/19 06:24:33 augustss Exp $ */ -/* $FreeBSD$ */ /* Also already have from NetBSD: * $NetBSD: usbdi.c,v 1.102 2002/07/11 21:14:35 augustss Exp $ * $NetBSD: usbdi.c,v 1.103 2002/09/27 15:37:38 provos Exp $ */ +#include <sys/cdefs.h> +__FBSDID("$FreeBSD$"); + /* * Copyright (c) 1998 The NetBSD Foundation, Inc. * All rights reserved. diff --git a/sys/dev/usb/usbdi_util.c b/sys/dev/usb/usbdi_util.c index 419b7e4018f3..636e99317843 100644 --- a/sys/dev/usb/usbdi_util.c +++ b/sys/dev/usb/usbdi_util.c @@ -1,5 +1,4 @@ /* $NetBSD: usbdi_util.c,v 1.36 2001/11/13 06:24:57 lukem Exp $ */ -/* $FreeBSD$ */ /* * Copyright (c) 1998 The NetBSD Foundation, Inc. @@ -38,6 +37,9 @@ * POSSIBILITY OF SUCH DAMAGE. */ +#include <sys/cdefs.h> +__FBSDID("$FreeBSD$"); + #include <sys/param.h> #include <sys/systm.h> #include <sys/kernel.h> diff --git a/sys/dev/usb/uscanner.c b/sys/dev/usb/uscanner.c index e3d275bcdcaf..cff0e434ff88 100644 --- a/sys/dev/usb/uscanner.c +++ b/sys/dev/usb/uscanner.c @@ -1,10 +1,12 @@ /* $NetBSD: uscanner.c,v 1.30 2002/07/11 21:14:36 augustss Exp$ */ -/* $FreeBSD$ */ /* Also already merged from NetBSD: * $NetBSD: uscanner.c,v 1.33 2002/09/23 05:51:24 simonb Exp $ */ +#include <sys/cdefs.h> +__FBSDID("$FreeBSD$"); + /* * Copyright (c) 2000 The NetBSD Foundation, Inc. * All rights reserved. diff --git a/sys/dev/usb/uvscom.c b/sys/dev/usb/uvscom.c index 0d2e137b03fb..7911210a956f 100644 --- a/sys/dev/usb/uvscom.c +++ b/sys/dev/usb/uvscom.c @@ -24,9 +24,11 @@ * OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF * SUCH DAMAGE. * - * $FreeBSD$ */ +#include <sys/cdefs.h> +__FBSDID("$FreeBSD$"); + /* * uvscom: SUNTAC Slipper U VS-10U driver. * Slipper U is a PC card to USB converter for data communication card |