Ignore:
File:
1 edited

Legend:

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

    r66b628a r46d4d9f  
    4040#include "dp8390.h"
    4141
    42 int do_init(dpeth_t *dep);
     42/** Initializes and/or starts the network interface.
     43 *  @param[in,out] dep The network interface structure.
     44 *  @param[in] mode The state mode.
     45 *  @returns EOK on success.
     46 *  @returns EXDEV if the network interface is disabled.
     47 */
     48int do_init(dpeth_t *dep, int mode);
    4349
    4450/** Stops the network interface.
     
    4955/** Processes the interrupt.
    5056 *  @param[in,out] dep The network interface structure.
     57 *  @param[in] isr The interrupt status register.
    5158 */
    52 void dp_check_ints(int nil_phone, device_id_t device_id, dpeth_t *dep, uint8_t isr);
     59void dp_check_ints(dpeth_t *dep, int isr);
    5360
    5461/** Probes and initializes the network interface.
     
    6370 *  @param[in] packet The packet t be sent.
    6471 *  @param[in] from_int The value indicating whether the sending is initialized from the interrupt handler.
    65  *  @returns
     72 *  @returns 
    6673 */
    6774int 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 */
     79void dp8390_dump(dpeth_t * dep);
    6880
    6981#endif
Note: See TracChangeset for help on using the changeset viewer.