Changeset View
Changeset View
Standalone View
Standalone View
sys/dev/usb/controller/generic_ohci.h
/*- | |||||
* | |||||
* SPDX-License-Identifier: BSD-2-Clause | |||||
* | |||||
* Copyright (c) 2023 Sergey Tyuryukanov <s199p.wa1k9r@gmail.com> | |||||
* | |||||
* All rights reserved. | |||||
imp: You likely don't need / want this. It's obsolete language invoking a treaty that's been defunct… | |||||
* | |||||
* 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. | |||||
* | |||||
impUnsubmitted Done Inline ActionsYou can now omit boilerplate for standard licenses. That's preferred since it reduces the proliferation on minor variation due to copying from different sources and minor 'tweaks' made with the best of intentions, but that have lead to a morass... imp: You can now omit boilerplate for standard licenses. That's preferred since it reduces the… | |||||
* $FreeBSD$ | |||||
impUnsubmitted Done Inline ActionsYou don't need $FreeBSD$ anymore. We're phasing it out. Since this will never be merged to stable/12, it's not needed (and even if it is going there, since we're not doing any further releases in stable/12, that's likely OK). imp: You don't need $FreeBSD$ anymore. We're phasing it out. Since this will never be merged to… | |||||
*/ | |||||
#ifndef _GENERIC_OHCI_H_ | |||||
#define _GENERIC_OHCI_H_ | |||||
extern driver_t generic_ohci_driver; | |||||
device_attach_t generic_ohci_attach; | |||||
device_detach_t generic_ohci_detach; | |||||
andrewUnsubmitted Done Inline ActionsAre these needed? I don't see any other use to generic_ohci_attach and generic_ohci_detach in this change. andrew: Are these needed? I don't see any other use to `generic_ohci_attach` and `generic_ohci_detach`… | |||||
#endif /* !_GENERIC_OHCI_H_ */ |
You likely don't need / want this. It's obsolete language invoking a treaty that's been defunct for 2 decades.