]> git.ipfire.org Git - thirdparty/u-boot.git/commitdiff
net: zynq: Do not disable IP in zynq_gem_halt
authorMichal Simek <monstr@monstr.eu>
Mon, 15 Oct 2012 12:01:23 +0000 (14:01 +0200)
committerMichal Simek <monstr@monstr.eu>
Mon, 15 Oct 2012 12:01:23 +0000 (14:01 +0200)
We have found that disabling GEM is causing the problem
with MII bus. This needs to be fixed.

Signed-off-by: Michal Simek <monstr@monstr.eu>
drivers/net/zynq_gem.c

index 041f0d9d1cf462779f86a44dda42fce996c0d192..89eed6f8cb73eb56730973d6b6e6c2b8e305c4b6 100644 (file)
@@ -484,10 +484,6 @@ static int zynq_gem_recv(struct eth_device *dev)
 
 static void zynq_gem_halt(struct eth_device *dev)
 {
-       struct zynq_gem_regs *regs = (struct zynq_gem_regs *)dev->iobase;
-
-       /* Disable the receiver & transmitter */
-       writel(0, &regs->nwctrl);
 }
 
 static int zynq_gem_miiphyread(const char *devname, uchar addr,