%undefine with_userspace
%endif
-%define rel 13
+%define rel 6
%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: 4.1.2
+Version: 5.0.5
Release: %{rel}
License: GPL v2
Group: Base/Kernel
Source0: http://downloads.sourceforge.net/e1000/%{pname}-%{version}.tar.gz
-# Source0-md5: 0a5462b76310b83a40c9023edae50d72
+# Source0-md5: cff8b7f54d25c47888b96466ff69a950
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
obj-m := igb.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
+ e1000_mbx.o igb_vmdq.o igb_procfs.o igb_hwmon.o igb_ptp.o
+EXTRA_CFLAGS += -DIGB_PTP
EXTRA_CFLAGS += -DDRIVER_IGB
EXTRA_CFLAGS += -DDRIVER_NAME=igb
EXTRA_CFLAGS += -DDRIVER_NAME_CAPS=IGB