ebus.c (225931) | ebus.c (227848) |
---|---|
1/*- 2 * Copyright (c) 1999, 2000 Matthew R. Green 3 * Copyright (c) 2009 by Marius Strobl <marius@FreeBSD.org> 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: --- 43 unchanged lines hidden (view full) --- 52 * LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED 53 * AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, 54 * OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY 55 * OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF 56 * SUCH DAMAGE. 57 */ 58 59#include <sys/cdefs.h> | 1/*- 2 * Copyright (c) 1999, 2000 Matthew R. Green 3 * Copyright (c) 2009 by Marius Strobl <marius@FreeBSD.org> 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: --- 43 unchanged lines hidden (view full) --- 52 * LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED 53 * AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, 54 * OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY 55 * OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF 56 * SUCH DAMAGE. 57 */ 58 59#include <sys/cdefs.h> |
60__FBSDID("$FreeBSD: head/sys/sparc64/ebus/ebus.c 225931 2011-10-02 23:22:38Z marius $"); | 60__FBSDID("$FreeBSD: head/sys/sparc64/ebus/ebus.c 227848 2011-11-22 21:55:40Z marius $"); |
61 62/* 63 * Driver for JBus to EBus and PCI to EBus bridges 64 */ 65 66#include <sys/param.h> 67#include <sys/systm.h> 68#include <sys/bus.h> --- 107 unchanged lines hidden (view full) --- 176 /* ofw_bus interface */ 177 DEVMETHOD(ofw_bus_get_devinfo, ebus_get_devinfo), 178 DEVMETHOD(ofw_bus_get_compat, ofw_bus_gen_get_compat), 179 DEVMETHOD(ofw_bus_get_model, ofw_bus_gen_get_model), 180 DEVMETHOD(ofw_bus_get_name, ofw_bus_gen_get_name), 181 DEVMETHOD(ofw_bus_get_node, ofw_bus_gen_get_node), 182 DEVMETHOD(ofw_bus_get_type, ofw_bus_gen_get_type), 183 | 61 62/* 63 * Driver for JBus to EBus and PCI to EBus bridges 64 */ 65 66#include <sys/param.h> 67#include <sys/systm.h> 68#include <sys/bus.h> --- 107 unchanged lines hidden (view full) --- 176 /* ofw_bus interface */ 177 DEVMETHOD(ofw_bus_get_devinfo, ebus_get_devinfo), 178 DEVMETHOD(ofw_bus_get_compat, ofw_bus_gen_get_compat), 179 DEVMETHOD(ofw_bus_get_model, ofw_bus_gen_get_model), 180 DEVMETHOD(ofw_bus_get_name, ofw_bus_gen_get_name), 181 DEVMETHOD(ofw_bus_get_node, ofw_bus_gen_get_node), 182 DEVMETHOD(ofw_bus_get_type, ofw_bus_gen_get_type), 183 |
184 KOBJMETHOD_END | 184 DEVMETHOD_END |
185}; 186 187static driver_t ebus_nexus_driver = { 188 "ebus", 189 ebus_nexus_methods, 190 sizeof(struct ebus_softc), 191}; 192 --- 30 unchanged lines hidden (view full) --- 223 /* ofw_bus interface */ 224 DEVMETHOD(ofw_bus_get_devinfo, ebus_get_devinfo), 225 DEVMETHOD(ofw_bus_get_compat, ofw_bus_gen_get_compat), 226 DEVMETHOD(ofw_bus_get_model, ofw_bus_gen_get_model), 227 DEVMETHOD(ofw_bus_get_name, ofw_bus_gen_get_name), 228 DEVMETHOD(ofw_bus_get_node, ofw_bus_gen_get_node), 229 DEVMETHOD(ofw_bus_get_type, ofw_bus_gen_get_type), 230 | 185}; 186 187static driver_t ebus_nexus_driver = { 188 "ebus", 189 ebus_nexus_methods, 190 sizeof(struct ebus_softc), 191}; 192 --- 30 unchanged lines hidden (view full) --- 223 /* ofw_bus interface */ 224 DEVMETHOD(ofw_bus_get_devinfo, ebus_get_devinfo), 225 DEVMETHOD(ofw_bus_get_compat, ofw_bus_gen_get_compat), 226 DEVMETHOD(ofw_bus_get_model, ofw_bus_gen_get_model), 227 DEVMETHOD(ofw_bus_get_name, ofw_bus_gen_get_name), 228 DEVMETHOD(ofw_bus_get_node, ofw_bus_gen_get_node), 229 DEVMETHOD(ofw_bus_get_type, ofw_bus_gen_get_type), 230 |
231 KOBJMETHOD_END | 231 DEVMETHOD_END |
232}; 233 234static driver_t ebus_pci_driver = { 235 "ebus", 236 ebus_pci_methods, 237 sizeof(struct ebus_softc), 238}; 239 --- 477 unchanged lines hidden --- | 232}; 233 234static driver_t ebus_pci_driver = { 235 "ebus", 236 ebus_pci_methods, 237 sizeof(struct ebus_softc), 238}; 239 --- 477 unchanged lines hidden --- |