📄 1015.gnet.patch
字号:
diff -Naur linux.org/drivers/net/Config.in linux.patched/drivers/net/Config.in--- linux.org/drivers/net/Config.in 2004-02-05 19:14:47.000000000 +0100+++ linux.patched/drivers/net/Config.in 2004-02-05 19:15:17.000000000 +0100@@ -2,6 +2,9 @@ # Network device configuration # +if [ "$CONFIG_ARCH_EM86XX" = "y" -o "$CONFIG_TANGO2" = "y" ]; then+ bool 'GNET support' CONFIG_GNET+fi source drivers/net/arcnet/Config.in tristate 'Dummy net driver support' CONFIG_DUMMYdiff -Naur linux.org/drivers/net/Makefile linux.patched/drivers/net/Makefile--- linux.org/drivers/net/Makefile 2004-02-05 19:15:00.000000000 +0100+++ linux.patched/drivers/net/Makefile 2004-02-05 19:15:27.000000000 +0100@@ -8,7 +8,7 @@ obj-n := obj- := -mod-subdirs := appletalk arcnet fc irda tokenring pcmcia wireless wan+mod-subdirs := appletalk arcnet fc irda tokenring pcmcia wireless wan gnet O_TARGET := net.o @@ -27,6 +27,10 @@ obj-$(CONFIG_OCP_NET) += ibm_emac/ocp.o +ifeq ($(CONFIG_GNET),y)+ obj-y += gnet/gnetdrv.o+endif+ ifeq ($(CONFIG_E1000),y) obj-y += e1000/e1000.o endif@@ -54,6 +58,7 @@ subdir-$(CONFIG_E100) += e100 subdir-$(CONFIG_E1000) += e1000 subdir-$(CONFIG_BONDING) += bonding+subdir-$(CONFIG_GNET) += gnet # # link order important herediff -Naur linux.org/drivers/net/gnet/Makefile linux.patched/drivers/net/gnet/Makefile--- linux.org/drivers/net/gnet/Makefile 1970-01-01 01:00:00.000000000 +0100+++ linux.patched/drivers/net/gnet/Makefile 2005-07-29 10:11:27.477055062 +0200@@ -0,0 +1,18 @@+# Makefile for linux/drivers/net/arcnet+#+# Note! Dependencies are done automagically by 'make dep', which also+# removes any old dependencies. DON'T put your own dependencies here+# unless it's something special (ie not a .c file).+#++obj-y :=+obj-n :=+obj-m :=+obj- :=+export-objs := ++obj-$(CONFIG_GNET) += probe.o net.o gnet_k.o emhwlib.o dbgimplementation.o++O_TARGET := gnetdrv.o++include $(TOPDIR)/Rules.makediff -Naur linux.org/drivers/net/gnet/common.h linux.patched/drivers/net/gnet/common.h--- linux.org/drivers/net/gnet/common.h 1970-01-01 01:00:00.000000000 +0100+++ linux.patched/drivers/net/gnet/common.h 2005-07-29 10:11:27.379068594 +0200@@ -0,0 +1,60 @@+/*****************************************+ Copyright
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -