Subversion Repositories HelenOS

Compare Revisions

Ignore whitespace Rev 4755 → Rev 4756

/branches/network/uspace/srv/net/netif/dp8390/dp8390.c
21,7 → 21,7
* THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
*
* Changes:
* 2009 Lukas Mejdrech ported to HelenOS
* 2009 ported to HelenOS, Lukas Mejdrech
*/
 
/** @addtogroup dp8390
29,7 → 29,7
*/
 
/** @file
* \todo
* DP8390 network interface core implementation.
*/
 
#include <assert.h>
60,8 → 60,26
#include "local.h"
#include "dp8390.h"
 
/** Queues the outgoing packet.
* @param[in] dep The network interface structure.
* @param[in] packet The outgoing packet.
* @returns EOK on success.
* @returns EINVAL
*/
int queue_packet( dpeth_t * dep, packet_t packet );
 
/** Reads a memory block byte by byte.
* @param[in] port The source address.
* @param[out] buf The destination buffer.
* @param[in] size The memory block size in bytes.
*/
static void outsb( port_t port, void * buf, size_t size );
 
/** Reads a memory block word by word.
* @param[in] port The source address.
* @param[out] buf The destination buffer.
* @param[in] size The memory block size in bytes.
*/
static void outsw( port_t port, void * buf, size_t size );
 
//static u16_t eth_ign_proto;