11.2Sdyoung/* $NetBSD: cp3100_leds.c,v 1.2 2011/07/01 20:38:16 dyoung Exp $ */ 21.1Sscw 31.1Sscw/* 41.1Sscw * Copyright 2006 Wasabi Systems, Inc. 51.1Sscw * All rights reserved. 61.1Sscw * 71.1Sscw * Written by Steve C. Woodford for Wasabi Systems, Inc. 81.1Sscw * 91.1Sscw * Redistribution and use in source and binary forms, with or without 101.1Sscw * modification, are permitted provided that the following conditions 111.1Sscw * are met: 121.1Sscw * 1. Redistributions of source code must retain the above copyright 131.1Sscw * notice, this list of conditions and the following disclaimer. 141.1Sscw * 2. Redistributions in binary form must reproduce the above copyright 151.1Sscw * notice, this list of conditions and the following disclaimer in the 161.1Sscw * documentation and/or other materials provided with the distribution. 171.1Sscw * 3. All advertising materials mentioning features or use of this software 181.1Sscw * must display the following acknowledgement: 191.1Sscw * This product includes software developed for the NetBSD Project by 201.1Sscw * Wasabi Systems, Inc. 211.1Sscw * 4. The name of Wasabi Systems, Inc. may not be used to endorse 221.1Sscw * or promote products derived from this software without specific prior 231.1Sscw * written permission. 241.1Sscw * 251.1Sscw * THIS SOFTWARE IS PROVIDED BY WASABI SYSTEMS, INC. ``AS IS'' AND 261.1Sscw * ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED 271.1Sscw * TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR 281.1Sscw * PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL WASABI SYSTEMS, INC 291.1Sscw * BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR 301.1Sscw * CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF 311.1Sscw * SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS 321.1Sscw * INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN 331.1Sscw * CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) 341.1Sscw * ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE 351.1Sscw * POSSIBILITY OF SUCH DAMAGE. 361.1Sscw */ 371.1Sscw 381.1Sscw#include <sys/cdefs.h> 391.2Sdyoung__KERNEL_RCSID(0, "$NetBSD: cp3100_leds.c,v 1.2 2011/07/01 20:38:16 dyoung Exp $"); 401.1Sscw 411.1Sscw#include <sys/param.h> 421.1Sscw#include <sys/systm.h> 431.1Sscw 441.2Sdyoung#include <sys/bus.h> 451.1Sscw 461.1Sscw#include <evbarm/iq80321/iq80321reg.h> 471.1Sscw#include <evbarm/iq80321/iq80321var.h> 481.1Sscw 491.1Sscw/* 501.1Sscw * Empty functions to keep the iq80321 code happy 511.1Sscw */ 521.1Sscwvoid 531.1Sscwiq80321_7seg(char a, char b) 541.1Sscw{ 551.1Sscw} 561.1Sscw 571.1Sscwvoid 581.1Sscwiq80321_7seg_snake(void) 591.1Sscw{ 601.1Sscw} 61