Changes in uspace/srv/hw/netif/dp8390/dp8390.c [46d4d9f:c69d327] in mainline
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
uspace/srv/hw/netif/dp8390/dp8390.c
r46d4d9f rc69d327 62 62 * @param[in] dep The network interface structure. 63 63 * @param[in] packet The outgoing packet. 64 * @return EOK on success.65 * @return EINVAL64 * @returns EOK on success. 65 * @returns EINVAL 66 66 */ 67 int queue_packet(dpeth_t * dep, packet_t *packet);67 int queue_packet(dpeth_t * dep, packet_t packet); 68 68 69 69 /** Reads a memory block byte by byte. … … 336 336 } 337 337 338 int queue_packet(dpeth_t * dep, packet_t *packet){339 packet_t *tmp;338 int queue_packet(dpeth_t * dep, packet_t packet){ 339 packet_t tmp; 340 340 341 341 if(dep->packet_count >= MAX_PACKETS){ … … 361 361 * based on do_vwrite * 362 362 *===========================================================================*/ 363 int do_pwrite(dpeth_t * dep, packet_t *packet, int from_int)363 int do_pwrite(dpeth_t * dep, packet_t packet, int from_int) 364 364 { 365 365 // int port, count, size; … … 910 910 dpeth_t *dep; 911 911 { 912 packet_t *packet;912 packet_t packet; 913 913 914 914 // if (!(dep->de_flags &DEF_SEND_AVAIL)) … … 1003 1003 { 1004 1004 int last, count; 1005 packet_t *packet;1005 packet_t packet; 1006 1006 1007 1007 // if (!(dep->de_flags &DEF_READING))
Note:
See TracChangeset
for help on using the changeset viewer.