Changeset 2a6e4ac2 in mainline for uspace/srv/hw/netif/dp8390/ne2000.c


Ignore:
Timestamp:
2011-01-06T15:03:23Z (13 years ago)
Author:
Martin Decky <martin@…>
Branches:
lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade
Children:
fc23ef6
Parents:
506a805
Message:

cstyle & clutter removal

File:
1 edited

Legend:

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

    r506a805 r2a6e4ac2  
    99#include <stdio.h>
    1010#include <unistd.h>
    11 
    1211#include "dp8390_port.h"
    13 
    14 #include "local.h"
    1512#include "dp8390.h"
    1613#include "ne2000.h"
     
    2118/** Type definition of the testing function.
    2219 */
    23 _PROTOTYPE(typedef int (*testf_t), (dpeth_t *dep, int pos, u8_t *pat)   );
     20_PROTOTYPE(typedef int (*testf_t), (dpeth_t *dep, int pos, u8_t *pat));
    2421
    2522/** Data patterns */
    26 u8_t pat0[]= {0x00, 0x00, 0x00, 0x00};
    27 u8_t pat1[]= {0xFF, 0xFF, 0xFF, 0xFF};
    28 u8_t pat2[]= {0xA5, 0x5A, 0x69, 0x96};
    29 u8_t pat3[]= {0x96, 0x69, 0x5A, 0xA5};
     23u8_t pat0[] = {0x00, 0x00, 0x00, 0x00};
     24u8_t pat1[] = {0xFF, 0xFF, 0xFF, 0xFF};
     25u8_t pat2[] = {0xA5, 0x5A, 0x69, 0x96};
     26u8_t pat3[] = {0x96, 0x69, 0x5A, 0xA5};
    3027
    3128/** Tests 8 bit NE2000 network interface.
Note: See TracChangeset for help on using the changeset viewer.