From owner-p4-projects@FreeBSD.ORG Sun Apr 19 16:33:05 2009 Return-Path: Delivered-To: p4-projects@freebsd.org Received: by hub.freebsd.org (Postfix, from userid 32767) id 9784B106566C; Sun, 19 Apr 2009 16:33:04 +0000 (UTC) Delivered-To: perforce@FreeBSD.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 582DD106564A for ; Sun, 19 Apr 2009 16:33:04 +0000 (UTC) (envelope-from hselasky@FreeBSD.org) Received: from repoman.freebsd.org (repoman.freebsd.org [IPv6:2001:4f8:fff6::29]) by mx1.freebsd.org (Postfix) with ESMTP id 4534E8FC08 for ; Sun, 19 Apr 2009 16:33:04 +0000 (UTC) (envelope-from hselasky@FreeBSD.org) Received: from repoman.freebsd.org (localhost [127.0.0.1]) by repoman.freebsd.org (8.14.3/8.14.3) with ESMTP id n3JGX4Dm062606 for ; Sun, 19 Apr 2009 16:33:04 GMT (envelope-from hselasky@FreeBSD.org) Received: (from perforce@localhost) by repoman.freebsd.org (8.14.3/8.14.3/Submit) id n3JGX4uJ062604 for perforce@freebsd.org; Sun, 19 Apr 2009 16:33:04 GMT (envelope-from hselasky@FreeBSD.org) Date: Sun, 19 Apr 2009 16:33:04 GMT Message-Id: <200904191633.n3JGX4uJ062604@repoman.freebsd.org> X-Authentication-Warning: repoman.freebsd.org: perforce set sender to hselasky@FreeBSD.org using -f From: Hans Petter Selasky To: Perforce Change Reviews Cc: Subject: PERFORCE change 160819 for review X-BeenThere: p4-projects@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: p4 projects tree changes List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 19 Apr 2009 16:33:05 -0000 http://perforce.freebsd.org/chv.cgi?CH=160819 Change 160819 by hselasky@hselasky_laptop001 on 2009/04/19 16:32:31 Initial libusb v1.0 support patch from Sylvestre Gallon. Affected files ... .. //depot/projects/usb/src/lib/libusb/Makefile#2 edit .. //depot/projects/usb/src/lib/libusb/libusb.3#4 edit .. //depot/projects/usb/src/lib/libusb/libusb.h#1 add .. //depot/projects/usb/src/lib/libusb/libusb10.c#1 add .. //depot/projects/usb/src/lib/libusb/libusb10_desc.c#1 add .. //depot/projects/usb/src/lib/libusb/libusb20_compat10.c#2 edit .. //depot/projects/usb/src/lib/libusb/libusb20_compat10.h#2 edit Differences ... ==== //depot/projects/usb/src/lib/libusb/Makefile#2 (text+ko) ==== @@ -10,8 +10,6 @@ SRCS= libusb20.c SRCS+= libusb20_desc.c SRCS+= libusb20_ugen20.c -SRCS+= libusb20_compat01.c -SRCS+= libusb20_compat10.c INCS+= libusb20.h INCS+= libusb20_desc.h MAN= libusb.3 @@ -23,6 +21,13 @@ # libusb 0.1 compat INCS+= usb.h +SRCS+= libusb20_compat01.c + +# libusb 1.0 compat +SRCS+= libusb10.c +SRCS+= libusb10_desc.c +INCS+= libusb.h +MAN+= libusb10.3 .include ==== //depot/projects/usb/src/lib/libusb/libusb.3#4 (text+ko) ==== @@ -945,6 +945,7 @@ . /dev/usb .Sh SEE ALSO +.Xr libusb10 3 , .Xr usb2_core 4 , .Xr usbconfig 8 . ==== //depot/projects/usb/src/lib/libusb/libusb20_compat10.c#2 (text+ko) ==== @@ -1,29 +1,0 @@ -/* $FreeBSD: src/lib/libusb/libusb20_compat10.c,v 1.1 2009/03/09 17:09:46 thompsa Exp $ */ -/*- - * Copyright (c) 2008 Hans Petter Selasky. All rights reserved. - * - * Redistribution and use in source and binary forms, with or without - * modification, are permitted provided that the following conditions - * are met: - * 1. Redistributions of source code must retain the above copyright - * notice, this list of conditions and the following disclaimer. - * 2. Redistributions in binary form must reproduce the above copyright - * notice, this list of conditions and the following disclaimer in the - * documentation and/or other materials provided with the distribution. - * - * THIS SOFTWARE IS PROVIDED BY THE AUTHOR AND CONTRIBUTORS ``AS IS'' AND - * ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE - * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE - * ARE DISCLAIMED. IN NO EVENT SHALL THE AUTHOR OR CONTRIBUTORS BE LIABLE - * FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL - * DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS - * OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) - * HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN 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. - */ - -/* - * This file contains the emulation layer for LibUSB v1.0 from sourceforge. - */ ==== //depot/projects/usb/src/lib/libusb/libusb20_compat10.h#2 (text+ko) ==== @@ -1,25 +1,0 @@ -/* $FreeBSD: src/lib/libusb/libusb20_compat10.h,v 1.1 2009/03/09 17:09:46 thompsa Exp $ */ -/*- - * Copyright (c) 2008 Hans Petter Selasky. All rights reserved. - * - * Redistribution and use in source and binary forms, with or without - * modification, are permitted provided that the following conditions - * are met: - * 1. Redistributions of source code must retain the above copyright - * notice, this list of conditions and the following disclaimer. - * 2. Redistributions in binary form must reproduce the above copyright - * notice, this list of conditions and the following disclaimer in the - * documentation and/or other materials provided with the distribution. - * - * THIS SOFTWARE IS PROVIDED BY THE AUTHOR AND CONTRIBUTORS ``AS IS'' AND - * ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE - * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE - * ARE DISCLAIMED. IN NO EVENT SHALL THE AUTHOR OR CONTRIBUTORS BE LIABLE - * FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL - * DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS - * OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) - * HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN 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. - */