1*10741SFei.Feng@Sun.COM/* 2*10741SFei.Feng@Sun.COM * Copyright (c) 2007-2009 Sam Leffler, Errno Consulting 3*10741SFei.Feng@Sun.COM * Copyright (c) 2007-2009 Marvell Semiconductor, Inc. 4*10741SFei.Feng@Sun.COM * All rights reserved. 5*10741SFei.Feng@Sun.COM * 6*10741SFei.Feng@Sun.COM * Redistribution and use in source and binary forms, with or without 7*10741SFei.Feng@Sun.COM * modification, are permitted provided that the following conditions 8*10741SFei.Feng@Sun.COM * are met: 9*10741SFei.Feng@Sun.COM * 1. Redistributions of source code must retain the above copyright 10*10741SFei.Feng@Sun.COM * notice, this list of conditions and the following disclaimer, 11*10741SFei.Feng@Sun.COM * without modification. 12*10741SFei.Feng@Sun.COM * 2. Redistributions in binary form must reproduce at minimum a disclaimer 13*10741SFei.Feng@Sun.COM * similar to the "NO WARRANTY" disclaimer below ("Disclaimer") and any 14*10741SFei.Feng@Sun.COM * redistribution must be conditioned upon including a substantially 15*10741SFei.Feng@Sun.COM * similar Disclaimer requirement for further binary redistribution. 16*10741SFei.Feng@Sun.COM * 17*10741SFei.Feng@Sun.COM * NO WARRANTY 18*10741SFei.Feng@Sun.COM * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS 19*10741SFei.Feng@Sun.COM * ``AS IS'' AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT 20*10741SFei.Feng@Sun.COM * LIMITED TO, THE IMPLIED WARRANTIES OF NONINFRINGEMENT, MERCHANTIBILITY 21*10741SFei.Feng@Sun.COM * AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL 22*10741SFei.Feng@Sun.COM * THE COPYRIGHT HOLDERS OR CONTRIBUTORS BE LIABLE FOR SPECIAL, EXEMPLARY, 23*10741SFei.Feng@Sun.COM * OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF 24*10741SFei.Feng@Sun.COM * SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS 25*10741SFei.Feng@Sun.COM * INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER 26*10741SFei.Feng@Sun.COM * IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) 27*10741SFei.Feng@Sun.COM * ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF 28*10741SFei.Feng@Sun.COM * THE POSSIBILITY OF SUCH DAMAGES. 29*10741SFei.Feng@Sun.COM * 30*10741SFei.Feng@Sun.COM */ 31*10741SFei.Feng@Sun.COM 32