Changeset 506a805 in mainline for uspace/srv/hw/netif/dp8390/dp8390.c


Ignore:
Timestamp:
2011-01-06T14:57:42Z (13 years ago)
Author:
Martin Decky <martin@…>
Branches:
lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
Children:
2a6e4ac2
Parents:
d3c9b60
Message:

cstyle

File:
1 edited

Legend:

Unmodified
Added
Removed
  • uspace/srv/hw/netif/dp8390/dp8390.c

    rd3c9b60 r506a805  
    338338        (*dep->de_initf)(dep);
    339339       
    340         if (debug) {
    341                 printf("%s: Ethernet address ", dep->de_name);
    342                 for (i = 0; i < 6; i++)
    343                         printf("%x%c", dep->de_address.ea_addr[i], i < 5 ? ':' : '\n');
    344         }
     340        printf("%s: Ethernet address ", dep->de_name);
     341        for (i = 0; i < 6; i++)
     342                printf("%x%c", dep->de_address.ea_addr[i], i < 5 ? ':' : '\n');
    345343       
    346344        /*
     
    516514                        if (isr &ISR_TXE)
    517515                        {
    518 #if DEBUG
    519  {printf("%s: got send Error\n", dep->de_name);}
    520 #endif
    521516                                dep->de_stat.ets_sendErr++;
    522517                        }
     
    558553                        {
    559554                                /* Software bug? */
    560                                 assert(!debug);
     555                                assert(false);
    561556
    562557                                /* Or hardware bug? */
Note: See TracChangeset for help on using the changeset viewer.