| To: | akpm@xxxxxxxx |
|---|---|
| Subject: | Re: patch tulip-natsemi-dp83840a-phy-fix.patch added to -mm tree |
| From: | Jeff Garzik <jgarzik@xxxxxxxxx> |
| Date: | Mon, 16 May 2005 00:06:48 -0400 |
| Cc: | T-Bone@xxxxxxxxxxxxxxxx, grundler@xxxxxxxxxxxxxxxx, varenet@xxxxxxxxxxxxxxxx, Linux Kernel <linux-kernel@xxxxxxxxxxxxxxx>, Netdev <netdev@xxxxxxxxxxx> |
| In-reply-to: | <200505101955.j4AJtX9x032464@xxxxxxxxxxxxxxxxxxx> |
| References: | <200505101955.j4AJtX9x032464@xxxxxxxxxxxxxxxxxxx> |
| Sender: | netdev-bounce@xxxxxxxxxxx |
| User-agent: | Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.7.6) Gecko/20050328 Fedora/1.7.6-1.2.5 |
akpm@xxxxxxxx wrote: + + /* flush posted writes */ + ioread32(ioaddr + CSR15); + + /* Sect 3.10.3 in DP83840A.pdf (p39) */ + udelay(500); + + /* Section 4.2 in DP83840A.pdf (p43) */ + /* and IEEE 802.3 "22.2.4.1.1 Reset" */ + while (timeout-- && + (tulip_mdio_read (dev, phy_num, MII_BMCR) & BMCR_RESET)) + udelay(100); Note that while the patch creates the correct behavior, the delays above occur inside spin_lock_irqsave() and/or timer context.
I have been to get HP to fix this patch's delay problem for -years-.
Jeff
|
| <Prev in Thread] | Current Thread | [Next in Thread> |
|---|---|---|
| ||
| Previous by Date: | Re: [PATCH] reduce stack usage for arlan, Jeff Garzik |
|---|---|
| Next by Date: | Re: patch tulip-natsemi-dp83840a-phy-fix.patch added to -mm tree, Grant Grundler |
| Previous by Thread: | Re: [PATCH] reduce stack usage for arlan, Jeff Garzik |
| Next by Thread: | Re: patch tulip-natsemi-dp83840a-phy-fix.patch added to -mm tree, Grant Grundler |
| Indexes: | [Date] [Thread] [Top] [All Lists] |