Changeset 506a805 in mainline for uspace/srv/hw/netif/dp8390/dp8390.c
- Timestamp:
- 2011-01-06T14:57:42Z (14 years ago)
- Branches:
- lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
- Children:
- 2a6e4ac2
- Parents:
- d3c9b60
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
uspace/srv/hw/netif/dp8390/dp8390.c
rd3c9b60 r506a805 338 338 (*dep->de_initf)(dep); 339 339 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'); 345 343 346 344 /* … … 516 514 if (isr &ISR_TXE) 517 515 { 518 #if DEBUG519 {printf("%s: got send Error\n", dep->de_name);}520 #endif521 516 dep->de_stat.ets_sendErr++; 522 517 } … … 558 553 { 559 554 /* Software bug? */ 560 assert( !debug);555 assert(false); 561 556 562 557 /* Or hardware bug? */
Note:
See TracChangeset
for help on using the changeset viewer.