Changes in uspace/srv/hw/netif/ne2000/dp8390.c [b72efe8:c7bbf029] in mainline
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
uspace/srv/hw/netif/ne2000/dp8390.c
rb72efe8 rc7bbf029 483 483 } 484 484 485 static li st_t *ne2k_receive(ne2k_t *ne2k)485 static link_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 st_t *frames = (list_t *) malloc(sizeof(list_t));492 link_t *frames = (link_t *) malloc(sizeof(link_t)); 493 493 if (frames != NULL) 494 494 list_initialize(frames); … … 567 567 } 568 568 569 li st_t *ne2k_interrupt(ne2k_t *ne2k, uint8_t isr, uint8_t tsr)569 link_t *ne2k_interrupt(ne2k_t *ne2k, uint8_t isr, uint8_t tsr) 570 570 { 571 571 /* List of received frames */ 572 li st_t *frames = NULL;572 link_t *frames = NULL; 573 573 574 574 if (isr & (ISR_PTX | ISR_TXE)) {
Note:
See TracChangeset
for help on using the changeset viewer.