Ignore:
Timestamp:
2011-01-06T17:18:40Z (13 years ago)
Author:
Martin Decky <martin@…>
Branches:
lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade
Children:
122b753
Parents:
b590c21
Message:

declutter

File:
1 edited

Legend:

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

    rb590c21 rd3a0af7  
    9292/** Reads a memory block byte by byte.
    9393 *  @param[in] port The address to be written.
    94  *  @param proc The source process. Ignored parameter.
    9594 *  @param[in] dst The destination address.
    9695 *  @param[in] bytes The block size in bytes.
    9796 */
    98 #define do_vir_insb(port, proc, dst, bytes)     insb((port), (void *)(dst), (bytes))
     97#define do_vir_insb(port, dst, bytes)  insb((port), (void *)(dst), (bytes))
    9998
    10099/** Reads a memory block word by word (2 bytes).
    101100 *  @param[in] port The address to be written.
    102  *  @param proc The source process. Ignored parameter.
    103101 *  @param[in] dst The destination address.
    104102 *  @param[in] bytes The block size in bytes.
    105103 */
    106 #define do_vir_insw(port, proc, dst, bytes)     insw((port), (void *)(dst), (bytes))
     104#define do_vir_insw(port, dst, bytes)  insw((port), (void *)(dst), (bytes))
    107105
    108106/** Writes a memory block byte by byte.
    109107 *  @param[in] port The address to be written.
    110  *  @param proc The source process. Ignored parameter.
    111108 *  @param[in] src The source address.
    112109 *  @param[in] bytes The block size in bytes.
    113110 */
    114 #define do_vir_outsb(port, proc, src, bytes)    outsb((port), (void *)(src), (bytes))
     111#define do_vir_outsb(port, src, bytes)  outsb((port), (void *)(src), (bytes))
    115112
    116113/** Writes a memory block word by word (2 bytes).
    117114 *  @param[in] port The address to be written.
    118  *  @param proc The source process. Ignored parameter.
    119115 *  @param[in] src The source address.
    120116 *  @param[in] bytes The block size in bytes.
    121117 */
    122 #define do_vir_outsw(port, proc, src, bytes)    outsw((port), (void *)(src), (bytes))
     118#define do_vir_outsw(port, src, bytes)  outsw((port), (void *)(src), (bytes))
    123119
    124120/* Bits in 'DL_MODE' field of DL requests. */
     
    208204} ether_addr_t;
    209205
    210 /* type.h */
    211 /** Type definition of the physical addresses and lengths in bytes.
    212  */
    213 typedef unsigned long phys_bytes;
    214 
    215 /** Type definition of the virtual addresses and lengths in bytes.
    216  */
    217 typedef unsigned long vir_bytes;
    218 
    219206/** Type definition of the input/output vector.
    220207 */
     
    222209        /** Address of an I/O buffer.
    223210         */
    224         vir_bytes iov_addr;
    225         /** Sizeof an I/O buffer.
    226          */
    227         vir_bytes iov_size;
     211        void *iov_addr;
     212       
     213        /** Size of an I/O buffer.
     214         */
     215        size_t iov_size;
    228216} iovec_t;
    229217
Note: See TracChangeset for help on using the changeset viewer.