Deleted Added
full compact
ofw_pcib.c (221393) ofw_pcib.c (227848)
1/*-
2 * Copyright (c) 1994,1995 Stefan Esser, Wolfgang StanglMeier
3 * Copyright (c) 2000 Michael Smith <msmith@freebsd.org>
4 * Copyright (c) 2000 BSDi
5 * Copyright (c) 2001 - 2003 Thomas Moestl <tmm@FreeBSD.org>
6 * Copyright (c) 2009 by Marius Strobl <marius@FreeBSD.org>
7 * All rights reserved.
8 *

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

28 * LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY
29 * OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
30 * SUCH DAMAGE.
31 *
32 * from: FreeBSD: src/sys/dev/pci/pci_pci.c,v 1.3 2000/12/13
33 */
34
35#include <sys/cdefs.h>
1/*-
2 * Copyright (c) 1994,1995 Stefan Esser, Wolfgang StanglMeier
3 * Copyright (c) 2000 Michael Smith <msmith@freebsd.org>
4 * Copyright (c) 2000 BSDi
5 * Copyright (c) 2001 - 2003 Thomas Moestl <tmm@FreeBSD.org>
6 * Copyright (c) 2009 by Marius Strobl <marius@FreeBSD.org>
7 * All rights reserved.
8 *

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

28 * LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY
29 * OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
30 * SUCH DAMAGE.
31 *
32 * from: FreeBSD: src/sys/dev/pci/pci_pci.c,v 1.3 2000/12/13
33 */
34
35#include <sys/cdefs.h>
36__FBSDID("$FreeBSD: head/sys/sparc64/pci/ofw_pcib.c 221393 2011-05-03 17:37:24Z jhb $");
36__FBSDID("$FreeBSD: head/sys/sparc64/pci/ofw_pcib.c 227848 2011-11-22 21:55:40Z marius $");
37
38#include "opt_ofw_pci.h"
39
40#include <sys/param.h>
41#include <sys/bus.h>
42#include <sys/kernel.h>
43#include <sys/libkern.h>
44#include <sys/module.h>

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

69 /* Bus interface */
70
71 /* pcib interface */
72 DEVMETHOD(pcib_route_interrupt, ofw_pcib_gen_route_interrupt),
73
74 /* ofw_bus interface */
75 DEVMETHOD(ofw_bus_get_node, ofw_pcib_gen_get_node),
76
37
38#include "opt_ofw_pci.h"
39
40#include <sys/param.h>
41#include <sys/bus.h>
42#include <sys/kernel.h>
43#include <sys/libkern.h>
44#include <sys/module.h>

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

69 /* Bus interface */
70
71 /* pcib interface */
72 DEVMETHOD(pcib_route_interrupt, ofw_pcib_gen_route_interrupt),
73
74 /* ofw_bus interface */
75 DEVMETHOD(ofw_bus_get_node, ofw_pcib_gen_get_node),
76
77 KOBJMETHOD_END
77 DEVMETHOD_END
78};
79
80static devclass_t pcib_devclass;
81
82DEFINE_CLASS_1(pcib, ofw_pcib_driver, ofw_pcib_methods,
83 sizeof(struct ofw_pcib_gen_softc), pcib_driver);
84EARLY_DRIVER_MODULE(ofw_pcib, pci, ofw_pcib_driver, pcib_devclass, 0, 0,
85 BUS_PASS_BUS);

--- 54 unchanged lines hidden ---
78};
79
80static devclass_t pcib_devclass;
81
82DEFINE_CLASS_1(pcib, ofw_pcib_driver, ofw_pcib_methods,
83 sizeof(struct ofw_pcib_gen_softc), pcib_driver);
84EARLY_DRIVER_MODULE(ofw_pcib, pci, ofw_pcib_driver, pcib_devclass, 0, 0,
85 BUS_PASS_BUS);

--- 54 unchanged lines hidden ---