fhc.c (225931) | fhc.c (227848) |
---|---|
1/*- 2 * Copyright (c) 2003 Jake Burkholder. 3 * Copyright (c) 2005 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: --- 12 unchanged lines hidden (view full) --- 21 * OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) 22 * HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT 23 * LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY 24 * OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF 25 * SUCH DAMAGE. 26 */ 27 28#include <sys/cdefs.h> | 1/*- 2 * Copyright (c) 2003 Jake Burkholder. 3 * Copyright (c) 2005 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: --- 12 unchanged lines hidden (view full) --- 21 * OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) 22 * HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT 23 * LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY 24 * OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF 25 * SUCH DAMAGE. 26 */ 27 28#include <sys/cdefs.h> |
29__FBSDID("$FreeBSD: head/sys/sparc64/fhc/fhc.c 225931 2011-10-02 23:22:38Z marius $"); | 29__FBSDID("$FreeBSD: head/sys/sparc64/fhc/fhc.c 227848 2011-11-22 21:55:40Z marius $"); |
30 31#include <sys/param.h> 32#include <sys/systm.h> 33#include <sys/bus.h> 34#include <sys/kernel.h> 35#include <sys/malloc.h> 36#include <sys/module.h> 37#include <sys/pcpu.h> --- 67 unchanged lines hidden (view full) --- 105 /* ofw_bus interface */ 106 DEVMETHOD(ofw_bus_get_devinfo, fhc_get_devinfo), 107 DEVMETHOD(ofw_bus_get_compat, ofw_bus_gen_get_compat), 108 DEVMETHOD(ofw_bus_get_model, ofw_bus_gen_get_model), 109 DEVMETHOD(ofw_bus_get_name, ofw_bus_gen_get_name), 110 DEVMETHOD(ofw_bus_get_node, ofw_bus_gen_get_node), 111 DEVMETHOD(ofw_bus_get_type, ofw_bus_gen_get_type), 112 | 30 31#include <sys/param.h> 32#include <sys/systm.h> 33#include <sys/bus.h> 34#include <sys/kernel.h> 35#include <sys/malloc.h> 36#include <sys/module.h> 37#include <sys/pcpu.h> --- 67 unchanged lines hidden (view full) --- 105 /* ofw_bus interface */ 106 DEVMETHOD(ofw_bus_get_devinfo, fhc_get_devinfo), 107 DEVMETHOD(ofw_bus_get_compat, ofw_bus_gen_get_compat), 108 DEVMETHOD(ofw_bus_get_model, ofw_bus_gen_get_model), 109 DEVMETHOD(ofw_bus_get_name, ofw_bus_gen_get_name), 110 DEVMETHOD(ofw_bus_get_node, ofw_bus_gen_get_node), 111 DEVMETHOD(ofw_bus_get_type, ofw_bus_gen_get_type), 112 |
113 KOBJMETHOD_END | 113 DEVMETHOD_END |
114}; 115 116static driver_t fhc_driver = { 117 "fhc", 118 fhc_methods, 119 sizeof(struct fhc_softc), 120}; 121 --- 414 unchanged lines hidden --- | 114}; 115 116static driver_t fhc_driver = { 117 "fhc", 118 fhc_methods, 119 sizeof(struct fhc_softc), 120}; 121 --- 414 unchanged lines hidden --- |