Changeset 122b753 in mainline for uspace/srv/hw/netif/dp8390/dp8390_port.h
- Timestamp:
- 2011-01-06T17:23:58Z (14 years ago)
- Branches:
- lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
- Children:
- 40559a96
- Parents:
- d3a0af7
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
uspace/srv/hw/netif/dp8390/dp8390_port.h
rd3a0af7 r122b753 78 78 #define outw(port, value) pio_write_16((ioport16_t *) (port), (value)) 79 79 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 92 80 /** Reads a memory block byte by byte. 93 81 * @param[in] port The address to be written. … … 181 169 } eth_stat_t; 182 170 183 /* errno.h */184 /** Generic error.185 */186 #define EGENERIC EINVAL187 188 171 /* ether.h */ 189 172 /** Minimum Ethernet packet size in bytes. 190 173 */ 191 #define ETH_MIN_PACK_SIZE 174 #define ETH_MIN_PACK_SIZE 60 192 175 193 176 /** Maximum Ethernet packet size in bytes. 194 177 */ 195 #define ETH_MAX_PACK_SIZE_TAGGED 178 #define ETH_MAX_PACK_SIZE_TAGGED 1518 196 179 197 180 /** Ethernet address type definition. 198 181 */ 199 typedef struct ether_addr 200 { 182 typedef struct ether_addr { 201 183 /** Address data. 202 184 */
Note:
See TracChangeset
for help on using the changeset viewer.