clpslcd.c (3bee0c11) | clpslcd.c (beecddb6) |
---|---|
1/* $NetBSD: clpslcd.c,v 1.2 2021/04/24 23:36:26 thorpej Exp $ */ | 1/* $NetBSD: clpslcd.c,v 1.3 2021/08/07 16:18:43 thorpej Exp $ */ |
2/* 3 * Copyright (c) 2013 KIYOHARA Takashi 4 * All rights reserved. 5 * 6 * Redistribution and use in source and binary forms, with or without 7 * modification, are permitted provided that the following conditions 8 * are met: 9 * 1. Redistributions of source code must retain the above copyright --- 10 unchanged lines hidden (view full) --- 20 * (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR 21 * SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) 22 * HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, 23 * STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN 24 * ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE 25 * POSSIBILITY OF SUCH DAMAGE. 26 */ 27#include <sys/cdefs.h> | 2/* 3 * Copyright (c) 2013 KIYOHARA Takashi 4 * All rights reserved. 5 * 6 * Redistribution and use in source and binary forms, with or without 7 * modification, are permitted provided that the following conditions 8 * are met: 9 * 1. Redistributions of source code must retain the above copyright --- 10 unchanged lines hidden (view full) --- 20 * (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR 21 * SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) 22 * HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, 23 * STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN 24 * ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE 25 * POSSIBILITY OF SUCH DAMAGE. 26 */ 27#include <sys/cdefs.h> |
28__KERNEL_RCSID(0, "$NetBSD: clpslcd.c,v 1.2 2021/04/24 23:36:26 thorpej Exp $"); | 28__KERNEL_RCSID(0, "$NetBSD: clpslcd.c,v 1.3 2021/08/07 16:18:43 thorpej Exp $"); |
29 30#include "rnd.h" 31 32#include <sys/param.h> 33#include <sys/bus.h> 34#include <sys/device.h> 35#include <sys/errno.h> 36 --- 157 unchanged lines hidden (view full) --- 194 defattr); 195 } 196 197 waa.console = is_console; 198 waa.scrdata = &clpslcd_screen_list; 199 waa.accessops = &clpslcd_accessops; 200 waa.accesscookie = sc; 201 | 29 30#include "rnd.h" 31 32#include <sys/param.h> 33#include <sys/bus.h> 34#include <sys/device.h> 35#include <sys/errno.h> 36 --- 157 unchanged lines hidden (view full) --- 194 defattr); 195 } 196 197 waa.console = is_console; 198 waa.scrdata = &clpslcd_screen_list; 199 waa.accessops = &clpslcd_accessops; 200 waa.accesscookie = sc; 201 |
202 config_found(self, &waa, wsemuldisplaydevprint, CFARG_EOL); | 202 config_found(self, &waa, wsemuldisplaydevprint, CFARGS_NONE); |
203} 204 205static int 206clpslcd_ioctl(void *v, void *vs, u_long cmd, void *data, int flag, 207 struct lwp *l) 208{ 209 struct clpslcd_softc *sc = v; 210 struct wsdisplay_fbinfo *wsdisp_info; --- 77 unchanged lines hidden --- | 203} 204 205static int 206clpslcd_ioctl(void *v, void *vs, u_long cmd, void *data, int flag, 207 struct lwp *l) 208{ 209 struct clpslcd_softc *sc = v; 210 struct wsdisplay_fbinfo *wsdisp_info; --- 77 unchanged lines hidden --- |