###############################################################################
# #
# IPFire.org - A linux based firewall #
-# Copyright (C) 2007-2011 IPFire Team <info@ipfire.org> #
+# Copyright (C) 2007-2012 IPFire Team <info@ipfire.org> #
# #
# This program is free software: you can redistribute it and/or modify #
# it under the terms of the GNU General Public License as published by #
VERSUFIX = ipfire$(KCFG)
+# e1000 vendor modul is only for legacy xen kernel
+# The 3.2.x kernel has newer module.
+
+KVER = 2.6.32.60
+MODPATH = /lib/modules/$(KVER)-$(VERSUFIX)/kernel/drivers/net/e1000/
+
VER = 8.0.35
THISAPP = e1000-$(VER)
$(TARGET) : $(patsubst %,$(DIR_DL)/%,$(objects))
@$(PREBUILD)
#Save original e1000 module
- -mv /lib/modules/$(KVER)-$(VERSUFIX)/kernel/drivers/net/e1000/e1000.ko \
- /lib/modules/$(KVER)-$(VERSUFIX)/kernel/drivers/net/e1000/e1000.ko.org
+ -mv $(MODPATH)/e1000.ko \
+ $(MODPATH)/e1000.ko.org
@rm -rf $(DIR_APP) && cd $(DIR_SRC) && tar zxf $(DIR_DL)/$(DL_FILE)
cd $(DIR_APP)/src && make -C /lib/modules/$(KVER)-$(VERSUFIX)/build/ \
SUBDIRS=$(DIR_APP)/src modules
- cd $(DIR_APP)/src && install -m 644 e1000.ko \
- /lib/modules/$(KVER)-$(VERSUFIX)/kernel/drivers/net/e1000
+ cd $(DIR_APP)/src && install -m 644 e1000.ko $(MODPATH)
@rm -rf $(DIR_APP)
@$(POSTBUILD)
###############################################################################
# #
# IPFire.org - A linux based firewall #
-# Copyright (C) 2007-2011 IPFire Team <info@ipfire.org> #
+# Copyright (C) 2007-2012 IPFire Team <info@ipfire.org> #
# #
# This program is free software: you can redistribute it and/or modify #
# it under the terms of the GNU General Public License as published by #
include Config
VERSUFIX = ipfire$(KCFG)
+ifeq "$(KCFG)" "-xen"
+ KVER = 2.6.32.60
+ MODPATH = /lib/modules/$(KVER)-$(VERSUFIX)/kernel/drivers/net/e1000e
+else
+ MODPATH = /lib/modules/$(KVER)-$(VERSUFIX)/kernel/drivers/net/ethernet/intel/e1000e
+endif
-VER = 1.6.3
+VER = 2.1.4
THISAPP = e1000e-$(VER)
DL_FILE = $(THISAPP).tar.gz
$(DL_FILE) = $(DL_FROM)/$(DL_FILE)
-$(DL_FILE)_MD5 = 9526a6c004f936506a90e10911420bf8
+$(DL_FILE)_MD5 = e8dba81bfc86c6c75f39d025fb70899f
install : $(TARGET)
$(TARGET) : $(patsubst %,$(DIR_DL)/%,$(objects))
@$(PREBUILD)
#Save original e1000e module
- -mv /lib/modules/$(KVER)-$(VERSUFIX)/kernel/drivers/net/e1000e/e1000e.ko \
- /lib/modules/$(KVER)-$(VERSUFIX)/kernel/drivers/net/e1000e/e1000e.ko.org
+ -mv $(MODPATH)/e1000e.ko \
+ $(MODPATH)/e1000e.ko.org
@rm -rf $(DIR_APP) && cd $(DIR_SRC) && tar zxf $(DIR_DL)/$(DL_FILE)
cd $(DIR_APP)/src && make -C /lib/modules/$(KVER)-$(VERSUFIX)/build/ \
SUBDIRS=$(DIR_APP)/src modules
- cd $(DIR_APP)/src && install -m 644 e1000e.ko \
- /lib/modules/$(KVER)-$(VERSUFIX)/kernel/drivers/net/e1000e
+ cd $(DIR_APP)/src && install -m 644 e1000e.ko $(MODPATH)
@rm -rf $(DIR_APP)
@$(POSTBUILD)
###############################################################################
# #
# IPFire.org - A linux based firewall #
-# Copyright (C) 2007-2011 IPFire Team <info@ipfire.org> #
+# Copyright (C) 2007-2012 IPFire Team <info@ipfire.org> #
# #
# This program is free software: you can redistribute it and/or modify #
# it under the terms of the GNU General Public License as published by #
include Config
VERSUFIX = ipfire$(KCFG)
+ifeq "$(KCFG)" "-xen"
+ KVER = 2.6.32.60
+ MODPATH = /lib/modules/$(KVER)-$(VERSUFIX)/kernel/drivers/net/igb/
+else
+ MODPATH = /lib/modules/$(KVER)-$(VERSUFIX)/kernel/drivers/net/ethernet/intel/igb/
+endif
-VER = 3.2.10
+VER = 3.4.8
THISAPP = igb-$(VER)
DL_FILE = $(THISAPP).tar.gz
$(DL_FILE) = $(DL_FROM)/$(DL_FILE)
-$(DL_FILE)_MD5 = 22d09e7f7c8f0b23f744914e41c7ce43
+$(DL_FILE)_MD5 = 36bd0eface2761577f52d84d5c5b78ea
install : $(TARGET)
$(TARGET) : $(patsubst %,$(DIR_DL)/%,$(objects))
@$(PREBUILD)
#Save original igb module
- -mv /lib/modules/$(KVER)-$(VERSUFIX)/kernel/drivers/net/igb/igb.ko \
- /lib/modules/$(KVER)-$(VERSUFIX)/kernel/drivers/net/igb/igb.ko.org
+ -mv $(MODPATH)/igb.ko \
+ $(MODPATH)//igb.ko.org
@rm -rf $(DIR_APP) && cd $(DIR_SRC) && tar zxf $(DIR_DL)/$(DL_FILE)
cd $(DIR_APP)/src && make -C /lib/modules/$(KVER)-$(VERSUFIX)/build/ \
SUBDIRS=$(DIR_APP)/src modules
- cd $(DIR_APP)/src && install -m 644 igb.ko \
- /lib/modules/$(KVER)-$(VERSUFIX)/kernel/drivers/net/igb
+ cd $(DIR_APP)/src && install -m 644 igb.ko $(MODPATH)
@rm -rf $(DIR_APP)
@$(POSTBUILD)
###############################################################################
# #
# IPFire.org - A linux based firewall #
-# Copyright (C) 2007-2011 IPFire Team <info@ipfire.org> #
+# Copyright (C) 2007-2012 IPFire Team <info@ipfire.org> #
# #
# This program is free software: you can redistribute it and/or modify #
# it under the terms of the GNU General Public License as published by #
include Config
VERSUFIX = ipfire$(KCFG)
+ifeq "$(KCFG)" "-xen"
+ KVER = 2.6.32.60
+ MODPATH = /lib/modules/$(KVER)-$(VERSUFIX)/kernel/drivers/net
+else
+ MODPATH = /lib/modules/$(KVER)-$(VERSUFIX)/kernel/drivers/net/ethernet/realtek
+endif
-VER = 1.019.00
+VER = 1.023.00
THISAPP = r8101-$(VER)
DL_FILE = $(THISAPP).tar.bz2
$(DL_FILE) = $(DL_FROM)/$(DL_FILE)
-$(DL_FILE)_MD5 = 2804355badc4cb14f091dd8b32d270c3
+$(DL_FILE)_MD5 = 03cfc34e41522cd34ac6f4b1b6508896
install : $(TARGET)
@rm -rf $(DIR_APP) && cd $(DIR_SRC) && tar jxf $(DIR_DL)/$(DL_FILE)
cd $(DIR_APP) && patch -Np1 < $(DIR_SRC)/src/patches/r8101_add_missing_pciids.patch
cd $(DIR_APP) && make -C /lib/modules/$(KVER)-$(VERSUFIX)/build/ SUBDIRS=$(DIR_APP)/src modules
- cd $(DIR_APP)/src && install -m 644 r8101.ko /lib/modules/$(KVER)-$(VERSUFIX)/kernel/drivers/net
+ cd $(DIR_APP)/src && install -m 644 r8101.ko $(MODPATH)
@rm -rf $(DIR_APP)
@$(POSTBUILD)
###############################################################################
# #
# IPFire.org - A linux based firewall #
-# Copyright (C) 2007-2011 IPFire Team <info@ipfire.org> #
+# Copyright (C) 2007-2012 IPFire Team <info@ipfire.org> #
# #
# This program is free software: you can redistribute it and/or modify #
# it under the terms of the GNU General Public License as published by #
include Config
VERSUFIX = ipfire$(KCFG)
+ifeq "$(KCFG)" "-xen"
+ KVER = 2.6.32.60
+ MODPATH = /lib/modules/$(KVER)-$(VERSUFIX)/kernel/drivers/net
+else
+ MODPATH = /lib/modules/$(KVER)-$(VERSUFIX)/kernel/drivers/net/ethernet/realtek
+endif
-VER = 8.019.00
+VER = 8.032.00
THISAPP = r8168-$(VER)
DL_FILE = $(THISAPP).tar.bz2
$(DL_FILE) = $(DL_FROM)/$(DL_FILE)
-$(DL_FILE)_MD5 = f6934fc5df1dfb5fea82e4a310568890
+$(DL_FILE)_MD5 = 942ce02459a181093f77bb4d5cc75d45
install : $(TARGET)
@$(PREBUILD)
@rm -rf $(DIR_APP) && cd $(DIR_SRC) && tar jxf $(DIR_DL)/$(DL_FILE)
cd $(DIR_APP) && make -C /lib/modules/$(KVER)-$(VERSUFIX)/build/ SUBDIRS=$(DIR_APP)/src modules
- cd $(DIR_APP)/src && install -m 644 r8168.ko /lib/modules/$(KVER)-$(VERSUFIX)/kernel/drivers/net
+ cd $(DIR_APP)/src && install -m 644 r8168.ko $(MODPATH)
@rm -rf $(DIR_APP)
@$(POSTBUILD)
###############################################################################
# #
# IPFire.org - A linux based firewall #
-# Copyright (C) 2007-2011 IPFire Team <info@ipfire.org> #
+# Copyright (C) 2007-2012 IPFire Team <info@ipfire.org> #
# #
# This program is free software: you can redistribute it and/or modify #
# it under the terms of the GNU General Public License as published by #
include Config
VERSUFIX = ipfire$(KCFG)
+ifeq "$(KCFG)" "-xen"
+ KVER = 2.6.32.60
+ MODPATH = /lib/modules/$(KVER)-$(VERSUFIX)/kernel/drivers/net
+else
+ MODPATH = /lib/modules/$(KVER)-$(VERSUFIX)/kernel/drivers/net/ethernet/realtek
+endif
-VER = 6.014.00
+VER = 6.017.00
THISAPP = r8169-$(VER)
DL_FILE = $(THISAPP).tar.bz2
$(DL_FILE) = $(DL_FROM)/$(DL_FILE)
-$(DL_FILE)_MD5 = 0f1a8dffb4774e8f9ac29ae29a0696e3
+$(DL_FILE)_MD5 = 396d7e28d573bde416fbdfdef723f4bd
install : $(TARGET)
$(TARGET) : $(patsubst %,$(DIR_DL)/%,$(objects))
@$(PREBUILD)
#Save original r8169 module
- -mv /lib/modules/$(KVER)-$(VERSUFIX)/kernel/drivers/net/r8169.ko \
- /lib/modules/$(KVER)-$(VERSUFIX)/kernel/drivers/net/r8169.ko.org
+ -mv $(MODPATH)/r8169.ko \
+ $(MODPATH)/r8169.ko.org
@rm -rf $(DIR_APP) && cd $(DIR_SRC) && tar jxf $(DIR_DL)/$(DL_FILE)
cd $(DIR_APP) && patch -Np1 < $(DIR_SRC)/src/patches/r8169_add_missing_pciids.patch
cd $(DIR_APP) && make -C /lib/modules/$(KVER)-$(VERSUFIX)/build/ SUBDIRS=$(DIR_APP)/src modules
- cd $(DIR_APP)/src && install -m 644 r8169.ko /lib/modules/$(KVER)-$(VERSUFIX)/kernel/drivers/net
+ cd $(DIR_APP)/src && install -m 644 r8169.ko $(MODPATH)
@rm -rf $(DIR_APP)
@$(POSTBUILD)
ipfiremake mISDN KCFG="-xen"
ipfiremake cryptodev KCFG="-xen"
ipfiremake compat-wireless KCFG="-xen"
-# ipfiremake r8169 KCFG="-xen"
-# ipfiremake r8168 KCFG="-xen"
-# ipfiremake r8101 KCFG="-xen"
-# ipfiremake e1000 KCFG="-xen"
-# ipfiremake e1000e KCFG="-xen"
-# ipfiremake igb KCFG="-xen"
+ ipfiremake r8169 KCFG="-xen"
+ ipfiremake r8168 KCFG="-xen"
+ ipfiremake r8101 KCFG="-xen"
+ ipfiremake e1000 KCFG="-xen"
+ ipfiremake e1000e KCFG="-xen"
+ ipfiremake igb KCFG="-xen"
ipfiremake linux KCFG="-pae"
# ipfiremake kvm-kmod KCFG="-pae"
ipfiremake mISDN KCFG="-pae"
ipfiremake cryptodev KCFG="-pae"
ipfiremake compat-wireless KCFG="-pae"
-# ipfiremake r8169 KCFG="-pae"
-# ipfiremake r8168 KCFG="-pae"
-# ipfiremake r8101 KCFG="-pae"
-# ipfiremake e1000 KCFG="-pae"
-# ipfiremake e1000e KCFG="-pae"
-# ipfiremake igb KCFG="-pae"
+ ipfiremake r8169 KCFG="-pae"
+ ipfiremake r8168 KCFG="-pae"
+ ipfiremake r8101 KCFG="-pae"
+ ipfiremake e1000e KCFG="-pae"
+ ipfiremake igb KCFG="-pae"
ipfiremake linux KCFG=""
# ipfiremake kvm-kmod KCFG=""
ipfiremake mISDN KCFG=""
ipfiremake cryptodev KCFG=""
ipfiremake compat-wireless KCFG=""
-# ipfiremake r8169 KCFG=""
-# ipfiremake r8168 KCFG=""
-# ipfiremake r8101 KCFG=""
-# ipfiremake e1000 KCFG=""
-# ipfiremake e1000e KCFG=""
-# ipfiremake igb KCFG=""
+ ipfiremake r8169 KCFG=""
+ ipfiremake r8168 KCFG=""
+ ipfiremake r8101 KCFG=""
+ ipfiremake e1000e KCFG=""
+ ipfiremake igb KCFG=""
else
# arm-omap kernel build
-diff -Naur r8169-6.011.00.org/src/r8169_n.c r8169-6.011.00/src/r8169_n.c
---- r8169-6.011.00.org/src/r8169_n.c 2009-07-14 08:39:25.000000000 +0200
-+++ r8169-6.011.00/src/r8169_n.c 2009-10-22 19:18:42.000000000 +0200
-@@ -114,6 +114,11 @@
+diff -Naur r8169-6.017.00.org/src/r8169_n.c r8169-6.017.00/src/r8169_n.c
+--- r8169-6.017.00.org/src/r8169_n.c 2012-05-03 14:23:12.000000000 +0200
++++ r8169-6.017.00/src/r8169_n.c 2012-10-14 12:43:52.478555777 +0200
+@@ -115,7 +115,12 @@
static struct pci_device_id rtl8169_pci_tbl[] = {
{ PCI_DEVICE(PCI_VENDOR_ID_REALTEK, 0x8167), 0, 0, RTL_CFG_0 },
{ PCI_DEVICE(PCI_VENDOR_ID_REALTEK, 0x8169), 0, 0, RTL_CFG_0 },
+- { PCI_VENDOR_ID_DLINK, 0x4300, PCI_VENDOR_ID_DLINK, 0x4c00, 0, 0, RTL_CFG_0 },
+ { PCI_DEVICE(PCI_VENDOR_ID_REALTEK, 0x8129), 0, 0, RTL_CFG_0 },
+ { PCI_DEVICE(PCI_VENDOR_ID_DLINK, 0x4300), 0, 0, RTL_CFG_0 },
++ { PCI_DEVICE(PCI_VENDOR_ID_DLINK, 0x4302), 0, 0, RTL_CFG_0 },
+ { PCI_DEVICE(PCI_VENDOR_ID_AT, 0xC107), 0, 0, RTL_CFG_0 },
+ { PCI_DEVICE(0x16EC, 0x0116), 0, 0, RTL_CFG_0 },
+ { PCI_VENDOR_ID_LINKSYS, 0x1032, PCI_ANY_ID, 0x0024, 0, 0, RTL_CFG_0 },