Changeset 40559a96 in mainline for uspace/srv/hw/netif/dp8390/dp8390_port.h
- Timestamp:
- 2011-01-06T17:51:26Z (14 years ago)
- Branches:
- lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
- Children:
- 096234b
- Parents:
- 122b753
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
uspace/srv/hw/netif/dp8390/dp8390_port.h
r122b753 r40559a96 78 78 #define outw(port, value) pio_write_16((ioport16_t *) (port), (value)) 79 79 80 /** Reads a memory block byte by byte.81 * @param[in] port The address to be written.82 * @param[in] dst The destination address.83 * @param[in] bytes The block size in bytes.84 */85 #define do_vir_insb(port, dst, bytes) insb((port), (void *)(dst), (bytes))86 87 /** Reads a memory block word by word (2 bytes).88 * @param[in] port The address to be written.89 * @param[in] dst The destination address.90 * @param[in] bytes The block size in bytes.91 */92 #define do_vir_insw(port, dst, bytes) insw((port), (void *)(dst), (bytes))93 94 /** Writes a memory block byte by byte.95 * @param[in] port The address to be written.96 * @param[in] src The source address.97 * @param[in] bytes The block size in bytes.98 */99 #define do_vir_outsb(port, src, bytes) outsb((port), (void *)(src), (bytes))100 101 /** Writes a memory block word by word (2 bytes).102 * @param[in] port The address to be written.103 * @param[in] src The source address.104 * @param[in] bytes The block size in bytes.105 */106 #define do_vir_outsw(port, src, bytes) outsw((port), (void *)(src), (bytes))107 108 80 /* Bits in 'DL_MODE' field of DL requests. */ 109 81 #define DL_NOMODE 0x0 … … 169 141 } eth_stat_t; 170 142 171 /* ether.h */172 143 /** Minimum Ethernet packet size in bytes. 173 144 */ … … 186 157 } ether_addr_t; 187 158 188 /** Type definition of the input/output vector.189 */190 typedef struct {191 /** Address of an I/O buffer.192 */193 void *iov_addr;194 195 /** Size of an I/O buffer.196 */197 size_t iov_size;198 } iovec_t;199 200 159 #endif 201 160
Note:
See TracChangeset
for help on using the changeset viewer.