summaryrefslogtreecommitdiff
path: root/drivers/smc91111.c
diff options
context:
space:
mode:
authorwdenk <wdenk>2004-03-25 15:14:43 +0000
committerwdenk <wdenk>2004-03-25 15:14:43 +0000
commitb79a11cc2bda7a4d5e00444427a0d06b4e86a990 (patch)
tree746dd46c12a481c3d0622cb51fcf7865047fba04 /drivers/smc91111.c
parent518e2e1ae322251f6452c7b413ecdc70c4605fa1 (diff)
downloadu-boot-imx-b79a11cc2bda7a4d5e00444427a0d06b4e86a990.zip
u-boot-imx-b79a11cc2bda7a4d5e00444427a0d06b4e86a990.tar.gz
u-boot-imx-b79a11cc2bda7a4d5e00444427a0d06b4e86a990.tar.bz2
Code cleanup
Diffstat (limited to 'drivers/smc91111.c')
-rw-r--r--drivers/smc91111.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/drivers/smc91111.c b/drivers/smc91111.c
index 4e180ec..9f9f364 100644
--- a/drivers/smc91111.c
+++ b/drivers/smc91111.c
@@ -485,7 +485,7 @@ static int smc_send_packet (volatile void *packet, int packet_length)
word saved_ptr;
/* save PTR and PNR registers before manipulation */
- SMC_SELECT_BANK (2);
+ SMC_SELECT_BANK (2);
saved_pnr = SMC_inb( PN_REG );
saved_ptr = SMC_inw( PTR_REG );
@@ -565,8 +565,8 @@ again:
/* we have a packet address, so tell the card to use it */
SMC_outb (packet_no, PN_REG);
- /* do not write new ptr value if Write data fifo not empty */
- while ( saved_ptr & PTR_NOTEMPTY )
+ /* do not write new ptr value if Write data fifo not empty */
+ while ( saved_ptr & PTR_NOTEMPTY )
printf ("Write data fifo not empty!\n");
/* point to the beginning of the packet */