Skip to contentSkip to conversation

Driver for xilinx ethernet MAC core

PATCH New Peter 'p2' De Schrijver 1 participant 1 message Sep 4, 2002 Network drivers

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 Driver for xilinx ethernet MAC core

Hi,

Attached you will find a patch to add support for the xilinx ethernet MAC core. It was tested on an implementation on a Xilinx Virtex2Pro.

Comments welcome,

Peter.
--

drivers/net/Config.in +3 -0
diff -urN -x CVS -x config -x modules -x mtd -x jffs2 -x jffs linuxppc_2_4_clean/drivers/net/Config.in linuxppc_2_4_xseg2.new.clean2/drivers/net/Config.in
@@ -41,6 +41,9 @@
 	 tristate '  National DP83902AV (Oak ethernet) support' CONFIG_OAKNET
       fi
    fi
+   if [ "$CONFIG_XSEG2" = "y" ]; then
+   	tristate '  Xilinx ethernet MAC support' CONFIG_XEMAC
+   fi
    if [ "$CONFIG_ZORRO" = "y" ]; then
       tristate '  Ariadne support' CONFIG_ARIADNE
       tristate '  Ariadne II and X-Surf support' CONFIG_NE2K_ZORRO
drivers/net/Makefile +1 -0
diff -urN -x CVS -x config -x modules -x mtd -x jffs2 -x jffs linuxppc_2_4_clean/drivers/net/Makefile linuxppc_2_4_xseg2.new.clean2/drivers/net/Makefile
@@ -84,6 +84,7 @@
 obj-$(CONFIG_FEALNX) += fealnx.o mii.o
 obj-$(CONFIG_TC35815) += tc35815.o
 obj-$(CONFIG_TIGON3) += tg3.o
+obj-$(CONFIG_XEMAC) += xemac.o
 
 ifeq ($(CONFIG_SK98LIN),y)
 obj-y += sk98lin/sk98lin.o
drivers/net/xemac.c +838 -0

838 lines not on this page · raw message

drivers/net/xemac.h +196 -0

196 lines not on this page · raw message