110893SQuaker.Fang@Sun.COM/* 210893SQuaker.Fang@Sun.COM * Sun elects to have this file available under and governed by the BSD license 310893SQuaker.Fang@Sun.COM * (see below for full license text). However, the following notice 410893SQuaker.Fang@Sun.COM * accompanied the original version of this file: 510893SQuaker.Fang@Sun.COM */ 610893SQuaker.Fang@Sun.COM 710893SQuaker.Fang@Sun.COM/* 810893SQuaker.Fang@Sun.COM * Copyright (c) 2006 910893SQuaker.Fang@Sun.COM * Copyright (c) 2007 1010893SQuaker.Fang@Sun.COM * Damien Bergamini <damien.bergamini@free.fr> 1110893SQuaker.Fang@Sun.COM * 1210893SQuaker.Fang@Sun.COM * Permission to use, copy, modify, and distribute this software for any 1310893SQuaker.Fang@Sun.COM * purpose with or without fee is hereby granted, provided that the above 1410893SQuaker.Fang@Sun.COM * copyright notice and this permission notice appear in all copies. 1510893SQuaker.Fang@Sun.COM * 1610893SQuaker.Fang@Sun.COM * THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR DISCLAIMS ALL WARRANTIES 1710893SQuaker.Fang@Sun.COM * WITH REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF 1810893SQuaker.Fang@Sun.COM * MERCHANTABILITY AND FITNESS. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR 1910893SQuaker.Fang@Sun.COM * ANY SPECIAL, DIRECT, INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES 2010893SQuaker.Fang@Sun.COM * WHATSOEVER RESULTING FROM LOSS OF USE, DATA OR PROFITS, WHETHER IN AN 2110893SQuaker.Fang@Sun.COM * ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF 2210893SQuaker.Fang@Sun.COM * OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE. 2310893SQuaker.Fang@Sun.COM */ 2410893SQuaker.Fang@Sun.COM 2510893SQuaker.Fang@Sun.COM/* 26*11193SQuaker.Fang@Sun.COM * This file is provided under a dual BSD/GPLv2 license. When using or 27*11193SQuaker.Fang@Sun.COM * redistributing this file, you may do so under either license. 28*11193SQuaker.Fang@Sun.COM * 29*11193SQuaker.Fang@Sun.COM * GPL LICENSE SUMMARY 30*11193SQuaker.Fang@Sun.COM * 31*11193SQuaker.Fang@Sun.COM * Copyright(c) 2005 - 2009 Intel Corporation. All rights reserved. 32*11193SQuaker.Fang@Sun.COM * 33*11193SQuaker.Fang@Sun.COM * This program is free software; you can redistribute it and/or modify 34*11193SQuaker.Fang@Sun.COM * it under the terms of version 2 of the GNU General Public License as 35*11193SQuaker.Fang@Sun.COM * published by the Free Software Foundation. 36*11193SQuaker.Fang@Sun.COM * 37*11193SQuaker.Fang@Sun.COM * This program is distributed in the hope that it will be useful, but 38*11193SQuaker.Fang@Sun.COM * WITHOUT ANY WARRANTY; without even the implied warranty of 39*11193SQuaker.Fang@Sun.COM * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU 40*11193SQuaker.Fang@Sun.COM * General Public License for more details. 41*11193SQuaker.Fang@Sun.COM * 42*11193SQuaker.Fang@Sun.COM * You should have received a copy of the GNU General Public License 43*11193SQuaker.Fang@Sun.COM * along with this program; if not, write to the Free Software 44*11193SQuaker.Fang@Sun.COM * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110, 45*11193SQuaker.Fang@Sun.COM * USA 46*11193SQuaker.Fang@Sun.COM * 47*11193SQuaker.Fang@Sun.COM * The full GNU General Public License is included in this distribution 48*11193SQuaker.Fang@Sun.COM * in the file called LICENSE.GPL. 49*11193SQuaker.Fang@Sun.COM * 50*11193SQuaker.Fang@Sun.COM * Contact Information: 51*11193SQuaker.Fang@Sun.COM * James P. Ketrenos <ipw2100-admin@linux.intel.com> 52*11193SQuaker.Fang@Sun.COM * Intel Corporation, 5200 N.E. Elam Young Parkway, Hillsboro, OR 97124-6497 53*11193SQuaker.Fang@Sun.COM * 5410893SQuaker.Fang@Sun.COM * BSD LICENSE 5510893SQuaker.Fang@Sun.COM * 5610893SQuaker.Fang@Sun.COM * Copyright(c) 2005 - 2009 Intel Corporation. All rights reserved. 5710893SQuaker.Fang@Sun.COM * All rights reserved. 5810893SQuaker.Fang@Sun.COM * 5910893SQuaker.Fang@Sun.COM * Redistribution and use in source and binary forms, with or without 6010893SQuaker.Fang@Sun.COM * modification, are permitted provided that the following conditions 6110893SQuaker.Fang@Sun.COM * are met: 6210893SQuaker.Fang@Sun.COM * 6310893SQuaker.Fang@Sun.COM * * Redistributions of source code must retain the above copyright 6410893SQuaker.Fang@Sun.COM * notice, this list of conditions and the following disclaimer. 6510893SQuaker.Fang@Sun.COM * * Redistributions in binary form must reproduce the above copyright 6610893SQuaker.Fang@Sun.COM * notice, this list of conditions and the following disclaimer in 6710893SQuaker.Fang@Sun.COM * the documentation and/or other materials provided with the 6810893SQuaker.Fang@Sun.COM * distribution. 6910893SQuaker.Fang@Sun.COM * * Neither the name Intel Corporation nor the names of its 7010893SQuaker.Fang@Sun.COM * contributors may be used to endorse or promote products derived 7110893SQuaker.Fang@Sun.COM * from this software without specific prior written permission. 7210893SQuaker.Fang@Sun.COM * 7310893SQuaker.Fang@Sun.COM * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS 7410893SQuaker.Fang@Sun.COM * "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT 7510893SQuaker.Fang@Sun.COM * LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR 7610893SQuaker.Fang@Sun.COM * A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT 7710893SQuaker.Fang@Sun.COM * OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, 7810893SQuaker.Fang@Sun.COM * SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT 7910893SQuaker.Fang@Sun.COM * LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, 8010893SQuaker.Fang@Sun.COM * DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY 8110893SQuaker.Fang@Sun.COM * THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT 8210893SQuaker.Fang@Sun.COM * (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE 8310893SQuaker.Fang@Sun.COM * OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. 8410893SQuaker.Fang@Sun.COM */ 8510893SQuaker.Fang@Sun.COM 86