网卡驱动——精选推荐
- 1、下载文档前请自行甄别文档内容的完整性,平台不提供额外的编辑、内容补充、找答案等附加服务。
- 2、"仅部分预览"的文档,不可在线预览部分如存在完整性等问题,可反馈申请退款(可完整预览的文档不适用该条件!)。
- 3、如文档侵犯您的权益,请联系客服反馈,我们会尽快为您处理(人工客服工作时间:9:00-18:30)。
⽹卡驱动
⼀、配置菜单
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。