libusb20.c (876d357fa7bc8aeb8d050dd8fe227dd4fd8ed4df) libusb20.c (5b40d9601c72fbb04f32437d529dbf51252dc31e)
1/* $FreeBSD$ */
2/*-
3 * Copyright (c) 2008-2009 Hans Petter Selasky. All rights reserved.
4 *
5 * Redistribution and use in source and binary forms, with or without
6 * modification, are permitted provided that the following conditions
7 * are met:
8 * 1. Redistributions of source code must retain the above copyright

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

596 pdev->is_opened = 0;
597
598 /*
599 * The following variable is only used by the libusb v0.1
600 * compat layer:
601 */
602 pdev->claimed_interface = 0;
603
1/* $FreeBSD$ */
2/*-
3 * Copyright (c) 2008-2009 Hans Petter Selasky. All rights reserved.
4 *
5 * Redistribution and use in source and binary forms, with or without
6 * modification, are permitted provided that the following conditions
7 * are met:
8 * 1. Redistributions of source code must retain the above copyright

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

596 pdev->is_opened = 0;
597
598 /*
599 * The following variable is only used by the libusb v0.1
600 * compat layer:
601 */
602 pdev->claimed_interface = 0;
603
604 /*
605 * The following variable is only used by the libusb v1.0
606 * compat layer:
607 */
608 pdev->auto_detach = 0;
609
604 return (error);
605}
606
607int
608libusb20_dev_detach_kernel_driver(struct libusb20_device *pdev, uint8_t ifaceIndex)
609{
610 int error;
611

--- 727 unchanged lines hidden ---
610 return (error);
611}
612
613int
614libusb20_dev_detach_kernel_driver(struct libusb20_device *pdev, uint8_t ifaceIndex)
615{
616 int error;
617

--- 727 unchanged lines hidden ---