1*10128SFei.Feng@Sun.COM/*- 2*10128SFei.Feng@Sun.COM * Copyright (c) 2006 Sam Leffler, Errno Consulting 3*10128SFei.Feng@Sun.COM * Copyright (c) 2008-2009 Weongyo Jeong <weongyo@freebsd.org> 4*10128SFei.Feng@Sun.COM * All rights reserved. 5*10128SFei.Feng@Sun.COM * 6*10128SFei.Feng@Sun.COM * Redistribution and use in source and binary forms, with or without 7*10128SFei.Feng@Sun.COM * modification, are permitted provided that the following conditions 8*10128SFei.Feng@Sun.COM * are met: 9*10128SFei.Feng@Sun.COM * 1. Redistributions of source code must retain the above copyright 10*10128SFei.Feng@Sun.COM * notice, this list of conditions and the following disclaimer, 11*10128SFei.Feng@Sun.COM * without modification. 12*10128SFei.Feng@Sun.COM * 2. Redistributions in binary form must reproduce at minimum a disclaimer 13*10128SFei.Feng@Sun.COM * similar to the "NO WARRANTY" disclaimer below ("Disclaimer") and any 14*10128SFei.Feng@Sun.COM * redistribution must be conditioned upon including a substantially 15*10128SFei.Feng@Sun.COM * similar Disclaimer requirement for further binary redistribution. 16*10128SFei.Feng@Sun.COM * 17*10128SFei.Feng@Sun.COM * NO WARRANTY 18*10128SFei.Feng@Sun.COM * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS 19*10128SFei.Feng@Sun.COM * ``AS IS'' AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT 20*10128SFei.Feng@Sun.COM * LIMITED TO, THE IMPLIED WARRANTIES OF NONINFRINGEMENT, MERCHANTIBILITY 21*10128SFei.Feng@Sun.COM * AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL 22*10128SFei.Feng@Sun.COM * THE COPYRIGHT HOLDERS OR CONTRIBUTORS BE LIABLE FOR SPECIAL, EXEMPLARY, 23*10128SFei.Feng@Sun.COM * OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF 24*10128SFei.Feng@Sun.COM * SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS 25*10128SFei.Feng@Sun.COM * INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER 26*10128SFei.Feng@Sun.COM * IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) 27*10128SFei.Feng@Sun.COM * ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF 28*10128SFei.Feng@Sun.COM * THE POSSIBILITY OF SUCH DAMAGES. 29*10128SFei.Feng@Sun.COM */ 30*10128SFei.Feng@Sun.COM 31*10128SFei.Feng@Sun.COM/* 32*10128SFei.Feng@Sun.COM * This driver is distantly derived from a driver of the same name 33*10128SFei.Feng@Sun.COM * by Damien Bergamini. The original copyright is included below: 34*10128SFei.Feng@Sun.COM * 35*10128SFei.Feng@Sun.COM * Copyright (c) 2006 36*10128SFei.Feng@Sun.COM * Damien Bergamini <damien.bergamini@free.fr> 37*10128SFei.Feng@Sun.COM * 38*10128SFei.Feng@Sun.COM * Permission to use, copy, modify, and distribute this software for any 39*10128SFei.Feng@Sun.COM * purpose with or without fee is hereby granted, provided that the above 40*10128SFei.Feng@Sun.COM * copyright notice and this permission notice appear in all copies. 41*10128SFei.Feng@Sun.COM * 42*10128SFei.Feng@Sun.COM * THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR DISCLAIMS ALL WARRANTIES 43*10128SFei.Feng@Sun.COM * WITH REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF 44*10128SFei.Feng@Sun.COM * MERCHANTABILITY AND FITNESS. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR 45*10128SFei.Feng@Sun.COM * ANY SPECIAL, DIRECT, INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES 46*10128SFei.Feng@Sun.COM * WHATSOEVER RESULTING FROM LOSS OF USE, DATA OR PROFITS, WHETHER IN AN 47*10128SFei.Feng@Sun.COM * ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF 48*10128SFei.Feng@Sun.COM * OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE. 49*10128SFei.Feng@Sun.COM */ 50