Deleted Added
full compact
libusb10.c (301966) libusb10.c (301969)
1/* $FreeBSD: head/lib/libusb/libusb10.c 301966 2016-06-16 14:26:04Z hselasky $ */
1/* $FreeBSD: head/lib/libusb/libusb10.c 301969 2016-06-16 16:26:16Z hselasky $ */
2/*-
3 * Copyright (c) 2009 Sylvestre Gallon. All rights reserved.
4 * Copyright (c) 2009 Hans Petter Selasky. All rights reserved.
5 *
6 * Redistribution and use in source and binary forms, with or without
7 * modification, are permitted provided that the following conditions
8 * are met:
9 * 1. Redistributions of source code must retain the above copyright

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

885 /* stub - currently not supported by libusb20 */
886 return (0);
887}
888
889int
890libusb_set_auto_detach_kernel_driver(libusb_device_handle *dev, int enable)
891{
892 dev->auto_detach = (enable ? 1 : 0);
2/*-
3 * Copyright (c) 2009 Sylvestre Gallon. All rights reserved.
4 * Copyright (c) 2009 Hans Petter Selasky. All rights reserved.
5 *
6 * Redistribution and use in source and binary forms, with or without
7 * modification, are permitted provided that the following conditions
8 * are met:
9 * 1. Redistributions of source code must retain the above copyright

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

885 /* stub - currently not supported by libusb20 */
886 return (0);
887}
888
889int
890libusb_set_auto_detach_kernel_driver(libusb_device_handle *dev, int enable)
891{
892 dev->auto_detach = (enable ? 1 : 0);
893 return (0);
893}
894
895/* Asynchronous device I/O */
896
897struct libusb_transfer *
898libusb_alloc_transfer(int iso_packets)
899{
900 struct libusb_transfer *uxfer;

--- 727 unchanged lines hidden ---
894}
895
896/* Asynchronous device I/O */
897
898struct libusb_transfer *
899libusb_alloc_transfer(int iso_packets)
900{
901 struct libusb_transfer *uxfer;

--- 727 unchanged lines hidden ---