Commit c656c74d authored by Zhangfei Gao's avatar Zhangfei Gao Committed by Andrey Konovalov

ether: add hip04_eth

ifconfig eth0; ping (host)
Signed-off-by: default avatarZhangfei Gao <>
parent 58e31664
* Hisilicon hip04 Ethernet Controller
Required properties:
- compatible: should be "hisilicon,hip04-mac".
- reg: address and length of the register set for the device.
- interrupts: interrupt for the device.
- port: port number combined with the controller: range from 0 to 31.
- speed: 100 (100M) or 1000 (1000M).
ge0: ethernet@2800000 {
compatible = "hisilicon,hip04-mac";
reg = <0x2800000 0x10000>;
interrupts = <0 434 4>;
port = <0>;
speed = <1000>;
* Hisilicon hip04 Ethernet ppe: control rx & rx fifos of all ethnet controllers
Required properties:
- compatible: should be "hisilicon,ppebase".
ppebase: ppebase@28c0000 {
compatible = "hisilicon,ppebase";
reg = <0x28c0000 0x10000>;
......@@ -166,5 +166,6 @@ source "drivers/net/ethernet/via/Kconfig"
source "drivers/net/ethernet/wiznet/Kconfig"
source "drivers/net/ethernet/xilinx/Kconfig"
source "drivers/net/ethernet/xircom/Kconfig"
source "drivers/net/ethernet/hisilicon/Kconfig"
endif # ETHERNET
......@@ -77,3 +77,4 @@ obj-$(CONFIG_NET_VENDOR_VIA) += via/
obj-$(CONFIG_NET_VENDOR_WIZNET) += wiznet/
obj-$(CONFIG_NET_VENDOR_XILINX) += xilinx/
obj-$(CONFIG_NET_VENDOR_XIRCOM) += xircom/
obj-$(CONFIG_NET_VENDOR_HISILICON) += hisilicon/
# HISILICON device configuration
bool "Hisilicon devices"
default y
depends on (ARM && ARCH_HIP04)
If you have a network (Ethernet) card belonging to this class, say Y
and read the Ethernet-HOWTO, available from
Note that the answer to this question doesn't directly affect the
kernel: saying N will just cause the configurator to skip all
the questions about MOXA ART devices. If you say Y, you will be asked
for your specific card in the following questions.
config HIP04_ETH
tristate "HISILICON P04 Ethernet support"
depends on ARM && ARCH_HIP04
select NET_CORE
If you wish to compile a kernel for a hardware with hisilicon p04 SoC and
want to use the internal ethernet then you should answer Y to this.
# Makefile for the HISILICON network device drivers.
obj-$(CONFIG_HIP04_ETH) += hip04_eth.o
This diff is collapsed.
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment