/* $NetBSD: cgthreevar.h,v 1.8 2009/09/18 16:43:19 tsutsui Exp $ */ /*- * Copyright (c) 1998 The NetBSD Foundation, Inc. * All rights reserved. * * This code is derived from software contributed to The NetBSD Foundation * by Paul Kranenburg. * * Redistribution and use in source and binary forms, with or without * modification, are permitted provided that the following conditions * are met: * 1. Redistributions of source code must retain the above copyright * notice, this list of conditions and the following disclaimer. * 2. Redistributions in binary form must reproduce the above copyright * notice, this list of conditions and the following disclaimer in the * documentation and/or other materials provided with the distribution. * * THIS SOFTWARE IS PROVIDED BY THE NETBSD FOUNDATION, INC. AND CONTRIBUTORS * ``AS IS'' AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED * TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR * PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE FOUNDATION OR CONTRIBUTORS * BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR * CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF * SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS * INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN * CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) * ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE * POSSIBILITY OF SUCH DAMAGE. */ #include "wsdisplay.h" #include /* * color display (cgthree) driver. */ /* per-display variables */ struct cgthree_softc { device_t sc_dev; /* base device */ struct fbdevice sc_fb; /* frame buffer device */ bus_space_tag_t sc_bustag; bus_addr_t sc_paddr; /* phys address for device mmap() */ volatile struct fbcontrol *sc_fbc; /* Brooktree registers */ #if NWSDISPLAY > 0 uint32_t sc_width; uint32_t sc_height; /* display width / height */ uint32_t sc_stride; int sc_mode; struct vcons_data vd; #endif union bt_cmap sc_cmap; /* Brooktree color map */ }; void cgthreeattach(struct cgthree_softc *, const char *, int); ss='path'>path: root/tests/net/net
AgeCommit message (Collapse)Author
2014-06-10Fix static linking for the tests: -lrump is also used by -lrumpuser,he
so we also need -lrump after -lrumpuser. Fixes build for sun2.
2013-11-13CID 1107543, 230676, 1107543, 976795, 230676, 976795, 1125885, etc.christos
2013-10-20write fail as a proper macrochristos
2013-10-19fix unused variable warningschristos
2013-10-17CID 1107548: resource leakchristos
2013-10-17CID 1107550: resource leakchristos
2013-10-12more testschristos
2013-10-12new test to check if non-blocking sockets are reset to blocking on thechristos
accepted file descriptor.
2013-10-10make this work on linuxchristos
2013-10-08Improve tests so that they check the sockaddr's returned by accept(2) andchristos
getsockname(2). Test for accept success after closed client socket.
2013-07-03Enable tests which does not require rump if MKRUMP=no.nakayama
Pointed out by christos on source-changes-d.
2013-06-27add a pktinfo testchristos
2013-01-06fix messages.christos
2013-01-06new udp testchristos
2011-10-04Fixed reversed/child parent and check the right variable for failure fromchristos
gson@
2011-10-03Fix the exceed test.christos
2011-09-30use ATF_CHECK_MSG instead of err() in atf.christos
2011-09-28add back the raw test and fix typo in the libraries.christos
2011-09-28revert part of previous that was wrong.christos
2011-09-28fix error messagechristos
2011-09-28Add a unix socket pathname size limit test.christos
2011-01-11add test for PR kern/44369pooka