Copyright (c) 2000, 2001 William L. Pitts Copyright (c) 2003-2007, 2010 Cavium Inc., Inc. Copyright (c) Orbacom Systems, Inc 4: * All rights reserved. 5: * 6: * Redistribution and use in source and binary forms are freely 7: * permitted provided that the above copyright notice and this 8: * paragraph and the following disclaimer are duplicated in all 9: * such forms. 10: * 11: * This software is provided "AS IS" and without any express or 12: * implied warranties, including, without limitation, the implied 13: * warranties of merchantability and fitness for a particular 14: * purpose. Copyright (c) 2003-2013 Cavium Networks (support@cavium.com). All rights 3: * reserved. 4: * 5: * 6: * Redistribution and use in source and binary forms, with or without 7: * modification, are permitted provided that the following conditions are 8: * met: 9: * 10: * * Redistributions of source code must retain the above copyright 11: * notice, this list of conditions and the following disclaimer. 12: * 13: * * Redistributions in binary form must reproduce the above 14: * copyright notice, this list of conditions and the following 15: * disclaimer in the documentation and/or other materials provided 16: * with the distribution. 17: * 18: * * Neither the name of Cavium Inc. nor the names of 19: * its contributors may be used to endorse or promote products 20: * derived from this software without specific prior written 21: * permission. 22: * 23: * TO THE MAXIMUM EXTENT PERMITTED BY LAW, THE SOFTWARE IS PROVIDED "AS IS" 24: * AND WITH ALL FAULTS AND CAVIUM INC. MAKES NO PROMISES, REPRESENTATIONS 25: * OR WARRANTIES, EITHER EXPRESS, IMPLIED, STATUTORY, OR OTHERWISE, WITH 26: * RESPECT TO THE SOFTWARE, INCLUDING ITS CONDITION, ITS CONFORMITY TO ANY 27: * REPRESENTATION OR DESCRIPTION, OR THE EXISTENCE OF ANY LATENT OR PATENT 28: * DEFECTS, AND CAVIUM SPECIFICALLY DISCLAIMS ALL IMPLIED (IF ANY) WARRANTIES 29: * OF TITLE, MERCHANTABILITY, NONINFRINGEMENT, FITNESS FOR A PARTICULAR 30: * PURPOSE, LACK OF VIRUSES, ACCURACY OR COMPLETENESS, QUIET ENJOYMENT, QUIET 31: * POSSESSION OR CORRESPONDENCE TO DESCRIPTION. THE ENTIRE RISK ARISING OUT 32: * OF USE OR PERFORMANCE OF THE SOFTWARE LIES WITH YOU. Copyright (c) 1993 Herb Peyerl (hpeyerl@novatel.ca) All rights reserved. 3: * 4: * Redistribution and use in source and binary forms, with or without 5: * modification, are permitted provided that the following conditions are 6: * met: 1. Redistributions of source code must retain the above copyright 7: * notice, this list of conditions and the following disclaimer. 2. The name 8: * of the author may not be used to endorse or promote products derived from 9: * this software without specific prior written permission 10: * 11: * THIS SOFTWARE IS PROVIDED BY THE AUTHOR ``AS IS'' AND ANY EXPRESS OR IMPLIED 12: * WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF 13: * MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO 14: * EVENT SHALL THE AUTHOR BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, 15: * SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED 16: * TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR 17: * PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF 18: * LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING 19: * NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS 20: * SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. Copyright (c) 1992, 1993 3: *The Regents of the University of California. 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 9: * notice, this list of conditions and the following disclaimer. 10: * 2. Redistributions in binary form must reproduce the above copyright 11: * notice, this list of conditions and the following disclaimer in the 12: * documentation and/or other materials provided with the distribution. 13: * 3. Neither the name of the University nor the names of its contributors 14: * may be used to endorse or promote products derived from this software 15: * without specific prior written permission. 16: * 17: * THIS SOFTWARE IS PROVIDED BY THE REGENTS AND CONTRIBUTORS ``AS IS'' AND 18: * ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE 19: * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE 20: * ARE DISCLAIMED. IN NO EVENT SHALL THE REGENTS OR CONTRIBUTORS BE LIABLE 21: * FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL 22: * DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS 23: * OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) 24: * HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT 25: * LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY 26: * OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF 27: * SUCH DAMAGE. (C) Copyright 2007-2008 Semihalf Copyright (C) 2006 David Gibson, IBM Corporation. 3: * 4: * Written by: Rafal Jaworowski 5: * 6: * This file is dual licensed; you can use it under the terms of 7: * either the GPL, or the BSD license, at your option. 8: * 9: * I. GPL: 10: * 11: * This file is free software; you can redistribute it and/or 12: * modify it under the terms of the GNU General Public License as 13: * published by the Free Software Foundation; either version 2 of 14: * the License, or (at your option) any later version. 15: * 16: * This file is distributed in the hope that it will be useful, 17: * but WITHOUT ANY WARRANTY; without even the implied warranty of 18: * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the 19: * GNU General Public License for more details. 20: * 21: * You should have received a copy of the GNU General Public License 22: * along with this program; if not, write to the Free Software 23: * Foundation, Inc., 59 Temple Place, Suite 330, Boston, 24: * MA 02111-1307 USA 25: * 26: * Alternatively, 27: * 28: * II. BSD license: 29: * 30: * Redistribution and use in source and binary forms, with or without 31: * modification, are permitted provided that the following conditions 32: * are met: 33: * 1. Redistributions of source code must retain the above copyright 34: * notice, this list of conditions and the following disclaimer. 35: * 2. Redistributions in binary form must reproduce the above copyright 36: * notice, this list of conditions and the following disclaimer in the 37: * documentation and/or other materials provided with the distribution. 38: * 39: * THIS SOFTWARE IS PROVIDED BY THE AUTHOR AND CONTRIBUTORS ``AS IS'' AND 40: * ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE 41: * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE 42: * ARE DISCLAIMED. IN NO EVENT SHALL THE AUTHOR OR CONTRIBUTORS BE LIABLE 43: * FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL 44: * DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS 45: * OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) 46: * HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT 47: * LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY 48: * OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF 49: * SUCH DAMAGE. Copyright (C) 1996-2002 Julian R Seward. All rights reserved. 16: 17: Redistribution and use in source and binary forms, with or without 18: modification, are permitted provided that the following conditions 19: are met: 20: 21: 1. Redistributions of source code must retain the above copyright 22: notice, this list of conditions and the following disclaimer. 23: 24: 2. The origin of this software must not be misrepresented; you must 25: not claim that you wrote the original software. If you use this 26: software in a product, an acknowledgment in the product 27: documentation would be appreciated but is not required. 28: 29: 3. Altered source versions must be plainly marked as such, and must 30: not be misrepresented as being the original software. 31: 32: 4. The name of the author may not be used to endorse or promote 33: products derived from this software without specific prior written 34: permission. 35: 36: THIS SOFTWARE IS PROVIDED BY THE AUTHOR ``AS IS'' AND ANY EXPRESS 37: OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED 38: WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE 39: ARE DISCLAIMED. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR ANY 40: DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL 41: DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE 42: GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS 43: INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, 44: WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING 45: NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS 46: SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. Copyright (c) 1995, 1996, 2001, 2002 3: * Erik Theisen. 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 9: * notice, this list of conditions and the following disclaimer. 10: * 2. Redistributions in binary form must reproduce the above copyright 11: * notice, this list of conditions and the following disclaimer in the 12: * documentation and/or other materials provided with the distribution. 13: * 3. The name of the author may not be used to endorse or promote products 14: * derived from this software without specific prior written permission 15: * 16: * THIS SOFTWARE IS PROVIDED BY THE AUTHOR ``AS IS'' AND ANY EXPRESS OR 17: * IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES 18: * OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. 19: * IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR ANY DIRECT, INDIRECT, 20: * INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT 21: * NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, 22: * DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY 23: * THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT 24: * (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF 25: * THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.