aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/net/bfin_mac.c
diff options
context:
space:
mode:
Diffstat (limited to 'drivers/net/bfin_mac.c')
-rw-r--r--drivers/net/bfin_mac.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/drivers/net/bfin_mac.c b/drivers/net/bfin_mac.c
index eb971755a3ff..4006a5dea654 100644
--- a/drivers/net/bfin_mac.c
+++ b/drivers/net/bfin_mac.c
@@ -296,7 +296,7 @@ static void mdio_poll(void)
296 296
297 /* poll the STABUSY bit */ 297 /* poll the STABUSY bit */
298 while ((bfin_read_EMAC_STAADD()) & STABUSY) { 298 while ((bfin_read_EMAC_STAADD()) & STABUSY) {
299 mdelay(10); 299 udelay(1);
300 if (timeout_cnt-- < 0) { 300 if (timeout_cnt-- < 0) {
301 printk(KERN_ERR DRV_NAME 301 printk(KERN_ERR DRV_NAME
302 ": wait MDC/MDIO transaction to complete timeout\n"); 302 ": wait MDC/MDIO transaction to complete timeout\n");
@@ -551,7 +551,7 @@ static void adjust_tx_list(void)
551 */ 551 */
552 if (current_tx_ptr->next->next == tx_list_head) { 552 if (current_tx_ptr->next->next == tx_list_head) {
553 while (tx_list_head->status.status_word == 0) { 553 while (tx_list_head->status.status_word == 0) {
554 mdelay(10); 554 mdelay(1);
555 if (tx_list_head->status.status_word != 0 555 if (tx_list_head->status.status_word != 0
556 || !(bfin_read_DMA2_IRQ_STATUS() & 0x08)) { 556 || !(bfin_read_DMA2_IRQ_STATUS() & 0x08)) {
557 goto adjust_head; 557 goto adjust_head;