Subject: [PATCH 01/04] Freescale Ethernet combined driver

From: Pantelis Antoniou <[email-masked]>
Date: Mon, 09 May 2005 14:44:56 +0300

Hi

The following patch is a combined FCC/FEC ethernet driver
for the Freescale line of PowerQUICCs.

FECs on 8xx and FCCs on 82xx are supported.

This part of the patch contains makefiles and friends.

Regards

Pantelis

Signed-off-by: Pantelis Antoniou <[email-masked]>
--- linux-2.6.11.7-fs_enet.orig/drivers/net/Kconfig
+++ linux-2.6.11.7-fs_enet/drivers/net/Kconfig
@@ -1810,6 +1810,7 @@ config NE_H8300
 	  controller on the Renesas H8/300 processor.
 
 source "drivers/net/fec_8xx/Kconfig"
+source "drivers/net/fs_enet/Kconfig"
 
 endmenu
 
--- linux-2.6.11.7-fs_enet.orig/drivers/net/Makefile
+++ linux-2.6.11.7-fs_enet/drivers/net/Makefile
@@ -182,6 +182,7 @@ obj-$(CONFIG_IBMVETH) += ibmveth.o
 obj-$(CONFIG_S2IO) += s2io.o
 obj-$(CONFIG_SMC91X) += smc91x.o
 obj-$(CONFIG_FEC_8XX) += fec_8xx/
+obj-$(CONFIG_FS_ENET) += fs_enet/
 
 obj-$(CONFIG_ARM) += arm/
 obj-$(CONFIG_NET_FC) += fc/
@@ -197,3 +198,6 @@ obj-$(CONFIG_IRDA) += irda/
 obj-$(CONFIG_ETRAX_ETHERNET) += cris/
 
 obj-$(CONFIG_NETCONSOLE) += netconsole.o
+
+obj-$(CONFIG_FS_ENET) += fs_enet/ mii.o
+
--- /dev/null
+++ linux-2.6.11.7-fs_enet/drivers/net/fs_enet/Kconfig
@@ -0,0 +1,4 @@
+config FS_ENET
+	tristate "Freescale Ethernet Driver"
+	depends on NET_ETHERNET && (8xx || 8260)
+	select MII
--- /dev/null
+++ linux-2.6.11.7-fs_enet/drivers/net/fs_enet/Makefile
@@ -0,0 +1,10 @@
+#
+# Makefile for the Freescale Ethernet controllers
+#
+
+obj-$(CONFIG_FS_ENET) += fs_enet.o
+
+obj-$(CONFIG_8xx) += mac-fec.o
+obj-$(CONFIG_8260) += mac-fcc.o
+
+fs_enet-objs := fs_enet-main.o fs_enet-mii.o mii-bitbang.o mii-fixed.o