一、配置菜单
Device Drivers
[*] Network device support --->
网络设备驱动、网卡驱动
< > Bonding driver support
功能:多网卡绑定
具体 *** 作为:将多个以太网通道绑定为一个,也就是两块网卡具有相同的IP地址并且聚合成一个逻辑链路工作,可以用来实现负载均衡或硬件冗余
< > Dummy net driver support
功能:哑接口网络
使用环境:使用SLIP或PPP传输协议(如ADSL用户)的需要它
具体 *** 作:设置一个虚拟网络。虚拟网络(dummy network)就像网络中的/dev/null。任何发送给虚拟网络的数据都会永久消失,因为它会发往/dev/null。IP地址没有设置。用户可以定义他们的网络相当于/dev/null)
< > EQL (serial line load balancing) support
功能:串行线路的负载均衡
具体 *** 作:如果有两个MODEM和两条电话线而且用SLIP或PPP协议,该选项可以让您同时使用这两个MODEM以达到双倍速度(在网络的另一端也要有同样的设备)
< > Generic Media Independent Interface device support
功能:通用媒体独立接口设备支持
背景介绍:MII是一种用于最高速度为100Mbit/s以太网的接口。以太网线缆用于连接到PHY ceiver,是一种以太网收发器
< > Ethernet team driver support (EXPERIMENTAL) --->
功能:team网卡组支持
背景介绍:通过虚拟接口组织许多以太网设备
< > MAC-VLAN support (EXPERIMENTAL)
功能:允许用户在特定的MAC地址和某个接口上映射数据包
具体 *** 作:基于MAC地址的VLAN,一种根据报文的源MAC地址来确定untagged报文所属VLAN的划分方法
< > Network console logging support
网络远程命令支持,远程登录用
注意:内核发送给网络的消息可任意通过这个特性记录下来。除非记录网络信息对你很重要时才启用它。禁用这个特性会增强性能。
< > Universal TUN/TAP device driver support
TUN/TAP可以为用户空间提供包的接收和发送服务,比如可以用来虚拟一张网卡或点对点通道
使用环境:如果用户空间程序希望使用TAP设备
< > Virtual ethernet pair device
本地以太网隧道
Ethernet driver support --->
不同特定供货商的以太网MAC设备驱动支持
<*> hieth gmac family network device support --->
海思MAC支持
[ ] Broadcom devices
< > Calxeda 1G/10G XGMAC Ethernet driver
[ ] Chelsio devices
[ ] Cirrus devices
< > DM9000 support
< > Dave ethernet support (DNET)
[ ] Faraday devices
[ ] Intel devices
[ ] Marvell devices
[ ] Micrel devices
[*] Microchip devices
< > ENC28J60 support
[ ] NaTIonal Semi-conductor devices
< > OpenCores 10/100 Mbps Ethernet MAC support
[ ] SEEQ devices
[ ] SMC (SMSC)/Western Digital devices
[ ] STMicroelectronics devices
<*> PHY Device support and infrastructure --->
数据链路层芯片简称为MAC控制器,物理层芯片简称之为PHY,通常的网卡把MAC和PHY的功能做到了一颗芯片中,但也有一些仅含PHY的"软网卡",这里就是软网卡的驱动
*** MII PHY device drivers ***
< >Drivers for the AMD PHYs
< >Drivers for Marvell PHYs
< >Drivers for Davicom PHYs
< >Drivers for Quality Semiconductor PHYs
< >Drivers for the Intel LXT PHYs
< >Drivers for the Cicada PHYs
< >Drivers for the Vitesse PHYs
< >Drivers for SMSC PHYs
< >Drivers for Broadcom PHYs
< >Drivers for ICPlus PHYs
< >Drivers for Realtek PHYs
< >Drivers for NaTIonal Semiconductor PHYs
< >Driver for STMicroelectronics STe10Xp PHYs
< >Driver for LSI ET1011C PHY
< >Driver for Micrel PHYs
[ ]Driver for MDIO Bus/PHY emulaTIon with fixed speed/link PHYs
< >Support for bitbanged MDIO buses
< > Micrel KS8995MA 5-ports 10/100 managed Ethernet switch
5端口10/100M以太网交换机芯片KS8995MA
< > PPP (point-to-point protocol) support
点对点协议,PPP已经基本取代SLIP了,ADSL拨号上网方式
< > SLIP (serial line) support
一个在串行线上(例如电话线)传输IP数据报的TCP/IP协议.
驱动支持SLIP和CSLIP。SLIP(Serial Line Internet Protocol)是一种用于调制解调器和串口的因特网驱动。PPP现在用来代替SLIP。CSLIP是压缩的SLIP。
USB Network Adapters --->
移动网络适配器
< >USB CATC NetMate-based Ethernet device support (EXPERIMENTAL)
用于10Mbps的USB以太网EL1210A芯片设备
< >USB KLSI KL5USB101-based ethernet device support
KLSI KL5KUSB101B芯片组
< >USB Pegasus/Pegasus-II based ethernet device support
USB转以太网的适配器/转换器
< >USB RTL8150 based ethernet device support (EXPERIMENTAL)
USB转以太网驱动
< >MulTI-purpose USB Networking Framework
< >Apple iPhone USB Ethernet driver
[*] Wireless LAN --->
无线LAN无线局域网
< >Marvell 8xxx Libertas WLAN driver support with thin firmware
< >Atmel at76c503/at76c505/at76c505a USB cards
< >USB ZD1201 based Wireless device support
< >Wireless RNDIS USB support
< >Realtek 8187 and 8187B USB support
< >Simulated radio testing tool for mac80211
[ ]Enable WiFi control function abstraction
< >Atheros Wireless Cards --->
< >Broadcom 43xx wireless support (mac80211 stack)
< >Broadcom 43xx-legacy wireless support (mac80211 stack)
< >Broadcom 4329/30 wireless cards support
< >Broadcom IEEE802.11n embedded FullMAC WLAN driver
< >IEEE 802.11 for Host AP (Prism2/2.5/3 and WEP/TKIP/CCMP)
< >Intel Wireless Multicomm 3200 WiFi driver
< >Marvell 8xxx Libertas WLAN driver support
< >Softmac Prism54 support
< >Ralink driver support --->
< >Realtek RTL8192CU/RTL8188CU USB Wireless Network Adapter
< >TI wl1251 driver support --->
< >TI wl12xx driver support --->
< >ZyDAS ZD1211/ZD1211B USB-wireless support
< >Marvell WiFi-Ex Driver
*** Enable WiMAX (Networking options) to see the WiMAX drivers ***
全球微波互联接入,也叫802·16无线城域网或802.16
[ ] Wan interfaces support --->
WAN接口
二、对应的Kconfig
driver/net/Kconfig
source "drivers/net/ethernet/Kconfig"
driver/net/ethernet/Kconfig
menuconfig ETHERNET
bool "Ethernet driver support"
depends on NET
default y
---help---
This section contains all the Ethernet device drivers.
if ETHERNET
source "drivers/net/ethernet/hieth-gmac/Kconfig"
endif
drivers/net/ethernet/hieth-gmac/Kconfig
menuconfig HIETH_GMAC
tristate "hieth gmac family network device support"
depends on ARCH_HI3516A
default y
help
This selects the hieth gmac family network device. The gigabit
switch fabric (GSF) receives and transmits data over two Ethernet
ports at 10/100/1000 Mbit/s in full-duplex or half-duplex mode.
The Ethernet port exchanges data with the CPU port, and supports
the energy efficient Ethernet (EEE) and wake on LAN (WoL) functions.
if HIETH_GMAC
海思配置
endif
三、对应的Makefile
drivers/net/ethernet/hieth-gmac/Makefile
obj-$(CONFIG_HIETH_GMAC) += hieth-gmac.o
hieth-gmac-objs := ctrl.o higmac.o mdio.o forward.o autoeee/autoeee.o autoeee/phy_id_table.o phy_fix.o
欢迎分享,转载请注明来源:内存溢出
评论列表(0条)