Skip to content

Commit 48257c4

Browse files
pantonioujgarzik
authored andcommitted
Add fs_enet ethernet network driver, for several embedded platforms.
1 parent d8840ac commit 48257c4

13 files changed

Lines changed: 4400 additions & 0 deletions

File tree

drivers/net/Kconfig

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1775,6 +1775,7 @@ config NE_H8300
17751775
controller on the Renesas H8/300 processor.
17761776

17771777
source "drivers/net/fec_8xx/Kconfig"
1778+
source "drivers/net/fs_enet/Kconfig"
17781779

17791780
endmenu
17801781

drivers/net/Makefile

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -203,3 +203,6 @@ obj-$(CONFIG_IRDA) += irda/
203203
obj-$(CONFIG_ETRAX_ETHERNET) += cris/
204204

205205
obj-$(CONFIG_NETCONSOLE) += netconsole.o
206+
207+
obj-$(CONFIG_FS_ENET) += fs_enet/
208+

drivers/net/fs_enet/Kconfig

Lines changed: 20 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,20 @@
1+
config FS_ENET
2+
tristate "Freescale Ethernet Driver"
3+
depends on NET_ETHERNET && (CPM1 || CPM2)
4+
select MII
5+
6+
config FS_ENET_HAS_SCC
7+
bool "Chip has an SCC usable for ethernet"
8+
depends on FS_ENET && (CPM1 || CPM2)
9+
default y
10+
11+
config FS_ENET_HAS_FCC
12+
bool "Chip has an FCC usable for ethernet"
13+
depends on FS_ENET && CPM2
14+
default y
15+
16+
config FS_ENET_HAS_FEC
17+
bool "Chip has an FEC usable for ethernet"
18+
depends on FS_ENET && CPM1
19+
default y
20+

drivers/net/fs_enet/Makefile

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,10 @@
1+
#
2+
# Makefile for the Freescale Ethernet controllers
3+
#
4+
5+
obj-$(CONFIG_FS_ENET) += fs_enet.o
6+
7+
obj-$(CONFIG_8xx) += mac-fec.o mac-scc.o
8+
obj-$(CONFIG_8260) += mac-fcc.o
9+
10+
fs_enet-objs := fs_enet-main.o fs_enet-mii.o mii-bitbang.o mii-fixed.o

0 commit comments

Comments
 (0)