Deleted Added
full compact
autoconf.c (297218) autoconf.c (297530)
1/*-
2 * Copyright (c) 1990 The Regents of the University of California.
3 * All rights reserved.
4 *
5 * This code is derived from software contributed to Berkeley by
6 * William Jolitz.
7 *
8 * Redistribution and use in source and binary forms, with or without

--- 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: @(#)autoconf.c 7.1 (Berkeley) 5/9/91
33 */
34
35#include <sys/cdefs.h>
1/*-
2 * Copyright (c) 1990 The Regents of the University of California.
3 * All rights reserved.
4 *
5 * This code is derived from software contributed to Berkeley by
6 * William Jolitz.
7 *
8 * Redistribution and use in source and binary forms, with or without

--- 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: @(#)autoconf.c 7.1 (Berkeley) 5/9/91
33 */
34
35#include <sys/cdefs.h>
36__FBSDID("$FreeBSD: head/sys/i386/i386/autoconf.c 297218 2016-03-24 00:24:07Z jhb $");
36__FBSDID("$FreeBSD: head/sys/x86/x86/autoconf.c 297530 2016-04-03 23:03:54Z jhb $");
37
38/*
39 * Setup the system to run on the current machine.
40 *
41 * Configure() is called at boot time and initializes the vba
42 * device tables and the memory controller monitoring. Available
43 * devices are determined (from possibilities mentioned in ioconf.c),
44 * and the drivers are initialized.

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

60#include <sys/socket.h>
61#include <net/if.h>
62#include <net/if_dl.h>
63#include <net/if_types.h>
64#include <net/if_var.h>
65#include <net/ethernet.h>
66#include <netinet/in.h>
67
37
38/*
39 * Setup the system to run on the current machine.
40 *
41 * Configure() is called at boot time and initializes the vba
42 * device tables and the memory controller monitoring. Available
43 * devices are determined (from possibilities mentioned in ioconf.c),
44 * and the drivers are initialized.

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

60#include <sys/socket.h>
61#include <net/if.h>
62#include <net/if_dl.h>
63#include <net/if_types.h>
64#include <net/if_var.h>
65#include <net/ethernet.h>
66#include <netinet/in.h>
67
68#ifdef PC98
68#include <machine/bootinfo.h>
69#include <machine/bootinfo.h>
70#endif
69#include <machine/md_var.h>
70
71#ifdef DEV_ISA
72#include <isa/isavar.h>
73
74device_t isa_bus_device = 0;
75#endif
76

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

87/*
88 * Determine i/o configuration for a machine.
89 */
90static void
91configure_first(dummy)
92 void *dummy;
93{
94
71#include <machine/md_var.h>
72
73#ifdef DEV_ISA
74#include <isa/isavar.h>
75
76device_t isa_bus_device = 0;
77#endif
78

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

89/*
90 * Determine i/o configuration for a machine.
91 */
92static void
93configure_first(dummy)
94 void *dummy;
95{
96
95 /* nexus0 is the top of the i386 device tree */
97 /* nexus0 is the top of the x86 device tree */
96 device_add_child(root_bus, "nexus", 0);
97}
98
99static void
100configure(dummy)
101 void *dummy;
102{
103

--- 59 unchanged lines hidden ---
98 device_add_child(root_bus, "nexus", 0);
99}
100
101static void
102configure(dummy)
103 void *dummy;
104{
105

--- 59 unchanged lines hidden ---