X-Git-Url: http://git.pld-linux.org/gitweb.cgi?a=blobdiff_plain;f=igb.spec;h=5445fbcd7d8db4d67ee817ffd319c59dcdf55492;hb=1060875da88e08f15746702192a31253da733fae;hp=1c5329919badd0838dc4d944fb414f6726bed634;hpb=630bbc196fce0c075db57b0996797426268b47f6;p=packages%2Figb.git diff --git a/igb.spec b/igb.spec index 1c53299..5445fbc 100644 --- a/igb.spec +++ b/igb.spec @@ -14,17 +14,17 @@ %undefine with_userspace %endif -%define rel 4 +%define rel 13 %define pname igb Summary: Intel(R) PRO/1000 driver for Linux Summary(pl.UTF-8): Sterownik do karty Intel(R) PRO/1000 Name: %{pname}%{_alt_kernel} -Version: 3.3.6 +Version: 4.1.2 Release: %{rel} License: GPL v2 Group: Base/Kernel Source0: http://downloads.sourceforge.net/e1000/%{pname}-%{version}.tar.gz -# Source0-md5: b9267beb43f41d364f73b4d5b9040f1e +# Source0-md5: 0a5462b76310b83a40c9023edae50d72 URL: http://sourceforge.net/projects/e1000/ %{?with_dist_kernel:BuildRequires: kernel%{_alt_kernel}-module-build >= 3:2.6.20.2} BuildRequires: rpmbuild(macros) >= 1.379 @@ -61,15 +61,15 @@ Intel(R) PRO/1000 opartych o układy 82575EB/GB lub 82576. %setup -q -n %{pname}-%{version} cat > src/Makefile <<'EOF' obj-m := igb.o -igb-objs := igb_main.o e1000_82575.o e1000_mac.o e1000_nvm.o e1000_phy.o \ -e1000_manage.o igb_param.o igb_ethtool.o kcompat.o e1000_api.o e1000_mbx.o igb_vmdq.o +igb-objs := igb_main.o e1000_82575.o e1000_i210.o e1000_mac.o e1000_nvm.o e1000_phy.o \ + e1000_manage.o igb_param.o igb_ethtool.o kcompat.o e1000_api.o \ + e1000_mbx.o igb_vmdq.o igb_sysfs.o igb_procfs.o igb_ptp.o -EXTRA_CFLAGS=-DDRIVER_IGB +EXTRA_CFLAGS += -DDRIVER_IGB +EXTRA_CFLAGS += -DDRIVER_NAME=igb +EXTRA_CFLAGS += -DDRIVER_NAME_CAPS=IGB EOF -# Large Receive Offload - Do Not Use LRO When Routing Packets -# CFLAGS_EXTRA=-DIGB_LRO - %build %build_kernel_modules -C src -m %{pname}