Ignore:
Timestamp:
2011-01-06T20:16:24Z (14 years ago)
Author:
Martin Decky <martin@…>
Branches:
lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
Children:
c2f3e0b
Parents:
196ef08 (diff), e0854e3 (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 of a huge refactoring of the original NE2000 driver

  • coding style changes
  • removal of all the unnecessary and unused stuff from the original MINIX driver
  • improved interrupt handling
  • removal of several additional buffering layers

The TCP/IP stack is still not 100 % functional (spurious packet losses, duplicate frames, etc.), but it is being debugged on a real netowkr now (QEMU/KVM connected via TAP bridge into a LAN). It is possible to ping the virtual machine with HelenOS from the LAN and even ping machines on the public Internet from HelenOS.

The cleanup of the original NE2000 driver should allow a faster debugging pace.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • uspace/srv/hw/netif/dp8390/dp8390_drv.h

    r196ef08 rb1d15e7  
    5555/** Processes the interrupt.
    5656 *  @param[in,out] dep The network interface structure.
    57  *  @param[in] isr The interrupt status register.
    5857 */
    59 void dp_check_ints(dpeth_t *dep, int isr);
     58void dp_check_ints(int nil_phone, device_id_t device_id, dpeth_t *dep, int isr);
    6059
    6160/** Probes and initializes the network interface.
     
    7069 *  @param[in] packet The packet t be sent.
    7170 *  @param[in] from_int The value indicating whether the sending is initialized from the interrupt handler.
    72  *  @returns 
     71 *  @returns
    7372 */
    7473int do_pwrite(dpeth_t * dep, packet_t *packet, int from_int);
    75 
    76 /** Prints out network interface information.
    77  *  @param[in] dep The network interface structure.
    78  */
    79 void dp8390_dump(dpeth_t * dep);
    8074
    8175#endif
Note: See TracChangeset for help on using the changeset viewer.