160727d8bSWarner Losh /*- 2*51369649SPedro F. Giffuni * SPDX-License-Identifier: BSD-3-Clause 3*51369649SPedro F. Giffuni * 4d27f1d4cSBenno Rice * Copyright (c) 1998 John Birrell <jb@cimlogic.com.au>. 5d27f1d4cSBenno Rice * All rights reserved. 6d27f1d4cSBenno Rice * 7d27f1d4cSBenno Rice * Redistribution and use in source and binary forms, with or without 8d27f1d4cSBenno Rice * modification, are permitted provided that the following conditions 9d27f1d4cSBenno Rice * are met: 10d27f1d4cSBenno Rice * 1. Redistributions of source code must retain the above copyright 11d27f1d4cSBenno Rice * notice, this list of conditions and the following disclaimer. 12d27f1d4cSBenno Rice * 2. Redistributions in binary form must reproduce the above copyright 13d27f1d4cSBenno Rice * notice, this list of conditions and the following disclaimer in the 14d27f1d4cSBenno Rice * documentation and/or other materials provided with the distribution. 15fed32d75SWarner Losh * 3. Neither the name of the author nor the names of any co-contributors 16d27f1d4cSBenno Rice * may be used to endorse or promote products derived from this software 17d27f1d4cSBenno Rice * without specific prior written permission. 18d27f1d4cSBenno Rice * 19d27f1d4cSBenno Rice * THIS SOFTWARE IS PROVIDED BY JOHN BIRRELL AND CONTRIBUTORS ``AS IS'' AND 20d27f1d4cSBenno Rice * ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE 21d27f1d4cSBenno Rice * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE 22d27f1d4cSBenno Rice * ARE DISCLAIMED. IN NO EVENT SHALL THE REGENTS OR CONTRIBUTORS BE LIABLE 23d27f1d4cSBenno Rice * FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL 24d27f1d4cSBenno Rice * DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS 25d27f1d4cSBenno Rice * OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) 26d27f1d4cSBenno Rice * HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT 27d27f1d4cSBenno Rice * LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY 28d27f1d4cSBenno Rice * OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF 29d27f1d4cSBenno Rice * SUCH DAMAGE. 30d27f1d4cSBenno Rice */ 31