代码搜索结果
找到约 15,197 项符合
Ethernet 的代码
ethernet.h
//*****************************************************************************
//
// ethernet.h - Defines and Macros for the ethernet module.
//
// Copyright (c) 2006-2007 Luminary Micro, Inc. A
ethernet.h
/*
* Fundamental constants relating to ethernet.
*
* $FreeBSD: src/sys/net/ethernet.h,v 1.20 2002/04/04 05:42:09 luigi Exp $
*
*/
#ifndef _NET_ETHERNET_H_
#define _NET_ETHERNET_H_
/*
* The num
ethernet.c
/* $Id: ethernet.c,v 1.22 2002/01/30 07:48:22 matsfg Exp $
*
* e100net.c: A network driver for the ETRAX 100LX network controller.
*
* Copyright (c) 1998-2001 Axis Communications AB.
*
* The out
ethernet.c
/* $Id: ethernet.c,v 1.22 2002/01/30 07:48:22 matsfg Exp $
*
* e100net.c: A network driver for the ETRAX 100LX network controller.
*
* Copyright (c) 1998-2001 Axis Communications AB.
*
* The out
ethernet.h
/*
* ioctl defines for ethernet driver
*
* Copyright (c) 2001 Axis Communications AB
*
* Author: Mikael Starvik
*
*/
#ifndef _CRIS_ETHERNET_H
#define _CRIS_ETHERNET_H
#define SET_ETH_SPEED
ethernet.c
//*****************************************************************************
//
// ethernet.c - Driver for the Integrated Ethernet Controller
//
// Copyright (c) 2006-2007 Luminary Micro, Inc.
ethernet.h
//*****************************************************************************
//
// ethernet.h - Defines and Macros for the ethernet module.
//
// Copyright (c) 2006-2007 Luminary Micro, Inc. A
ethernet.h
/*
* Fundamental constants relating to ethernet.
*
* $FreeBSD: src/sys/net/ethernet.h,v 1.20 2002/04/04 05:42:09 luigi Exp $
*
*/
#ifndef _NET_ETHERNET_H_
#define _NET_ETHERNET_H_
/*
* The num
ethernet.c
/*
*
* NIC(CS8900A)驱动模块
*
*/
#include "Ethernet.h"
// 物理地址,默认为22-44-66-88-AA-CC,可在初始化NIC前改写
u16 local_eth_addr[3] = {0x4422, 0x8866, 0xCCAA};
// 从NIC端口输入
inline u16 NIC_InPort(u16 r
ethernet.c
#include "Ethernet.h"
u16 local_eth_addr[3] = {0x4422, 0x8866, 0xCCAA};
inline u16 NIC_InPort(u16 reg)
{
ETH_Addr_Port = reg;
return ETH_Data_Port;
}
inline void NIC_OutPort(u16 reg, u1