Upstream Source =============== aacraid.h, atacmdnames.cpp, atacmdnames.h, atacmds.cpp, atacmds.h, ataidentify.cpp, ataidentify.h, ataprint.cpp, ataprint.h, cciss.cpp, cciss.h, dev_areca.cpp, dev_areca.h, dev_ata_cmd_set.cpp, dev_ata_cmd_set.h, dev_intelliprop.cpp, dev_interface.cpp, dev_interface.h, dev_legacy.cpp, dev_tunnelled.h, drivedb.h, json.cpp, json.h, knowndrives.cpp, knowndrives.h, megaraid.h, nvmecmds.cpp, nvmeprint.cpp, nvmeprint.h, os_darwin.cpp, os_darwin.h, os_freebsd.cpp, os_generic.cpp, os_generic.h, os_netbsd.cpp, os_netbsd.h, os_os2.cpp, os_os2.h, os_qnxnto.cpp, os_qnxnto.h, os_solaris.cpp, os_solaris.h, scsicmds.cpp, scsicmds.h, scsinvme.cpp, scsiprint.cpp, scsiprint.h, smartctl.cpp, smartctl.h, smartd.cpp, static_assert.h, utility.cpp, utility.h -------------------------------------------------------------------------------- Home page of code is: https://www.smartmontools.org Copyright (C) 2014 Raghava Aditya Copyright (C) 2002-12 Bruce Allen Copyright (C) 2016 Casey Biemiller Copyright (C) 2008 Oliver Bock Copyright (C) 1999-2000 Michael Cornwell Copyright (C) 2004-8 Yuri Dario Copyright (C) 2003-15 Casper Dik Copyright (C) 2008-20 Christian Franke Copyright (C) 2003-20 Douglas Gilbert Copyright (C) 2008 Jordan Hargrave Copyright (C) 2000 Andre Hedrick Copyright (C) 2007 Joerg Hering Copyright (C) 2004-8 Geoffrey Keating Copyright (C) 2003-08 SAWADA Keiji Copyright (C) 2015 Nidhi Malhotra Copyright (C) 2018 Harry Mallon Copyright (C) 2003-10 Eduard Martinescu Copyright (C) 2016 Kimihiro Nonaka Copyright (C) 2014 Alex Samorukov Copyright (C) 2003-8 Sergey Svishchev Copyright (C) 2003-08 Philip Williams Copyright (C) 2003-11 Philip Williams, Bruce Allen Copyright (C) 2012 Hank Wu SPDX-License-Identifier: GPL-2.0-or-later On this system, a copy of the GNU General Public License may be found at . cissio_freebsd.h ---------------- Copyright (c) 2001 Michael Smith 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. $FreeBSD: src/sys/dev/ciss/cissio.h,v 1.6.2.1.6.1 2010/12/21 17:09:25 kensmith Exp $ dev_jmb39x_raid.cpp ------------------- Home page of code is: https://www.smartmontools.org Copyright (C) 2019-20 Christian Franke Based on JMraidcon (same license): Copyright (C) 2010 Werner Johansson http://git.xnk.nu/?p=JMraidcon.git https://github.com/Vlad1mir-D/JMraidcon SPDX-License-Identifier: GPL-2.0-or-later On this system, a copy of the GNU General Public License may be found at . freebsd_nvme_ioctl.h -------------------- Copyright (C) 2012-2013 Intel Corporation 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. $FreeBSD$ getopt/bits/getopt_core.h, getopt/bits/getopt_ext.h, getopt/getopt.c, getopt/getopt.h, getopt/getopt1.c, getopt/getopt_int.h, regex/regcomp.c, regex/regex.c, regex/regex.h, regex/regex_internal.c, regex/regex_internal.h, regex/regexec.c ------------------------------------------------------------------- Copyright (C) 1985, 1987-2018 Free Software Foundation, Inc. This file is part of the GNU C Library. The GNU C Library is free software; you can redistribute it and/or modify it under the terms of the GNU Lesser General Public License as published by the Free Software Foundation; either version 2.1 of the License, or (at your option) any later version. The GNU C Library is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU Lesser General Public License for more details. You should have received a copy of the GNU Lesser General Public License along with the GNU C Library; if not, see . On this system, a copy of the GNU Lesser General Public License may be found at . netbsd_nvme_ioctl.h ------------------- Copyright (c) 2014 David Gwynne Permission to use, copy, modify, and distribute this software for any purpose with or without fee is hereby granted, provided that the above copyright notice and this permission notice appear in all copies. THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR DISCLAIMS ALL WARRANTIES WITH REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR ANY SPECIAL, DIRECT, INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES WHATSOEVER RESULTING FROM LOSS OF USE, DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE. Copyright (C) 2012-2013 Intel Corporation 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. $FreeBSD$ linux_nvme_ioctl.h ------------------ SPDX-License-Identifier: GPL-2.0 WITH Linux-syscall-note Definitions for the NVM Express ioctl interface Copyright (c) 2011-2014, Intel Corporation. On this system, a copy of the GNU General Public License may be found at . nvmecmds.h ---------- Home page of code is: https://www.smartmontools.org Copyright (C) 2016-20 Christian Franke Original code from : Copyright (C) 2011-2014 Intel Corporation SPDX-License-Identifier: GPL-2.0-or-later On this system, a copy of the GNU General Public License may be found at . os_freebsd.h ------------ Home page of code is: http://www.smartmontools.org Copyright (C) 2003-8 Eduard Martinescu SPDX-License-Identifier: GPL-2.0-or-later Copyright (c) 2000 Michael Smith Copyright (c) 2003 Paul Saab Copyright (c) 2003 Vinod Kashyap Copyright (c) 2000 BSDi 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. Copyright (c) 2004-05 Applied Micro Circuits Corporation. Copyright (c) 2004-05 Vinod Kashyap 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. On this system, a copy of the GNU General Public License may be found at . os_linux.cpp ------------ Home page of code is: https://www.smartmontools.org Copyright (C) 2003-11 Bruce Allen Copyright (C) 2003-11 Doug Gilbert Copyright (C) 2008-20 Christian Franke Original AACRaid code: Copyright (C) 2014 Raghava Aditya Original Areca code: Copyright (C) 2008-12 Hank Wu Copyright (C) 2008 Oliver Bock Original MegaRAID code: Copyright (C) 2008 Jordan Hargrave 3ware code was derived from code that was: Written By: Adam Radford Modifications By: Joel Jacobson Arnaldo Carvalho de Melo Brad Strand Copyright (C) 1999-2003 3ware Inc. Kernel compatibility By: Andre Hedrick Non-Copyright (C) 2000 Andre Hedrick Other ars of this file are derived from code that was Copyright (C) 1999-2000 Michael Cornwell Copyright (C) 2000 Andre Hedrick SPDX-License-Identifier: GPL-2.0-or-later On this system, a copy of the GNU General Public License may be found at . os_linux.h ---------- Home page of code is: http://www.smartmontools.org Copyright (C) 2003-8 Bruce Allen Derived from code that was Written By: Adam Radford Modifications By: Joel Jacobson Arnaldo Carvalho de Melo Brad Strand Copyright (C) 1999-2003 3ware Inc. Kernel compatibility By: Andre Hedrick Non-Copyright (C) 2000 Andre Hedrick SPDX-License-Identifier: GPL-2.0-or-later The following definitions are from hdreg.h in the kernel source tree. They don't carry any Copyright statements, but I think they are primarily from Mark Lord and Andre Hedrick. On this system, a copy of the GNU General Public License may be found at . os_openbsd.cpp -------------- Home page of code is: https://www.smartmontools.org Copyright (C) 2004-10 David Snyder Derived from os_netbsd.cpp by Sergey Svishchev, Copyright (C) 2003-8 SPDX-License-Identifier: GPL-2.0-or-later On this system, a copy of the GNU General Public License may be found at . os_openbsd.h ------------ Home page of code is: http://www.smartmontools.org Copyright (C) 2004-8 David Snyder Derived from os_netbsd.c by Sergey Svishchev, Copyright (C) 2003-8 SPDX-License-Identifier: GPL-2.0-or-later On this system, a copy of the GNU General Public License may be found at . scsiata.cpp ----------- Home page of code is: https://www.smartmontools.org Copyright (C) 2006-15 Douglas Gilbert Copyright (C) 2009-20 Christian Franke SPDX-License-Identifier: GPL-2.0-or-later Next two functions are borrowed from sg_lib.c in the sg3_utils package. Same copyrght owner, same license as this file. On this system, a copy of the GNU General Public License may be found at . sg_unaligned.h -------------- Copyright (c) 2014-2018 Douglas Gilbert. 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 COPYRIGHT HOLDERS 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 COPYRIGHT OWNER 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. Above is the: SPDX-License-Identifier: BSD-2-Clause Distribution Packaging ====================== Copyright (C) 2019, 2021 Patrick McDermott This software is licensed under the Expat license, which on this system may be found at .