一、配置菜單
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