%undefine with_userspace
%endif
-%define rel 1
+%define rel 17
%define pname ixgbe
Summary: Intel(R) 10 Gigabit driver for Linux
Summary(pl.UTF-8): Sterownik do karty Intel(R) 10 Gigabit
Name: %{pname}%{_alt_kernel}
-Version: 2.0.84.9
+Version: 3.12.6
Release: %{rel}
License: GPL v2
Group: Base/Kernel
-Source0: http://dl.sourceforge.net/e1000/%{pname}-%{version}.tar.gz
-# Source0-md5: 55f0c45a143fc7fa3c72f781eb5a3b4c
+Source0: http://downloads.sourceforge.net/e1000/%{pname}-%{version}.tar.gz
+# Source0-md5: 236e8e1b7f3ce5266a5a9510a9e5bd96
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
%prep
%setup -q -n %{pname}-%{version}
+cp src/Makefile src/Makefile.%{name}
cat > src/Makefile <<'EOF'
obj-m := ixgbe.o
ixgbe-objs := ixgbe_main.o ixgbe_common.o ixgbe_api.o ixgbe_param.o \
-ixgbe_ethtool.o kcompat.o ixgbe_82598.o ixgbe_82599.o ixgbe_sriov.o \
-ixgbe_mbx.o ixgbe_dcb.o ixgbe_dcb_82598.o ixgbe_dcb_82599.o ixgbe_phy.o \
+ixgbe_lib.o ixgbe_ethtool.o kcompat.o ixgbe_82598.o \
+ixgbe_82599.o ixgbe_ptp.o ixgbe_x540.o ixgbe_sriov.o \
+ixgbe_mbx.o ixgbe_dcb.o ixgbe_dcb_82598.o ixgbe_dcb_82599.o \
+ixgbe_sysfs.o ixgbe_procfs.o ixgbe_phy.o ixgbe_fcoe.o \
ixgbe_dcb_nl.o
EXTRA_CFLAGS=-DDRIVER_IXGBE