Deleted Added
full compact
ofw_pcib_subr.c (117119) ofw_pcib_subr.c (129051)
1/*-
2 * Copyright (c) 2003 by Thomas Moestl <tmm@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

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

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

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

17 * IN NO EVENT SHALL THE AUTHOR OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT,
18 * INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES
19 * (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR
20 * SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER
21 * CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY,
22 * OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE
23 * USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
24 *
25 * $FreeBSD: head/sys/sparc64/pci/ofw_pcib_subr.c 117119 2003-07-01 14:52:47Z tmm $
25 * $FreeBSD: head/sys/sparc64/pci/ofw_pcib_subr.c 129051 2004-05-08 13:53:47Z marius $
26 */
27
28#include "opt_ofw_pci.h"
26 */
27
28#include "opt_ofw_pci.h"
29
29#include <sys/param.h>
30#include <sys/systm.h>
31#include <sys/bus.h>
32
33#include <dev/ofw/openfirm.h>
34#include <dev/ofw/ofw_pci.h>
35
36#include <machine/bus.h>

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

126 sc->ops_pcib_sc.subbus, subbus);
127#endif
128 pci_write_config(bridge, PCIR_SUBBUS_1, subbus, 1);
129 sc->ops_pcib_sc.subbus = subbus;
130 /* Notify parent bridges. */
131 OFW_PCI_ADJUST_BUSRANGE(device_get_parent(bridge), subbus);
132 }
133}
30#include <sys/param.h>
31#include <sys/systm.h>
32#include <sys/bus.h>
33
34#include <dev/ofw/openfirm.h>
35#include <dev/ofw/ofw_pci.h>
36
37#include <machine/bus.h>

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

127 sc->ops_pcib_sc.subbus, subbus);
128#endif
129 pci_write_config(bridge, PCIR_SUBBUS_1, subbus, 1);
130 sc->ops_pcib_sc.subbus = subbus;
131 /* Notify parent bridges. */
132 OFW_PCI_ADJUST_BUSRANGE(device_get_parent(bridge), subbus);
133 }
134}
134