Ignore:
Timestamp:
2011-01-06T17:23:58Z (14 years ago)
Author:
Martin Decky <martin@…>
Branches:
lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
Children:
40559a96
Parents:
d3a0af7
Message:

more declutter

File:
1 edited

Legend:

Unmodified
Added
Removed
  • uspace/srv/hw/netif/dp8390/dp8390_port.h

    rd3a0af7 r122b753  
    7878#define outw(port, value)  pio_write_16((ioport16_t *) (port), (value))
    7979
    80 /** Copies a memory block.
    81  *  @param proc The source process. Ignored parameter.
    82  *  @param src_s Ignored parameter.
    83  *  @param[in] src The source address.
    84  *  @param me The current proces. Ignored parameter.
    85  *  @param dst_s Ignored parameter.
    86  *  @param[in] dst The destination address.
    87  *  @param[in] bytes The block size in bytes.
    88  *  @returns EOK.
    89  */
    90 #define sys_vircopy(proc, src_s, src, me, dst_s, dst, bytes)    ({memcpy((void *)(dst), (void *)(src), (bytes)); EOK;})
    91 
    9280/** Reads a memory block byte by byte.
    9381 *  @param[in] port The address to be written.
     
    181169} eth_stat_t;
    182170
    183 /* errno.h */
    184 /** Generic error.
    185  */
    186 #define EGENERIC     EINVAL
    187 
    188171/* ether.h */
    189172/** Minimum Ethernet packet size in bytes.
    190173 */
    191 #define ETH_MIN_PACK_SIZE                 60
     174#define ETH_MIN_PACK_SIZE  60
    192175
    193176/** Maximum Ethernet packet size in bytes.
    194177 */
    195 #define ETH_MAX_PACK_SIZE_TAGGED        1518
     178#define ETH_MAX_PACK_SIZE_TAGGED  1518
    196179
    197180/** Ethernet address type definition.
    198181 */
    199 typedef struct ether_addr
    200 {
     182typedef struct ether_addr {
    201183        /** Address data.
    202184         */
Note: See TracChangeset for help on using the changeset viewer.