%define _duplicate_files_terminate_build 0
-%define rel 1
+%define rel 2
%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: 5.2.9.4
+Version: 5.3.4.4
Release: %{rel}@%{_kernel_ver_str}
License: GPL v2
Group: Base/Kernel
Source0: http://downloads.sourceforge.net/e1000/%{pname}-%{version}.tar.gz
-# Source0-md5: b59b8d5ae7d8f53f3481004051fb7b87
+# Source0-md5: 6c0d7dfdb161128da7c039fc83bbdba0
+Patch0: clocksource.patch
URL: http://sourceforge.net/projects/e1000/
%{expand:%buildrequires_kernel kernel%%{_alt_kernel}-module-build >= 3:2.6.20.2}
BuildRequires: rpm-build-macros >= 1.701
%prep
%setup -q -n %{pname}-%{version}
+%patch0 -p1
cat > src/Makefile <<'EOF'
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_procfs.o igb_hwmon.o igb_ptp.o
+ e1000_mbx.o igb_vmdq.o igb_procfs.o igb_hwmon.o igb_ptp.o igb_debugfs.o
EXTRA_CFLAGS += -DIGB_PTP
EXTRA_CFLAGS += -DDRIVER_IGB