1*5f7e80a8Spooka /* $NetBSD: lcd_ebus.c,v 1.1 2011/01/26 01:18:50 pooka Exp $ */ 2*5f7e80a8Spooka 3*5f7e80a8Spooka /*- 4*5f7e80a8Spooka * Copyright (c) 2010 The NetBSD Foundation, Inc. 5*5f7e80a8Spooka * All rights reserved. 6*5f7e80a8Spooka * 7*5f7e80a8Spooka * This code was written by Alessandro Forin and Neil Pittman 8*5f7e80a8Spooka * at Microsoft Research and contributed to The NetBSD Foundation 9*5f7e80a8Spooka * by Microsoft Corporation. 10*5f7e80a8Spooka * 11*5f7e80a8Spooka * Redistribution and use in source and binary forms, with or without 12*5f7e80a8Spooka * modification, are permitted provided that the following conditions 13*5f7e80a8Spooka * are met: 14*5f7e80a8Spooka * 1. Redistributions of source code must retain the above copyright 15*5f7e80a8Spooka * notice, this list of conditions and the following disclaimer. 16*5f7e80a8Spooka * 2. Redistributions in binary form must reproduce the above copyright 17*5f7e80a8Spooka * notice, this list of conditions and the following disclaimer in the 18*5f7e80a8Spooka * documentation and/or other materials provided with the distribution. 19*5f7e80a8Spooka * 20*5f7e80a8Spooka * THIS SOFTWARE IS PROVIDED BY THE NETBSD FOUNDATION, INC. AND CONTRIBUTORS 21*5f7e80a8Spooka * ``AS IS'' AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED 22*5f7e80a8Spooka * TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR 23*5f7e80a8Spooka * PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE FOUNDATION OR CONTRIBUTORS 24*5f7e80a8Spooka * BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR 25*5f7e80a8Spooka * CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF 26*5f7e80a8Spooka * SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS 27*5f7e80a8Spooka * INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN 28*5f7e80a8Spooka * CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) 29*5f7e80a8Spooka * ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE 30*5f7e80a8Spooka * POSSIBILITY OF SUCH DAMAGE. 31*5f7e80a8Spooka */ 32*5f7e80a8Spooka 33*5f7e80a8Spooka #include <sys/cdefs.h> /* RCS ID & Copyright macro defns */ 34*5f7e80a8Spooka __KERNEL_RCSID(0, "$NetBSD: lcd_ebus.c,v 1.1 2011/01/26 01:18:50 pooka Exp $"); 35*5f7e80a8Spooka 36*5f7e80a8Spooka #define STUBNAME lcd 37*5f7e80a8Spooka #define STUBSTRING "lcd" 38*5f7e80a8Spooka #define STUBBANNER "LCD" 39*5f7e80a8Spooka #define STUBSTRUCT _Lcd 40*5f7e80a8Spooka #define STUBMATCH(_f_) (((_f_)->TypeAndTag & LCDBT_TAG) == PMTTAG_LCD) 41*5f7e80a8Spooka 42*5f7e80a8Spooka #define stub_ebus_match __CONCAT(lcd,_ebus_match) 43*5f7e80a8Spooka #define stub_ebus_attach __CONCAT(lcd,_ebus_attach) 44*5f7e80a8Spooka #define stub_ebus __CONCAT(lcd,_ebus) 45*5f7e80a8Spooka #define stub_softc __CONCAT(lcd,_softc) 46*5f7e80a8Spooka #define stubopen __CONCAT(lcd,open) 47*5f7e80a8Spooka #define stubclose __CONCAT(lcd,close) 48*5f7e80a8Spooka #define stub_cdevsw __CONCAT(lcd,_cdevsw) 49*5f7e80a8Spooka 50*5f7e80a8Spooka #include "stub_ebus.c" 51