Deleted Added
full compact
a10_ehci.c (304562) a10_ehci.c (305436)
1/*-
2 * Copyright (c) 2012 Ganbold Tsagaankhuu <ganbold@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

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

24 * SUCH DAMAGE.
25 */
26
27/*
28 * Allwinner A10 attachment driver for the USB Enhanced Host Controller.
29 */
30
31#include <sys/cdefs.h>
1/*-
2 * Copyright (c) 2012 Ganbold Tsagaankhuu <ganbold@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

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

24 * SUCH DAMAGE.
25 */
26
27/*
28 * Allwinner A10 attachment driver for the USB Enhanced Host Controller.
29 */
30
31#include <sys/cdefs.h>
32__FBSDID("$FreeBSD: stable/11/sys/arm/allwinner/a10_ehci.c 304562 2016-08-21 15:45:12Z manu $");
32__FBSDID("$FreeBSD: stable/11/sys/arm/allwinner/a10_ehci.c 305436 2016-09-05 20:17:18Z manu $");
33
34#include "opt_bus.h"
35
36#include <sys/param.h>
37#include <sys/systm.h>
38#include <sys/bus.h>
39#include <sys/rman.h>
40#include <sys/condvar.h>

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

107};
108
109static const struct aw_ehci_conf a31_ehci_conf = {
110 .sdram_init = false,
111};
112
113static struct ofw_compat_data compat_data[] = {
114 { "allwinner,sun4i-a10-ehci", (uintptr_t)&a10_ehci_conf },
33
34#include "opt_bus.h"
35
36#include <sys/param.h>
37#include <sys/systm.h>
38#include <sys/bus.h>
39#include <sys/rman.h>
40#include <sys/condvar.h>

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

107};
108
109static const struct aw_ehci_conf a31_ehci_conf = {
110 .sdram_init = false,
111};
112
113static struct ofw_compat_data compat_data[] = {
114 { "allwinner,sun4i-a10-ehci", (uintptr_t)&a10_ehci_conf },
115 { "allwinner,sun5i-a13-ehci", (uintptr_t)&a10_ehci_conf },
115 { "allwinner,sun6i-a31-ehci", (uintptr_t)&a31_ehci_conf },
116 { "allwinner,sun7i-a20-ehci", (uintptr_t)&a10_ehci_conf },
117 { "allwinner,sun8i-a83t-ehci", (uintptr_t)&a31_ehci_conf },
118 { "allwinner,sun8i-h3-ehci", (uintptr_t)&a31_ehci_conf },
119 { NULL, (uintptr_t)NULL }
120};
121
122static int

--- 247 unchanged lines hidden ---
116 { "allwinner,sun6i-a31-ehci", (uintptr_t)&a31_ehci_conf },
117 { "allwinner,sun7i-a20-ehci", (uintptr_t)&a10_ehci_conf },
118 { "allwinner,sun8i-a83t-ehci", (uintptr_t)&a31_ehci_conf },
119 { "allwinner,sun8i-h3-ehci", (uintptr_t)&a31_ehci_conf },
120 { NULL, (uintptr_t)NULL }
121};
122
123static int

--- 247 unchanged lines hidden ---