Changeset cac458f in mainline for uspace/srv/hw/netif/ne2000/dp8390.c
- Timestamp:
- 2011-06-22T01:59:39Z (14 years ago)
- Branches:
- lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
- Children:
- 41e2118
- Parents:
- 79506d6 (diff), f1fae414 (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. - File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
uspace/srv/hw/netif/ne2000/dp8390.c
r79506d6 rcac458f 483 483 } 484 484 485 static li nk_t *ne2k_receive(ne2k_t *ne2k)485 static list_t *ne2k_receive(ne2k_t *ne2k) 486 486 { 487 487 /* … … 490 490 * frames from the network, but they will be lost. 491 491 */ 492 li nk_t *frames = (link_t *) malloc(sizeof(link_t));492 list_t *frames = (list_t *) malloc(sizeof(list_t)); 493 493 if (frames != NULL) 494 494 list_initialize(frames); … … 567 567 } 568 568 569 li nk_t *ne2k_interrupt(ne2k_t *ne2k, uint8_t isr, uint8_t tsr)569 list_t *ne2k_interrupt(ne2k_t *ne2k, uint8_t isr, uint8_t tsr) 570 570 { 571 571 /* List of received frames */ 572 li nk_t *frames = NULL;572 list_t *frames = NULL; 573 573 574 574 if (isr & (ISR_PTX | ISR_TXE)) {
Note:
See TracChangeset
for help on using the changeset viewer.