Changeset 7e1f9b7 in mainline for uspace/srv/hw


Ignore:
Timestamp:
2010-11-20T17:10:35Z (15 years ago)
Author:
Jakub Jermar <jakub@…>
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.
Message:

Merge from lp:~jakub/helenos/net.

Location:
uspace/srv/hw/netif/dp8390
Files:
4 edited

Legend:

Unmodified
Added
Removed
  • uspace/srv/hw/netif/dp8390/dp8390.c

    r0b4a67a r7e1f9b7  
    6565 *  @return EINVAL
    6666 */
    67 int queue_packet(dpeth_t * dep, packet_t packet);
     67int queue_packet(dpeth_t * dep, packet_t *packet);
    6868
    6969/** Reads a memory block byte by byte.
     
    336336}
    337337
    338 int queue_packet(dpeth_t * dep, packet_t packet){
    339         packet_t tmp;
     338int queue_packet(dpeth_t * dep, packet_t *packet){
     339        packet_t *tmp;
    340340
    341341        if(dep->packet_count >= MAX_PACKETS){
     
    361361 *                      based on        do_vwrite                                    *
    362362 *===========================================================================*/
    363 int do_pwrite(dpeth_t * dep, packet_t packet, int from_int)
     363int do_pwrite(dpeth_t * dep, packet_t *packet, int from_int)
    364364{
    365365//      int port, count, size;
     
    910910dpeth_t *dep;
    911911{
    912         packet_t packet;
     912        packet_t *packet;
    913913
    914914//      if (!(dep->de_flags &DEF_SEND_AVAIL))
     
    10031003{
    10041004        int last, count;
    1005         packet_t packet;
     1005        packet_t *packet;
    10061006
    10071007//      if (!(dep->de_flags &DEF_READING))
  • uspace/srv/hw/netif/dp8390/dp8390.h

    r0b4a67a r7e1f9b7  
    313313        /** Outgoing packets queue.
    314314         */
    315         packet_t packet_queue;
     315        packet_t *packet_queue;
    316316        /** Outgoing packets count.
    317317         */
     
    320320        /** Received packets queue.
    321321         */
    322         packet_t received_queue;
     322        packet_t *received_queue;
    323323        /** Received packets count.
    324324         */
  • uspace/srv/hw/netif/dp8390/dp8390_drv.h

    r0b4a67a r7e1f9b7  
    7272 *  @returns
    7373 */
    74 int do_pwrite(dpeth_t * dep, packet_t packet, int from_int);
     74int do_pwrite(dpeth_t * dep, packet_t *packet, int from_int);
    7575
    7676/** Prints out network interface information.
  • uspace/srv/hw/netif/dp8390/dp8390_module.c

    r0b4a67a r7e1f9b7  
    103103        netif_device_t * device;
    104104        dpeth_t * dep;
    105         packet_t received;
     105        packet_t *received;
    106106        device_id_t device_id;
    107107        int phone;
     
    247247}
    248248
    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;
     249int 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;
    253253        int rc;
    254254
Note: See TracChangeset for help on using the changeset viewer.