1*f73e0305SHans RosenfeldCopyright (c) 2005, 2006 The NetBSD Foundation, Inc. 2*f73e0305SHans RosenfeldAll rights reserved. 3*f73e0305SHans Rosenfeld 4*f73e0305SHans RosenfeldThis code is derived from software contributed to The NetBSD Foundation 5*f73e0305SHans Rosenfeldby Jason R. Thorpe. 6*f73e0305SHans Rosenfeld 7*f73e0305SHans RosenfeldRedistribution and use in source and binary forms, with or without 8*f73e0305SHans Rosenfeldmodification, are permitted provided that the following conditions 9*f73e0305SHans Rosenfeldare met: 10*f73e0305SHans Rosenfeld1. Redistributions of source code must retain the above copyright 11*f73e0305SHans Rosenfeld notice, this list of conditions and the following disclaimer. 12*f73e0305SHans Rosenfeld2. Redistributions in binary form must reproduce the above copyright 13*f73e0305SHans Rosenfeld notice, this list of conditions and the following disclaimer in the 14*f73e0305SHans Rosenfeld documentation and/or other materials provided with the distribution. 15*f73e0305SHans Rosenfeld 16*f73e0305SHans RosenfeldTHIS SOFTWARE IS PROVIDED BY THE NETBSD FOUNDATION, INC. AND CONTRIBUTORS 17*f73e0305SHans Rosenfeld``AS IS'' AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED 18*f73e0305SHans RosenfeldTO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR 19*f73e0305SHans RosenfeldPURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE FOUNDATION OR CONTRIBUTORS 20*f73e0305SHans RosenfeldBE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR 21*f73e0305SHans RosenfeldCONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF 22*f73e0305SHans RosenfeldSUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS 23*f73e0305SHans RosenfeldINTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN 24*f73e0305SHans RosenfeldCONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) 25*f73e0305SHans RosenfeldARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE 26*f73e0305SHans RosenfeldPOSSIBILITY OF SUCH DAMAGE. 27