[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Qemu-devel] [PULL V4 26/31] i.MX: Fix FEC code for ECR register reset v
From: |
Jason Wang |
Subject: |
[Qemu-devel] [PULL V4 26/31] i.MX: Fix FEC code for ECR register reset value. |
Date: |
Thu, 2 Jun 2016 14:48:17 +0800 |
From: Jean-Christophe Dubois <address@hidden>
According to the FEC chapter of i.MX25 reference manual ECR register is
initialized at 0xf0000000 at reset time.
We fix the value.
Signed-off-by: Jean-Christophe Dubois <address@hidden>
Signed-off-by: Jason Wang <address@hidden>
---
hw/net/imx_fec.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/hw/net/imx_fec.c b/hw/net/imx_fec.c
index bf68ce6..768181e 100644
--- a/hw/net/imx_fec.c
+++ b/hw/net/imx_fec.c
@@ -339,7 +339,7 @@ static void imx_fec_reset(DeviceState *d)
s->eir = 0;
s->eimr = 0;
s->rx_enabled = 0;
- s->ecr = 0;
+ s->ecr = 0xf0000000;
s->mscr = 0;
s->mibc = 0xc0000000;
s->rcr = 0x05ee0001;
--
2.7.4
- [Qemu-devel] [PULL V4 15/31] rtl8139: Move more TCP definitions to common header, (continued)
- [Qemu-devel] [PULL V4 15/31] rtl8139: Move more TCP definitions to common header, Jason Wang, 2016/06/02
- [Qemu-devel] [PULL V4 14/31] net_pkt: Name vmxnet3 packet abstractions more generic, Jason Wang, 2016/06/02
- [Qemu-devel] [PULL V4 17/31] vmxnet3: Use pci_dma_* API instead of cpu_physical_memory_*, Jason Wang, 2016/06/02
- [Qemu-devel] [PULL V4 16/31] net_pkt: Extend packet abstraction as required by e1000e functionality, Jason Wang, 2016/06/02
- [Qemu-devel] [PULL V4 18/31] e1000_regs: Add definitions for Intel 82574-specific bits, Jason Wang, 2016/06/02
- [Qemu-devel] [PULL V4 19/31] e1000: Move out code that will be reused in e1000e, Jason Wang, 2016/06/02
- [Qemu-devel] [PULL V4 22/31] net: improve UDP/TCP checksum computation., Jason Wang, 2016/06/02
- [Qemu-devel] [PULL V4 21/31] e1000e: Introduce qtest for e1000e device, Jason Wang, 2016/06/02
- [Qemu-devel] [PULL V4 24/31] i.MX: Fix FEC code for MDIO operation selection, Jason Wang, 2016/06/02
- [Qemu-devel] [PULL V4 23/31] net: handle optional VLAN header in checksum computation., Jason Wang, 2016/06/02
- [Qemu-devel] [PULL V4 26/31] i.MX: Fix FEC code for ECR register reset value.,
Jason Wang <=
- [Qemu-devel] [PULL V4 25/31] i.MX: Fix FEC code for MDIO address selection, Jason Wang, 2016/06/02
- [Qemu-devel] [PULL V4 27/31] i.MX: reset TX/RX descriptors when FEC is disabled., Jason Wang, 2016/06/02
- [Qemu-devel] [PULL V4 28/31] i.MX: Rename i.MX FEC defines to ENET_XXX, Jason Wang, 2016/06/02
- [Qemu-devel] [PULL V4 20/31] net: Introduce e1000e device emulation, Jason Wang, 2016/06/02
- [Qemu-devel] [PULL V4 29/31] i.MX: move FEC device to a register array structure., Jason Wang, 2016/06/02
- [Qemu-devel] [PULL V4 31/31] Add ENET device to i.MX6 SOC., Jason Wang, 2016/06/02
- [Qemu-devel] [PULL V4 30/31] Add ENET/Gbps Ethernet support to FEC device, Jason Wang, 2016/06/02
- Re: [Qemu-devel] [PULL V4 00/31] Net patches, Peter Maydell, 2016/06/02