Changeset 7e1f9b7 in mainline for uspace/srv/hw
- Timestamp:
- 2010-11-20T17:10:35Z (15 years ago)
- Branches:
- lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
- Children:
- 32eceb4f, 8b3bff5
- Parents:
- 0b4a67a (diff), dd5046dd (diff)
Note: this is a merge changeset, the changes displayed below correspond to the merge itself.
Use the(diff)
links above to see all the changes relative to each parent. - Location:
- uspace/srv/hw/netif/dp8390
- Files:
-
- 4 edited
Legend:
- Unmodified
- Added
- Removed
-
uspace/srv/hw/netif/dp8390/dp8390.c
r0b4a67a r7e1f9b7 65 65 * @return 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)) -
uspace/srv/hw/netif/dp8390/dp8390.h
r0b4a67a r7e1f9b7 313 313 /** Outgoing packets queue. 314 314 */ 315 packet_t packet_queue;315 packet_t *packet_queue; 316 316 /** Outgoing packets count. 317 317 */ … … 320 320 /** Received packets queue. 321 321 */ 322 packet_t received_queue;322 packet_t *received_queue; 323 323 /** Received packets count. 324 324 */ -
uspace/srv/hw/netif/dp8390/dp8390_drv.h
r0b4a67a r7e1f9b7 72 72 * @returns 73 73 */ 74 int do_pwrite(dpeth_t * dep, packet_t packet, int from_int);74 int do_pwrite(dpeth_t * dep, packet_t *packet, int from_int); 75 75 76 76 /** Prints out network interface information. -
uspace/srv/hw/netif/dp8390/dp8390_module.c
r0b4a67a r7e1f9b7 103 103 netif_device_t * device; 104 104 dpeth_t * dep; 105 packet_t received;105 packet_t *received; 106 106 device_id_t device_id; 107 107 int phone; … … 247 247 } 248 248 249 int netif_send_message(device_id_t device_id, packet_t packet, services_t sender){250 netif_device_t * device; 251 dpeth_t * dep; 252 packet_t next;249 int netif_send_message(device_id_t device_id, packet_t *packet, services_t sender){ 250 netif_device_t * device; 251 dpeth_t * dep; 252 packet_t *next; 253 253 int rc; 254 254
Note:
See TracChangeset
for help on using the changeset viewer.