jbusppm.c (197164) | jbusppm.c (227848) |
---|---|
1/*- 2 * Copyright (c) 2008 Marius Strobl <marius@FreeBSD.org> 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 --- 11 unchanged lines hidden (view full) --- 20 * OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) 21 * HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT 22 * LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY 23 * OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF 24 * SUCH DAMAGE. 25 */ 26 27#include <sys/cdefs.h> | 1/*- 2 * Copyright (c) 2008 Marius Strobl <marius@FreeBSD.org> 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 --- 11 unchanged lines hidden (view full) --- 20 * OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) 21 * HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT 22 * LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY 23 * OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF 24 * SUCH DAMAGE. 25 */ 26 27#include <sys/cdefs.h> |
28__FBSDID("$FreeBSD: head/sys/sparc64/sparc64/jbusppm.c 197164 2009-09-13 14:47:31Z marius $"); | 28__FBSDID("$FreeBSD: head/sys/sparc64/sparc64/jbusppm.c 227848 2011-11-22 21:55:40Z marius $"); |
29 30#include <sys/param.h> 31#include <sys/systm.h> 32#include <sys/bus.h> 33#include <sys/kernel.h> 34#include <sys/module.h> 35#include <sys/resource.h> 36#include <sys/rman.h> --- 40 unchanged lines hidden (view full) --- 77static device_probe_t jbusppm_probe; 78static device_attach_t jbusppm_attach; 79 80static device_method_t jbusppm_methods[] = { 81 /* Device interface */ 82 DEVMETHOD(device_probe, jbusppm_probe), 83 DEVMETHOD(device_attach, jbusppm_attach), 84 | 29 30#include <sys/param.h> 31#include <sys/systm.h> 32#include <sys/bus.h> 33#include <sys/kernel.h> 34#include <sys/module.h> 35#include <sys/resource.h> 36#include <sys/rman.h> --- 40 unchanged lines hidden (view full) --- 77static device_probe_t jbusppm_probe; 78static device_attach_t jbusppm_attach; 79 80static device_method_t jbusppm_methods[] = { 81 /* Device interface */ 82 DEVMETHOD(device_probe, jbusppm_probe), 83 DEVMETHOD(device_attach, jbusppm_attach), 84 |
85 KOBJMETHOD_END | 85 DEVMETHOD_END |
86}; 87 88static devclass_t jbusppm_devclass; 89 90DEFINE_CLASS_0(jbusppm, jbusppm_driver, jbusppm_methods, 91 sizeof(struct jbusppm_softc)); 92DRIVER_MODULE(jbusppm, nexus, jbusppm_driver, jbusppm_devclass, 0, 0); 93 --- 137 unchanged lines hidden --- | 86}; 87 88static devclass_t jbusppm_devclass; 89 90DEFINE_CLASS_0(jbusppm, jbusppm_driver, jbusppm_methods, 91 sizeof(struct jbusppm_softc)); 92DRIVER_MODULE(jbusppm, nexus, jbusppm_driver, jbusppm_devclass, 0, 0); 93 --- 137 unchanged lines hidden --- |