Deleted Added
full compact
uninorth.c (266019) uninorth.c (266160)
1/*-
2 * Copyright (C) 2002 Benno Rice.
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

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

17 * IN NO EVENT SHALL TOOLS GMBH BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL,
18 * SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO,
19 * PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS;
20 * OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY,
21 * WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR
22 * OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF
23 * ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
24 *
1/*-
2 * Copyright (C) 2002 Benno Rice.
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

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

17 * IN NO EVENT SHALL TOOLS GMBH BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL,
18 * SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO,
19 * PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS;
20 * OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY,
21 * WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR
22 * OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF
23 * ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
24 *
25 * $FreeBSD: stable/10/sys/powerpc/powermac/uninorth.c 266019 2014-05-14 14:08:45Z ian $
25 * $FreeBSD: stable/10/sys/powerpc/powermac/uninorth.c 266160 2014-05-15 17:30:16Z ian $
26 */
27
28#include <sys/param.h>
29#include <sys/systm.h>
30#include <sys/module.h>
31#include <sys/bus.h>
32#include <sys/conf.h>
33#include <sys/kernel.h>

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

138
139/*
140 * Assume there is only one unin chip in a PowerMac, so that pmu.c functions can
141 * suspend the chip after the whole rest of the device tree is suspended, not
142 * earlier.
143 */
144static device_t unin_chip;
145
26 */
27
28#include <sys/param.h>
29#include <sys/systm.h>
30#include <sys/module.h>
31#include <sys/bus.h>
32#include <sys/conf.h>
33#include <sys/kernel.h>

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

138
139/*
140 * Assume there is only one unin chip in a PowerMac, so that pmu.c functions can
141 * suspend the chip after the whole rest of the device tree is suspended, not
142 * earlier.
143 */
144static device_t unin_chip;
145
146DRIVER_MODULE(unin, nexus, unin_chip_driver, unin_chip_devclass, 0, 0);
146DRIVER_MODULE(unin, ofwbus, unin_chip_driver, unin_chip_devclass, 0, 0);
147
148/*
149 * Add an interrupt to the dev's resource list if present
150 */
151static void
152unin_chip_add_intr(phandle_t devnode, struct unin_chip_devinfo *dinfo)
153{
154 phandle_t iparent;

--- 518 unchanged lines hidden ---
147
148/*
149 * Add an interrupt to the dev's resource list if present
150 */
151static void
152unin_chip_add_intr(phandle_t devnode, struct unin_chip_devinfo *dinfo)
153{
154 phandle_t iparent;

--- 518 unchanged lines hidden ---