Deleted Added
full compact
schizo.c (212378) schizo.c (215349)
1/*-
2 * Copyright (c) 1999, 2000 Matthew R. Green
3 * Copyright (c) 2001 - 2003 by Thomas Moestl <tmm@FreeBSD.org>
4 * Copyright (c) 2005, 2007, 2008 by Marius Strobl <marius@FreeBSD.org>
5 * All rights reserved.
6 *
7 * Redistribution and use in source and binary forms, with or without
8 * modification, are permitted provided that the following conditions

--- 18 unchanged lines hidden (view full) ---

27 * OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
28 * SUCH DAMAGE.
29 *
30 * from: NetBSD: psycho.c,v 1.39 2001/10/07 20:30:41 eeh Exp
31 * from: FreeBSD: psycho.c 183152 2008-09-18 19:45:22Z marius
32 */
33
34#include <sys/cdefs.h>
1/*-
2 * Copyright (c) 1999, 2000 Matthew R. Green
3 * Copyright (c) 2001 - 2003 by Thomas Moestl <tmm@FreeBSD.org>
4 * Copyright (c) 2005, 2007, 2008 by Marius Strobl <marius@FreeBSD.org>
5 * All rights reserved.
6 *
7 * Redistribution and use in source and binary forms, with or without
8 * modification, are permitted provided that the following conditions

--- 18 unchanged lines hidden (view full) ---

27 * OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
28 * SUCH DAMAGE.
29 *
30 * from: NetBSD: psycho.c,v 1.39 2001/10/07 20:30:41 eeh Exp
31 * from: FreeBSD: psycho.c 183152 2008-09-18 19:45:22Z marius
32 */
33
34#include <sys/cdefs.h>
35__FBSDID("$FreeBSD: head/sys/sparc64/pci/schizo.c 212378 2010-09-09 20:26:30Z jhb $");
35__FBSDID("$FreeBSD: head/sys/sparc64/pci/schizo.c 215349 2010-11-15 21:58:10Z marius $");
36
37/*
38 * Driver for `Schizo' Fireplane/Safari to PCI 2.1 and `Tomatillo' JBus to
39 * PCI 2.2 bridges
40 */
41
42#include "opt_ofw_pci.h"
43#include "opt_schizo.h"

--- 109 unchanged lines hidden (view full) ---

153
154 KOBJMETHOD_END
155};
156
157static devclass_t schizo_devclass;
158
159DEFINE_CLASS_0(pcib, schizo_driver, schizo_methods,
160 sizeof(struct schizo_softc));
36
37/*
38 * Driver for `Schizo' Fireplane/Safari to PCI 2.1 and `Tomatillo' JBus to
39 * PCI 2.2 bridges
40 */
41
42#include "opt_ofw_pci.h"
43#include "opt_schizo.h"

--- 109 unchanged lines hidden (view full) ---

153
154 KOBJMETHOD_END
155};
156
157static devclass_t schizo_devclass;
158
159DEFINE_CLASS_0(pcib, schizo_driver, schizo_methods,
160 sizeof(struct schizo_softc));
161DRIVER_MODULE(schizo, nexus, schizo_driver, schizo_devclass, 0, 0);
161EARLY_DRIVER_MODULE(schizo, nexus, schizo_driver, schizo_devclass, 0, 0,
162 BUS_PASS_BUS);
162
163static SLIST_HEAD(, schizo_softc) schizo_softcs =
164 SLIST_HEAD_INITIALIZER(schizo_softcs);
165
166static const struct intr_controller schizo_ic = {
167 schizo_intr_enable,
168 schizo_intr_disable,
169 schizo_intr_assign,

--- 1351 unchanged lines hidden ---
163
164static SLIST_HEAD(, schizo_softc) schizo_softcs =
165 SLIST_HEAD_INITIALIZER(schizo_softcs);
166
167static const struct intr_controller schizo_ic = {
168 schizo_intr_enable,
169 schizo_intr_disable,
170 schizo_intr_assign,

--- 1351 unchanged lines hidden ---