View | Details | Raw Unified | Return to bug 10130 | Differences between
and this patch

Collapse All | Expand All

(-)a/drivers/net/r8169.c (-4 / +9 lines)
Lines 558-567 static void mdio_write(void __iomem *ioaddr, int reg_addr, int value) Link Here
558
		udelay(25);
558
		udelay(25);
559
	}
559
	}
560
	/*
560
	/*
561
	 * Some configurations require a small delay even after the write
561
	 * According to hardware specs a 20us delay is required after write
562
	 * completed indication or the next write might fail.
562
	 * complete indication, but before sending next command.
563
	 */
563
	 */
564
	udelay(25);
564
	udelay(20);
565
}
565
}
566
566
567
static int mdio_read(void __iomem *ioaddr, int reg_addr)
567
static int mdio_read(void __iomem *ioaddr, int reg_addr)
Lines 581-586 static int mdio_read(void __iomem *ioaddr, int reg_addr) Link Here
581
		}
581
		}
582
		udelay(25);
582
		udelay(25);
583
	}
583
	}
584
	/*
585
	 * According to hardware specs a 20us delay is required after read
586
	 * complete indication, but before sending next command.
587
	 */
588
	udelay(20);
589
584
	return value;
590
	return value;
585
}
591
}
586
592
587
- 

Return to bug 10130