sbus.c (225931) | sbus.c (227848) |
---|---|
1/*- 2 * Copyright (c) 1999-2002 Eduardo Horvath 3 * All rights reserved. 4 * 5 * Redistribution and use in source and binary forms, with or without 6 * modification, are permitted provided that the following conditions 7 * are met: 8 * 1. Redistributions of source code must retain the above copyright --- 38 unchanged lines hidden (view full) --- 47 * OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) 48 * HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT 49 * LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY 50 * OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF 51 * SUCH DAMAGE. 52 */ 53 54#include <sys/cdefs.h> | 1/*- 2 * Copyright (c) 1999-2002 Eduardo Horvath 3 * All rights reserved. 4 * 5 * Redistribution and use in source and binary forms, with or without 6 * modification, are permitted provided that the following conditions 7 * are met: 8 * 1. Redistributions of source code must retain the above copyright --- 38 unchanged lines hidden (view full) --- 47 * OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) 48 * HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT 49 * LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY 50 * OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF 51 * SUCH DAMAGE. 52 */ 53 54#include <sys/cdefs.h> |
55__FBSDID("$FreeBSD: head/sys/sparc64/sbus/sbus.c 225931 2011-10-02 23:22:38Z marius $"); | 55__FBSDID("$FreeBSD: head/sys/sparc64/sbus/sbus.c 227848 2011-11-22 21:55:40Z marius $"); |
56 57/* 58 * SBus support. 59 */ 60 61#include <sys/param.h> 62#include <sys/systm.h> 63#include <sys/bus.h> --- 119 unchanged lines hidden (view full) --- 183 /* ofw_bus interface */ 184 DEVMETHOD(ofw_bus_get_devinfo, sbus_get_devinfo), 185 DEVMETHOD(ofw_bus_get_compat, ofw_bus_gen_get_compat), 186 DEVMETHOD(ofw_bus_get_model, ofw_bus_gen_get_model), 187 DEVMETHOD(ofw_bus_get_name, ofw_bus_gen_get_name), 188 DEVMETHOD(ofw_bus_get_node, ofw_bus_gen_get_node), 189 DEVMETHOD(ofw_bus_get_type, ofw_bus_gen_get_type), 190 | 56 57/* 58 * SBus support. 59 */ 60 61#include <sys/param.h> 62#include <sys/systm.h> 63#include <sys/bus.h> --- 119 unchanged lines hidden (view full) --- 183 /* ofw_bus interface */ 184 DEVMETHOD(ofw_bus_get_devinfo, sbus_get_devinfo), 185 DEVMETHOD(ofw_bus_get_compat, ofw_bus_gen_get_compat), 186 DEVMETHOD(ofw_bus_get_model, ofw_bus_gen_get_model), 187 DEVMETHOD(ofw_bus_get_name, ofw_bus_gen_get_name), 188 DEVMETHOD(ofw_bus_get_node, ofw_bus_gen_get_node), 189 DEVMETHOD(ofw_bus_get_type, ofw_bus_gen_get_type), 190 |
191 KOBJMETHOD_END | 191 DEVMETHOD_END |
192}; 193 194static driver_t sbus_driver = { 195 "sbus", 196 sbus_methods, 197 sizeof(struct sbus_softc), 198}; 199 --- 739 unchanged lines hidden --- | 192}; 193 194static driver_t sbus_driver = { 195 "sbus", 196 sbus_methods, 197 sizeof(struct sbus_softc), 198}; 199 --- 739 unchanged lines hidden --- |