Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
packages
kernel
linux
Commits
3cf731d6
Commit
3cf731d6
authored
Jul 09, 2018
by
Lorenzo "Palinuro" Faletra
Browse files
Import Upstream version 4.16.16
parent
f34edc87
Changes
428
Show whitespace changes
Inline
Side-by-side
Documentation/devicetree/bindings/clock/sunxi-ccu.txt
View file @
3cf731d6
...
...
@@ -20,6 +20,7 @@ Required properties :
- "allwinner,sun50i-a64-ccu"
- "allwinner,sun50i-a64-r-ccu"
- "allwinner,sun50i-h5-ccu"
- "allwinner,sun50i-h6-ccu"
- "nextthing,gr8-ccu"
- reg: Must contain the registers base address and length
...
...
@@ -31,6 +32,9 @@ Required properties :
- #clock-cells : must contain 1
- #reset-cells : must contain 1
For the main CCU on H6, one more clock is needed:
- "iosc": the SoC's internal frequency oscillator
For the PRCM CCUs on A83T/H3/A64, two more clocks are needed:
- "pll-periph": the SoC's peripheral PLL from the main CCU
- "iosc": the SoC's internal frequency oscillator
...
...
Documentation/devicetree/bindings/display/msm/dsi.txt
View file @
3cf731d6
...
...
@@ -102,7 +102,11 @@ Required properties:
- clocks: Phandles to device clocks. See [1] for details on clock bindings.
- clock-names: the following clocks are required:
* "iface"
For 28nm HPM/LP, 28nm 8960 PHYs:
- vddio-supply: phandle to vdd-io regulator device node
For 20nm PHY:
- vddio-supply: phandle to vdd-io regulator device node
- vcca-supply: phandle to vcca regulator device node
Optional properties:
- qcom,dsi-phy-regulator-ldo-mode: Boolean value indicating if the LDO mode PHY
...
...
Documentation/devicetree/bindings/pinctrl/axis,artpec6-pinctrl.txt
View file @
3cf731d6
...
...
@@ -20,7 +20,8 @@ Required subnode-properties:
gpio: cpuclkoutgrp0, udlclkoutgrp0, i2c1grp0, i2c2grp0,
i2c3grp0, i2s0grp0, i2s1grp0, i2srefclkgrp0, spi0grp0,
spi1grp0, pciedebuggrp0, uart0grp0, uart0grp1, uart1grp0,
uart2grp0, uart2grp1, uart3grp0, uart4grp0, uart5grp0
uart2grp0, uart2grp1, uart3grp0, uart4grp0, uart5grp0,
uart5nocts
cpuclkout: cpuclkoutgrp0
udlclkout: udlclkoutgrp0
i2c1: i2c1grp0
...
...
@@ -37,7 +38,7 @@ Required subnode-properties:
uart2: uart2grp0, uart2grp1
uart3: uart3grp0
uart4: uart4grp0
uart5: uart5grp0
uart5: uart5grp0
, uart5nocts
nand: nandgrp0
sdio0: sdio0grp0
sdio1: sdio1grp0
...
...
Documentation/networking/netdev-FAQ.txt
View file @
3cf731d6
...
...
@@ -179,6 +179,15 @@ A: No. See above answer. In short, if you think it really belongs in
dash marker line as described in Documentation/process/submitting-patches.rst to
temporarily embed that information into the patch that you send.
Q: Are all networking bug fixes backported to all stable releases?
A: Due to capacity, Dave could only take care of the backports for the last
2 stable releases. For earlier stable releases, each stable branch maintainer
is supposed to take care of them. If you find any patch is missing from an
earlier stable branch, please notify stable@vger.kernel.org with either a
commit ID or a formal patch backported, and CC Dave and other relevant
networking developers.
Q: Someone said that the comment style and coding convention is different
for the networking content. Is this true?
...
...
Makefile
View file @
3cf731d6
# SPDX-License-Identifier: GPL-2.0
VERSION
=
4
PATCHLEVEL
=
16
SUBLEVEL
=
1
2
SUBLEVEL
=
1
6
EXTRAVERSION
=
NAME
=
Fearless Coyote
...
...
arch/arm/boot/dts/at91-nattis-2-natte-2.dts
View file @
3cf731d6
...
...
@@ -146,7 +146,7 @@ temp@18 {
};
eeprom
@
50
{
compatible
=
"nxp,24c02"
;
compatible
=
"nxp,
se97b"
,
"atmel,
24c02"
;
reg
=
<
0x50
>;
pagesize
=
<
16
>;
};
...
...
arch/arm/boot/dts/at91-tse850-3.dts
View file @
3cf731d6
...
...
@@ -246,7 +246,7 @@ pcm5142: pcm5142@4c {
};
eeprom
@
50
{
compatible
=
"nxp,
24c02
"
,
"atmel,24c02"
;
compatible
=
"nxp,
se97b
"
,
"atmel,24c02"
;
reg
=
<
0x50
>;
pagesize
=
<
16
>;
};
...
...
arch/arm/boot/dts/bcm283x.dtsi
View file @
3cf731d6
...
...
@@ -252,7 +252,7 @@ i2c_slave_gpio18: i2c_slave_gpio18 {
jtag_gpio4: jtag_gpio4 {
brcm,pins = <4 5 6 12 13>;
brcm,function = <BCM2835_FSEL_ALT
4
>;
brcm,function = <BCM2835_FSEL_ALT
5
>;
};
jtag_gpio22: jtag_gpio22 {
brcm,pins = <22 23 24 25 26 27>;
...
...
@@ -397,8 +397,8 @@ sdhost: mmc@7e202000 {
i2s: i2s@7e203000 {
compatible = "brcm,bcm2835-i2s";
reg = <0x7e203000 0x2
0>,
<0x7e101098 0x02
>;
reg = <0x7e203000 0x2
4>;
clocks = <&clocks BCM2835_CLOCK_PCM
>;
dmas = <&dma 2>,
<&dma 3>;
...
...
arch/arm/boot/dts/dra71-evm.dts
View file @
3cf731d6
...
...
@@ -24,13 +24,13 @@ vpo_sd_1v8_3v3: gpio-regulator-TPS74801 {
regulator
-
name
=
"vddshv8"
;
regulator
-
min
-
microvolt
=
<
1800000
>;
regulator
-
max
-
microvolt
=
<
3
0
00000
>;
regulator
-
max
-
microvolt
=
<
3
3
00000
>;
regulator
-
boot
-
on
;
vin
-
supply
=
<&
evm_5v0
>;
gpios
=
<&
gpio7
11
GPIO_ACTIVE_HIGH
>;
states
=
<
1800000
0x0
3
0
00000
0x1
>;
3
3
00000
0x1
>;
};
evm_1v8_sw
:
fixedregulator
-
evm_1v8
{
...
...
arch/arm/boot/dts/imx7d-cl-som-imx7.dts
View file @
3cf731d6
...
...
@@ -213,37 +213,37 @@ &usdhc3 {
&
iomuxc
{
pinctrl_enet1
:
enet1grp
{
fsl
,
pins
=
<
MX7D_PAD_SD2_CD_B__ENET1_MDIO
0x3
MX7D_PAD_SD2_WP__ENET1_MDC
0x3
MX7D_PAD_ENET1_RGMII_TXC__ENET1_RGMII_TXC
0x1
MX7D_PAD_ENET1_RGMII_TD0__ENET1_RGMII_TD0
0x1
MX7D_PAD_ENET1_RGMII_TD1__ENET1_RGMII_TD1
0x1
MX7D_PAD_ENET1_RGMII_TD2__ENET1_RGMII_TD2
0x1
MX7D_PAD_ENET1_RGMII_TD3__ENET1_RGMII_TD3
0x1
MX7D_PAD_ENET1_RGMII_TX_CTL__ENET1_RGMII_TX_CTL
0x1
MX7D_PAD_ENET1_RGMII_RXC__ENET1_RGMII_RXC
0x1
MX7D_PAD_ENET1_RGMII_RD0__ENET1_RGMII_RD0
0x1
MX7D_PAD_ENET1_RGMII_RD1__ENET1_RGMII_RD1
0x1
MX7D_PAD_ENET1_RGMII_RD2__ENET1_RGMII_RD2
0x1
MX7D_PAD_ENET1_RGMII_RD3__ENET1_RGMII_RD3
0x1
MX7D_PAD_ENET1_RGMII_RX_CTL__ENET1_RGMII_RX_CTL
0x1
MX7D_PAD_SD2_CD_B__ENET1_MDIO
0x3
0
MX7D_PAD_SD2_WP__ENET1_MDC
0x3
0
MX7D_PAD_ENET1_RGMII_TXC__ENET1_RGMII_TXC
0x1
1
MX7D_PAD_ENET1_RGMII_TD0__ENET1_RGMII_TD0
0x1
1
MX7D_PAD_ENET1_RGMII_TD1__ENET1_RGMII_TD1
0x1
1
MX7D_PAD_ENET1_RGMII_TD2__ENET1_RGMII_TD2
0x1
1
MX7D_PAD_ENET1_RGMII_TD3__ENET1_RGMII_TD3
0x1
1
MX7D_PAD_ENET1_RGMII_TX_CTL__ENET1_RGMII_TX_CTL
0x1
1
MX7D_PAD_ENET1_RGMII_RXC__ENET1_RGMII_RXC
0x1
1
MX7D_PAD_ENET1_RGMII_RD0__ENET1_RGMII_RD0
0x1
1
MX7D_PAD_ENET1_RGMII_RD1__ENET1_RGMII_RD1
0x1
1
MX7D_PAD_ENET1_RGMII_RD2__ENET1_RGMII_RD2
0x1
1
MX7D_PAD_ENET1_RGMII_RD3__ENET1_RGMII_RD3
0x1
1
MX7D_PAD_ENET1_RGMII_RX_CTL__ENET1_RGMII_RX_CTL
0x1
1
>;
};
pinctrl_enet2
:
enet2grp
{
fsl
,
pins
=
<
MX7D_PAD_EPDC_GDSP__ENET2_RGMII_TXC
0x1
MX7D_PAD_EPDC_SDCE2__ENET2_RGMII_TD0
0x1
MX7D_PAD_EPDC_SDCE3__ENET2_RGMII_TD1
0x1
MX7D_PAD_EPDC_GDCLK__ENET2_RGMII_TD2
0x1
MX7D_PAD_EPDC_GDOE__ENET2_RGMII_TD3
0x1
MX7D_PAD_EPDC_GDRL__ENET2_RGMII_TX_CTL
0x1
MX7D_PAD_EPDC_SDCE1__ENET2_RGMII_RXC
0x1
MX7D_PAD_EPDC_SDCLK__ENET2_RGMII_RD0
0x1
MX7D_PAD_EPDC_SDLE__ENET2_RGMII_RD1
0x1
MX7D_PAD_EPDC_SDOE__ENET2_RGMII_RD2
0x1
MX7D_PAD_EPDC_SDSHR__ENET2_RGMII_RD3
0x1
MX7D_PAD_EPDC_SDCE0__ENET2_RGMII_RX_CTL
0x1
MX7D_PAD_EPDC_GDSP__ENET2_RGMII_TXC
0x1
1
MX7D_PAD_EPDC_SDCE2__ENET2_RGMII_TD0
0x1
1
MX7D_PAD_EPDC_SDCE3__ENET2_RGMII_TD1
0x1
1
MX7D_PAD_EPDC_GDCLK__ENET2_RGMII_TD2
0x1
1
MX7D_PAD_EPDC_GDOE__ENET2_RGMII_TD3
0x1
1
MX7D_PAD_EPDC_GDRL__ENET2_RGMII_TX_CTL
0x1
1
MX7D_PAD_EPDC_SDCE1__ENET2_RGMII_RXC
0x1
1
MX7D_PAD_EPDC_SDCLK__ENET2_RGMII_RD0
0x1
1
MX7D_PAD_EPDC_SDLE__ENET2_RGMII_RD1
0x1
1
MX7D_PAD_EPDC_SDOE__ENET2_RGMII_RD2
0x1
1
MX7D_PAD_EPDC_SDSHR__ENET2_RGMII_RD3
0x1
1
MX7D_PAD_EPDC_SDCE0__ENET2_RGMII_RX_CTL
0x1
1
>;
};
...
...
arch/arm/boot/dts/keystone-k2e-clocks.dtsi
View file @
3cf731d6
...
...
@@ -42,7 +42,7 @@ clkusb1: clkusb1@2350004 {
domain-id = <0>;
};
clkhyperlink0: clkhyperlink02350030 {
clkhyperlink0: clkhyperlink0
@
2350030 {
#clock-cells = <0>;
compatible = "ti,keystone,psc-clock";
clocks = <&chipclk12>;
...
...
arch/arm/boot/dts/r8a7791-porter.dts
View file @
3cf731d6
...
...
@@ -425,7 +425,7 @@ &du {
"dclkin.0"
,
"dclkin.1"
;
ports
{
port
@
1
{
port
@
0
{
endpoint
{
remote
-
endpoint
=
<&
adv7511_in
>;
};
...
...
arch/arm/boot/dts/socfpga.dtsi
View file @
3cf731d6
...
...
@@ -831,7 +831,7 @@ sysmgr: sysmgr@ffd08000 {
timer@fffec600 {
compatible = "arm,cortex-a9-twd-timer";
reg = <0xfffec600 0x100>;
interrupts = <1 13 0xf0
4
>;
interrupts = <1 13 0xf0
1
>;
clocks = <&mpu_periph_clk>;
};
...
...
arch/arm/boot/dts/sun4i-a10.dtsi
View file @
3cf731d6
...
...
@@ -76,7 +76,7 @@ framebuffer-fe0-lcd0-hdmi {
allwinner,pipeline = "de_fe0-de_be0-lcd0-hdmi";
clocks = <&ccu CLK_AHB_LCD0>, <&ccu CLK_AHB_HDMI0>,
<&ccu CLK_AHB_DE_BE0>, <&ccu CLK_AHB_DE_FE0>,
<&ccu CLK_DE_BE0>, <&ccu CLK_
AHB_
DE_FE0>,
<&ccu CLK_DE_BE0>, <&ccu CLK_DE_FE0>,
<&ccu CLK_TCON0_CH1>, <&ccu CLK_HDMI>,
<&ccu CLK_DRAM_DE_FE0>, <&ccu CLK_DRAM_DE_BE0>;
status = "disabled";
...
...
@@ -88,7 +88,7 @@ framebuffer-fe0-lcd0 {
allwinner,pipeline = "de_fe0-de_be0-lcd0";
clocks = <&ccu CLK_AHB_LCD0>, <&ccu CLK_AHB_DE_BE0>,
<&ccu CLK_AHB_DE_FE0>, <&ccu CLK_DE_BE0>,
<&ccu CLK_
AHB_
DE_FE0>, <&ccu CLK_TCON0_CH0>,
<&ccu CLK_DE_FE0>, <&ccu CLK_TCON0_CH0>,
<&ccu CLK_DRAM_DE_FE0>, <&ccu CLK_DRAM_DE_BE0>;
status = "disabled";
};
...
...
@@ -99,7 +99,7 @@ framebuffer-fe0-lcd0-tve0 {
allwinner,pipeline = "de_fe0-de_be0-lcd0-tve0";
clocks = <&ccu CLK_AHB_TVE0>, <&ccu CLK_AHB_LCD0>,
<&ccu CLK_AHB_DE_BE0>, <&ccu CLK_AHB_DE_FE0>,
<&ccu CLK_DE_BE0>, <&ccu CLK_
AHB_
DE_FE0>,
<&ccu CLK_DE_BE0>, <&ccu CLK_DE_FE0>,
<&ccu CLK_TCON0_CH1>, <&ccu CLK_DRAM_TVE0>,
<&ccu CLK_DRAM_DE_FE0>, <&ccu CLK_DRAM_DE_BE0>;
status = "disabled";
...
...
arch/arm64/boot/dts/qcom/msm8996.dtsi
View file @
3cf731d6
...
...
@@ -497,8 +497,8 @@ blsp1_i2c2: i2c@7577000 {
blsp2_spi5
:
spi
@
75
ba000
{
compatible
=
"qcom,spi-qup-v2.2.1"
;
reg
=
<
0x075ba000
0x600
>;
interrupts
=
<
GIC_SPI
10
7
IRQ_TYPE_LEVEL_HIGH
>;
clocks
=
<&
gcc
GCC_BLSP2_QUP
5
_SPI_APPS_CLK
>,
interrupts
=
<
GIC_SPI
10
6
IRQ_TYPE_LEVEL_HIGH
>;
clocks
=
<&
gcc
GCC_BLSP2_QUP
6
_SPI_APPS_CLK
>,
<&
gcc
GCC_BLSP2_AHB_CLK
>;
clock
-
names
=
"core"
,
"iface"
;
pinctrl
-
names
=
"default"
,
"sleep"
;
...
...
arch/arm64/include/asm/atomic_lse.h
View file @
3cf731d6
...
...
@@ -117,7 +117,7 @@ static inline void atomic_and(int i, atomic_t *v)
/* LSE atomics */
" mvn %w[i], %w[i]
\n
"
" stclr %w[i], %[v]"
)
:
[
i
]
"+r"
(
w0
),
[
v
]
"+Q"
(
v
->
counter
)
:
[
i
]
"+
&
r"
(
w0
),
[
v
]
"+Q"
(
v
->
counter
)
:
"r"
(
x1
)
:
__LL_SC_CLOBBERS
);
}
...
...
@@ -135,7 +135,7 @@ static inline int atomic_fetch_and##name(int i, atomic_t *v) \
/* LSE atomics */
\
" mvn %w[i], %w[i]\n" \
" ldclr" #mb " %w[i], %w[i], %[v]") \
: [i] "+r" (w0), [v] "+Q" (v->counter) \
: [i] "+
&
r" (w0), [v] "+Q" (v->counter) \
: "r" (x1) \
: __LL_SC_CLOBBERS, ##cl); \
\
...
...
@@ -161,7 +161,7 @@ static inline void atomic_sub(int i, atomic_t *v)
/* LSE atomics */
" neg %w[i], %w[i]
\n
"
" stadd %w[i], %[v]"
)
:
[
i
]
"+r"
(
w0
),
[
v
]
"+Q"
(
v
->
counter
)
:
[
i
]
"+
&
r"
(
w0
),
[
v
]
"+Q"
(
v
->
counter
)
:
"r"
(
x1
)
:
__LL_SC_CLOBBERS
);
}
...
...
@@ -180,7 +180,7 @@ static inline int atomic_sub_return##name(int i, atomic_t *v) \
" neg %w[i], %w[i]\n" \
" ldadd" #mb " %w[i], w30, %[v]\n" \
" add %w[i], %w[i], w30") \
: [i] "+r" (w0), [v] "+Q" (v->counter) \
: [i] "+
&
r" (w0), [v] "+Q" (v->counter) \
: "r" (x1) \
: __LL_SC_CLOBBERS , ##cl); \
\
...
...
@@ -207,7 +207,7 @@ static inline int atomic_fetch_sub##name(int i, atomic_t *v) \
/* LSE atomics */
\
" neg %w[i], %w[i]\n" \
" ldadd" #mb " %w[i], %w[i], %[v]") \
: [i] "+r" (w0), [v] "+Q" (v->counter) \
: [i] "+
&
r" (w0), [v] "+Q" (v->counter) \
: "r" (x1) \
: __LL_SC_CLOBBERS, ##cl); \
\
...
...
@@ -314,7 +314,7 @@ static inline void atomic64_and(long i, atomic64_t *v)
/* LSE atomics */
" mvn %[i], %[i]
\n
"
" stclr %[i], %[v]"
)
:
[
i
]
"+r"
(
x0
),
[
v
]
"+Q"
(
v
->
counter
)
:
[
i
]
"+
&
r"
(
x0
),
[
v
]
"+Q"
(
v
->
counter
)
:
"r"
(
x1
)
:
__LL_SC_CLOBBERS
);
}
...
...
@@ -332,7 +332,7 @@ static inline long atomic64_fetch_and##name(long i, atomic64_t *v) \
/* LSE atomics */
\
" mvn %[i], %[i]\n" \
" ldclr" #mb " %[i], %[i], %[v]") \
: [i] "+r" (x0), [v] "+Q" (v->counter) \
: [i] "+
&
r" (x0), [v] "+Q" (v->counter) \
: "r" (x1) \
: __LL_SC_CLOBBERS, ##cl); \
\
...
...
@@ -358,7 +358,7 @@ static inline void atomic64_sub(long i, atomic64_t *v)
/* LSE atomics */
" neg %[i], %[i]
\n
"
" stadd %[i], %[v]"
)
:
[
i
]
"+r"
(
x0
),
[
v
]
"+Q"
(
v
->
counter
)
:
[
i
]
"+
&
r"
(
x0
),
[
v
]
"+Q"
(
v
->
counter
)
:
"r"
(
x1
)
:
__LL_SC_CLOBBERS
);
}
...
...
@@ -377,7 +377,7 @@ static inline long atomic64_sub_return##name(long i, atomic64_t *v) \
" neg %[i], %[i]\n" \
" ldadd" #mb " %[i], x30, %[v]\n" \
" add %[i], %[i], x30") \
: [i] "+r" (x0), [v] "+Q" (v->counter) \
: [i] "+
&
r" (x0), [v] "+Q" (v->counter) \
: "r" (x1) \
: __LL_SC_CLOBBERS, ##cl); \
\
...
...
@@ -404,7 +404,7 @@ static inline long atomic64_fetch_sub##name(long i, atomic64_t *v) \
/* LSE atomics */
\
" neg %[i], %[i]\n" \
" ldadd" #mb " %[i], %[i], %[v]") \
: [i] "+r" (x0), [v] "+Q" (v->counter) \
: [i] "+
&
r" (x0), [v] "+Q" (v->counter) \
: "r" (x1) \
: __LL_SC_CLOBBERS, ##cl); \
\
...
...
@@ -435,7 +435,7 @@ static inline long atomic64_dec_if_positive(atomic64_t *v)
" sub x30, x30, %[ret]
\n
"
" cbnz x30, 1b
\n
"
"2:"
)
:
[
ret
]
"+r"
(
x0
),
[
v
]
"+Q"
(
v
->
counter
)
:
[
ret
]
"+
&
r"
(
x0
),
[
v
]
"+Q"
(
v
->
counter
)
:
:
__LL_SC_CLOBBERS
,
"cc"
,
"memory"
);
...
...
@@ -516,7 +516,7 @@ static inline long __cmpxchg_double##name(unsigned long old1, \
" eor %[old1], %[old1], %[oldval1]\n" \
" eor %[old2], %[old2], %[oldval2]\n" \
" orr %[old1], %[old1], %[old2]") \
: [old1] "+r" (x0), [old2] "+r" (x1), \
: [old1] "+
&
r" (x0), [old2] "+
&
r" (x1), \
[v] "+Q" (*(unsigned long *)ptr) \
: [new1] "r" (x2), [new2] "r" (x3), [ptr] "r" (x4), \
[oldval1] "r" (oldval1), [oldval2] "r" (oldval2) \
...
...
arch/arm64/kernel/arm64ksyms.c
View file @
3cf731d6
...
...
@@ -75,3 +75,11 @@ NOKPROBE_SYMBOL(_mcount);
/* arm-smccc */
EXPORT_SYMBOL
(
__arm_smccc_smc
);
EXPORT_SYMBOL
(
__arm_smccc_hvc
);
/* tishift.S */
extern
long
long
__ashlti3
(
long
long
a
,
int
b
);
EXPORT_SYMBOL
(
__ashlti3
);
extern
long
long
__ashrti3
(
long
long
a
,
int
b
);
EXPORT_SYMBOL
(
__ashrti3
);
extern
long
long
__lshrti3
(
long
long
a
,
int
b
);
EXPORT_SYMBOL
(
__lshrti3
);
arch/arm64/lib/tishift.S
View file @
3cf731d6
/*
*
Copyright
(
C
)
2017
Jason
A
.
Donenfeld
<
Jason
@
zx2c4
.
com
>
.
All
Rights
Reserved
.
/*
SPDX
-
License
-
Identifier
:
(
GPL
-
2
.0
OR
BSD
-
3
-
Clause
)
*
*
This
program
is
free
software
; you can redistribute it and/or modify
*
it
under
the
terms
of
the
GNU
General
Public
License
version
2
as
*
published
by
the
Free
Software
Foundation
.
*
*
This
program
is
distributed
in
the
hope
that
it
will
be
useful
,
*
but
WITHOUT
ANY
WARRANTY
; without even the implied warranty of
*
MERCHANTABILITY
or
FITNESS
FOR
A
PARTICULAR
PURPOSE
.
See
the
*
GNU
General
Public
License
for
more
details
.
*
*
You
should
have
received
a
copy
of
the
GNU
General
Public
License
*
along
with
this
program
.
If
not
,
see
<
http
:
//
www
.
gnu
.
org
/
licenses
/>
.
*
Copyright
(
C
)
2017
-
2018
Jason
A
.
Donenfeld
<
Jason
@
zx2c4
.
com
>
.
All
Rights
Reserved
.
*/
#include <linux/linkage.h>
...
...
arch/m68k/coldfire/device.c
View file @
3cf731d6
...
...
@@ -135,7 +135,11 @@ static struct platform_device mcf_fec0 = {
.
id
=
0
,
.
num_resources
=
ARRAY_SIZE
(
mcf_fec0_resources
),
.
resource
=
mcf_fec0_resources
,
.
dev
.
platform_data
=
FEC_PDATA
,
.
dev
=
{
.
dma_mask
=
&
mcf_fec0
.
dev
.
coherent_dma_mask
,
.
coherent_dma_mask
=
DMA_BIT_MASK
(
32
),
.
platform_data
=
FEC_PDATA
,
}
};
#ifdef MCFFEC_BASE1
...
...
@@ -167,7 +171,11 @@ static struct platform_device mcf_fec1 = {
.
id
=
1
,
.
num_resources
=
ARRAY_SIZE
(
mcf_fec1_resources
),
.
resource
=
mcf_fec1_resources
,
.
dev
.
platform_data
=
FEC_PDATA
,
.
dev
=
{
.
dma_mask
=
&
mcf_fec1
.
dev
.
coherent_dma_mask
,
.
coherent_dma_mask
=
DMA_BIT_MASK
(
32
),
.
platform_data
=
FEC_PDATA
,
}
};
#endif
/* MCFFEC_BASE1 */
#endif
/* CONFIG_FEC */
...
...
arch/mips/boot/compressed/uart-16550.c
View file @
3cf731d6
...
...
@@ -18,9 +18,9 @@
#define PORT(offset) (CKSEG1ADDR(AR7_REGS_UART0) + (4 * offset))
#endif
#if
def
ined(
CONFIG_MACH_
JZ4740) || defined(CONFIG_MACH_JZ4780)
#
include
<asm/mach-jz4740/base.h>
#define PORT(offset) (CKSEG1ADDR(
JZ4740
_UART0_BASE_ADDR) + (4 * offset))
#ifdef
CONFIG_MACH_
INGENIC
#
define INGENIC_UART0_BASE_ADDR 0x10030000
#define PORT(offset) (CKSEG1ADDR(
INGENIC
_UART0_BASE_ADDR) + (4 * offset))
#endif
#ifdef CONFIG_CPU_XLR
...
...
Prev
1
2
3
4
5
…
22
Next
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment