Changeset e4f8c77 in mainline for uspace/srv/hw/netif/ne2000/dp8390.c


Ignore:
Timestamp:
2011-07-13T22:39:18Z (13 years ago)
Author:
Jiří Zárevúcky <zarevucky.jiri@…>
Branches:
lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
Children:
e6910c8
Parents:
5974661 (diff), 8ecef91 (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 libposix.

File:
1 edited

Legend:

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

    r5974661 re4f8c77  
    483483}
    484484
    485 static link_t *ne2k_receive(ne2k_t *ne2k)
     485static list_t *ne2k_receive(ne2k_t *ne2k)
    486486{
    487487        /*
     
    490490         * frames from the network, but they will be lost.
    491491         */
    492         link_t *frames = (link_t *) malloc(sizeof(link_t));
     492        list_t *frames = (list_t *) malloc(sizeof(list_t));
    493493        if (frames != NULL)
    494494                list_initialize(frames);
     
    567567}
    568568
    569 link_t *ne2k_interrupt(ne2k_t *ne2k, uint8_t isr, uint8_t tsr)
     569list_t *ne2k_interrupt(ne2k_t *ne2k, uint8_t isr, uint8_t tsr)
    570570{
    571571        /* List of received frames */
    572         link_t *frames = NULL;
     572        list_t *frames = NULL;
    573573       
    574574        if (isr & (ISR_PTX | ISR_TXE)) {
Note: See TracChangeset for help on using the changeset viewer.