update to 4.9.30 [release 4.9.30-1mamba;Tue May 30 2017]

This commit is contained in:
Silvan Calarco 2024-01-06 01:25:00 +01:00
parent 71a6e3ae61
commit 73cc0ca273
7 changed files with 3809 additions and 1471 deletions

View File

@ -0,0 +1,79 @@
@@ -, +, @@
---
drivers/net/wireless/realtek/rtlwifi/core.c | 44 +++++++++++++++++++++--------
1 file changed, 32 insertions(+), 12 deletions(-)
--- a/drivers/net/wireless/realtek/rtlwifi/core.c
+++ a/drivers/net/wireless/realtek/rtlwifi/core.c
@@ -54,39 +54,59 @@ EXPORT_SYMBOL(channel5g_80m);
void rtl_addr_delay(u32 addr)
{
if (addr == 0xfe)
- msleep(50);
+ mdelay(50);
else if (addr == 0xfd)
- msleep(5);
+ mdelay(5);
else if (addr == 0xfc)
- msleep(1);
+ mdelay(1);
else if (addr == 0xfb)
- usleep_range(50, 100);
+ udelay(50);
else if (addr == 0xfa)
- usleep_range(5, 10);
+ udelay(5);
else if (addr == 0xf9)
- usleep_range(1, 2);
+ udelay(1);
}
EXPORT_SYMBOL(rtl_addr_delay);
void rtl_rfreg_delay(struct ieee80211_hw *hw, enum radio_path rfpath, u32 addr,
u32 mask, u32 data)
{
- if (addr >= 0xf9 && addr <= 0xfe) {
- rtl_addr_delay(addr);
+ if (addr == 0xfe) {
+ mdelay(50);
+ } else if (addr == 0xfd) {
+ mdelay(5);
+ } else if (addr == 0xfc) {
+ mdelay(1);
+ } else if (addr == 0xfb) {
+ udelay(50);
+ } else if (addr == 0xfa) {
+ udelay(5);
+ } else if (addr == 0xf9) {
+ udelay(1);
} else {
rtl_set_rfreg(hw, rfpath, addr, mask, data);
- usleep_range(1, 2);
+ udelay(1);
}
}
EXPORT_SYMBOL(rtl_rfreg_delay);
void rtl_bb_delay(struct ieee80211_hw *hw, u32 addr, u32 data)
{
- if (addr >= 0xf9 && addr <= 0xfe) {
- rtl_addr_delay(addr);
+ if (addr == 0xfe) {
+ mdelay(50);
+ } else if (addr == 0xfd) {
+ mdelay(5);
+ } else if (addr == 0xfc) {
+ mdelay(1);
+ } else if (addr == 0xfb) {
+ udelay(50);
+ } else if (addr == 0xfa) {
+ udelay(5);
+ } else if (addr == 0xf9) {
+ udelay(1);
} else {
rtl_set_bbreg(hw, addr, MASKDWORD, data);
- usleep_range(1, 2);
+ udelay(1);
}
}
EXPORT_SYMBOL(rtl_bb_delay);
--

File diff suppressed because it is too large Load Diff

File diff suppressed because it is too large Load Diff

File diff suppressed because it is too large Load Diff

View File

@ -21,7 +21,7 @@
# Don't parametrize this, it's a check to avoid build a kernel without having
# edited the obsoletes needed for multiple kernel support
%define KERNEL_OBSOLETES_ARE_FOR_VERSION 4.4.27
%define KERNEL_OBSOLETES_ARE_FOR_VERSION 4.9.30
#% define kernel_longterm 1
%define kernel_MAJver %(echo %version | cut -d. -f1)
@ -87,7 +87,7 @@
%define _use_internal_dependency_generator 1
Name: kernel
Version: 4.4.27
Version: 4.9.30
Release: 1mamba
Summary: The Linux Kernel, the operating system core itself
Group: System/Kernel and Hardware
@ -95,7 +95,7 @@ Vendor: openmamba
Distribution: openmamba
Packager: Silvan Calarco <silvan.calarco@mambasoft.it>
#%if "%{?kernel_longterm}" == ""
Source0: ftp://ftp.kernel.org/pub/linux/kernel/v%{kernel_MAJver}.x/linux-%{kernel_ver}.tar.xz
Source0: https://cdn.kernel.org/pub/linux/kernel/v%{kernel_MAJver}.x/linux-%{kernel_ver}.tar.xz
#%if "%{?kernel_pl}" != ""
#Source1: http://www.kernel.org/pub/linux/kernel/v3.x/patch-%{version}.xz
#%endif
@ -162,6 +162,7 @@ Patch72: kernel-3.4.24-ACPI_do_not_use_Lid_and_Sleep_button_for_S5_wakeup.
Patch73: kernel-3.8.3-arm-exynosdrm-buildfix.patch
Patch74: kernel-3.8.3-arm-imx-drm-buildfix.patch
Patch75: kernel-3.10.2-arm-mtd_omap2_allow_building_as_a_module.patch
Patch76: kernel-4.6.5-revert-rtlifi-usleep.patch
# https://dev.openwrt.org/browser/trunk/target/linux/generic/patches-3.12/100-overlayfs.patch?order=name
Patch100: kernel-3.14.2-overlayfs.patch
## overlayfs: get the 12 patches above Linux 3.6 tag from:
@ -203,16 +204,29 @@ Requires(post):module-init-tools >= 3.1
%if "%{_target_cpu}" != "arm"
Requires(pre): bootloader
%endif
Requires: kernelwireless-%{KERNEL_TARGET}-%{kernel_ver}
Requires: kernelsound-%{KERNEL_TARGET}-%{kernel_ver}
# Wireless
#Requires: kernelwireless-%{KERNEL_TARGET}-%{kernel_ver}
Provides: kernelwireless = %{version}
Provides: kernelwireless-%{KERNEL_TARGET}-%{kernel_ver}
Provides: kernel-%{KERNEL_TARGET}-wireless = %{version}-%{release}
Requires: iwlwifi-firmware
Requires: crda
# Sound
#Requires: kernelsound-%{KERNEL_TARGET}-%{kernel_ver}
Provides: kernelsound = %{version}
Provides: kernelsound-%{KERNEL_TARGET}-%{kernel_ver}
Provides: kernel-%{KERNEL_TARGET}-sound = %{version}-%{release}
Requires: linux-firmware
Provides: kernel = %{version}
## KERNELOBSOLETES-BEGIN 3.18
Obsoletes: kernel-%{KERNEL_TARGET} < 3.10
Obsoletes: kernel-%{KERNEL_TARGET} = %{kernel_majver}.8
Obsoletes: kernel-%{KERNEL_TARGET} = %{kernel_majver}.15
Obsoletes: kernel-%{KERNEL_TARGET} = %{kernel_majver}.20
Obsoletes: kernel-%{KERNEL_TARGET} = %{kernel_majver}.23
Obsoletes: kernel-%{KERNEL_TARGET} = 3.6.5
Obsoletes: kernel-%{KERNEL_TARGET} = 4.8.1
Obsoletes: kernel-%{KERNEL_TARGET} = 4.8.13
#Obsoletes: kernel-%{KERNEL_TARGET} = %{kernel_majver}.1
## KERNELOBSOLETES-END
%description %{KERNEL_TARGET}
@ -229,10 +243,10 @@ Provides: kernelsource = %{version}
Obsoletes: kernel-alsa-devel
## KERNELOBSOLETES-BEGIN 3.18
Obsoletes: kernel-%{KERNEL_TARGET}-source < 3.10
Obsoletes: kernel-%{KERNEL_TARGET}-source = %{kernel_majver}.8
Obsoletes: kernel-%{KERNEL_TARGET}-source = %{kernel_majver}.15
Obsoletes: kernel-%{KERNEL_TARGET}-source = %{kernel_majver}.20
Obsoletes: kernel-%{KERNEL_TARGET}-source = %{kernel_majver}.23
Obsoletes: kernel-%{KERNEL_TARGET}-source = 4.6.5
Obsoletes: kernel-%{KERNEL_TARGET}-source = 4.8.1
Obsoletes: kernel-%{KERNEL_TARGET}-source = 4.8.13
Obsoletes: kernel-%{KERNEL_TARGET}-source = %{kernel_majver}.1
## KERNELOBSOLETES-END
%description %{KERNEL_TARGET}-source
@ -243,14 +257,14 @@ This kernel sources are configured for %{TARGET_CPU} architecture and the follow
%package %{KERNEL_TARGET}-headers
Group: Development/Kernel
Summary: Headers, scripts, configuration and Makefile for the linux kernel
#Requires: kernel-%{KERNEL_TARGET} == %{version}-%{release}
Requires: kernel-%{KERNEL_TARGET} == %{version}-%{release}
Provides: kernelheaders = %{version}
## KERNELOBSOLETES-BEGIN 3.18
Obsoletes: kernel-%{KERNEL_TARGET}-headers < 3.10
Obsoletes: kernel-%{KERNEL_TARGET}-headers = %{kernel_majver}.8
Obsoletes: kernel-%{KERNEL_TARGET}-headers = %{kernel_majver}.15
Obsoletes: kernel-%{KERNEL_TARGET}-headers = %{kernel_majver}.20
Obsoletes: kernel-%{KERNEL_TARGET}-headers = %{kernel_majver}.23
Obsoletes: kernel-%{KERNEL_TARGET}-headers = 4.6.5
Obsoletes: kernel-%{KERNEL_TARGET}-headers = 4.8.1
Obsoletes: kernel-%{KERNEL_TARGET}-headers = 4.8.13
Obsoletes: kernel-%{KERNEL_TARGET}-headers = %{kernel_majver}.1
## KERNELOBSOLETES-END
%description %{KERNEL_TARGET}-headers
@ -264,10 +278,10 @@ Summary: Sanitised kernel headers used for glibc build
Provides: kernelsanitisedheaders = %{version}
## KERNELOBSOLETES-BEGIN 3.18
Obsoletes: kernel-%{KERNEL_TARGET}-headers-sanitised < 3.10
Obsoletes: kernel-%{KERNEL_TARGET}-headers-sanitised = %{kernel_majver}.8
Obsoletes: kernel-%{KERNEL_TARGET}-headers-sanitised = %{kernel_majver}.15
Obsoletes: kernel-%{KERNEL_TARGET}-headers-sanitised = %{kernel_majver}.20
Obsoletes: kernel-%{KERNEL_TARGET}-headers-sanitised = %{kernel_majver}.23
Obsoletes: kernel-%{KERNEL_TARGET}-headers-sanitised = 4.6.5
Obsoletes: kernel-%{KERNEL_TARGET}-headers-sanitised = 4.8.1
Obsoletes: kernel-%{KERNEL_TARGET}-headers-sanitised = 4.8.13
Obsoletes: kernel-%{KERNEL_TARGET}-headers-sanitised = %{kernel_majver}.1
## KERNELOBSOLETES-END
%description %{KERNEL_TARGET}-headers-sanitised
@ -282,10 +296,7 @@ Provides: kernelsound-%{KERNEL_TARGET}-%{kernel_ver}
Requires: kernel-%{KERNEL_TARGET} == %{version}-%{release}
## KERNELOBSOLETES-BEGIN 3.18
Obsoletes: kernel-%{KERNEL_TARGET}-sound < 3.10
Obsoletes: kernel-%{KERNEL_TARGET}-sound = %{kernel_majver}.8
Obsoletes: kernel-%{KERNEL_TARGET}-sound = %{kernel_majver}.15
Obsoletes: kernel-%{KERNEL_TARGET}-sound = %{kernel_majver}.20
Obsoletes: kernel-%{KERNEL_TARGET}-sound = %{kernel_majver}.23
Obsoletes: kernel-%{KERNEL_TARGET}-sound = %{kernel_majver}.1
## KERNELOBSOLETES-END
%description %{KERNEL_TARGET}-sound
@ -301,10 +312,7 @@ Requires: kernel-%{KERNEL_TARGET} == %{version}-%{release}
Requires: iwlwifi-firmware
## KERNELOBSOLETES-BEGIN 3.18
Obsoletes: kernel-%{KERNEL_TARGET}-wireless < 3.10
Obsoletes: kernel-%{KERNEL_TARGET}-wireless = %{kernel_majver}.8
Obsoletes: kernel-%{KERNEL_TARGET}-wireless = %{kernel_majver}.15
Obsoletes: kernel-%{KERNEL_TARGET}-wireless = %{kernel_majver}.20
Obsoletes: kernel-%{KERNEL_TARGET}-wireless = %{kernel_majver}.23
Obsoletes: kernel-%{KERNEL_TARGET}-wireless = %{kernel_majver}.1
## KERNELOBSOLETES-END
Requires: crda
@ -319,10 +327,10 @@ Provides: kernelfirmware = %{version}
Requires: kernel-%{KERNEL_TARGET} == %{version}-%{release}
## KERNELOBSOLETES-BEGIN 3.18
Obsoletes: kernel-%{KERNEL_TARGET}-firmware < 3.10
Obsoletes: kernel-%{KERNEL_TARGET}-firmware = %{kernel_majver}.8
Obsoletes: kernel-%{KERNEL_TARGET}-firmware = %{kernel_majver}.15
Obsoletes: kernel-%{KERNEL_TARGET}-firmware = %{kernel_majver}.20
Obsoletes: kernel-%{KERNEL_TARGET}-firmware = %{kernel_majver}.23
Obsoletes: kernel-%{KERNEL_TARGET}-firmware = 4.6.5
Obsoletes: kernel-%{KERNEL_TARGET}-firmware = 4.8.1
Obsoletes: kernel-%{KERNEL_TARGET}-firmware = 4.8.13
Obsoletes: kernel-%{KERNEL_TARGET}-firmware = %{kernel_majver}.1
## KERNELOBSOLETES-END
Provides: linux_firmware
@ -465,6 +473,7 @@ cp $kernel_cfg ./.config
#%patch73 -p1
#%patch74 -p1
#%patch75 -p1
#%patch76 -p1
# overlayfs patches
#%patch100 -p1
@ -486,7 +495,12 @@ sed -i 's@/usr/bin/env@/bin/env@' ./arch/ia64/scripts/unwcheck.py
ARCH=%{target_cpu} make oldconfig
cp Makefile Makefile.orig
sed -i "s/\(EXTRAVERSION =\).*/\1 %{?KERNEL_TARGET}/" Makefile
ARCH=%{target_cpu} make CROSS_COMPILE=%{_target_platform}- %{?_smp_mflags} %{?DISTCC} all %{?KIMAGE_TARGET}
PATH=%{_bindir}:$PATH \
ARCH=%{target_cpu} \
make CROSS_COMPILE=%{_target_platform}- \
%{?_smp_mflags} \
%{?DISTCC} \
all %{?KIMAGE_TARGET}
if [ "%{?KERNEL_TARGET}" = "mamba-arm-dove" ]; then
# See www.solid-run.com/mw/index.php?title=Device_Tree
@ -575,18 +589,18 @@ cp %{_builddir}/%{name}-%{kernel_ver}%{?KERNEL_TARGET}/Module.symvers %{buildroo
#sed -i "s/\(EXTRAVERSION =.*\)/\1%{?KERNEL_TARGET}/" Makefile
#%if "%{_target_platform}" == "%{_build}"
#% ifarch x86_64
%ifnarch arm
# FIXME: problems cross-compiling and running x86_64 tools on x86; building as x86 code for now
ARCH=%{target_cpu} make \
HOSTCC=%{_build}-gcc \
CROSS_COMPILE=%{_target_platform}- \
prepare scripts oldconfig
#% else
#ARCH=%{target_cpu} make \
%else
ARCH=%{target_cpu} make \
CROSS_COMPILE=%{_target_platform}- \
prepare scripts oldconfig
%endif
# HOSTCC=%{_target_platform}-gcc \
# CROSS_COMPILE=%{_target_platform}- \
# prepare scripts oldconfig
#% endif
cp -a include/generated/* include/linux/
#%endif
@ -695,17 +709,10 @@ echo "%{_prefix}/src/linux-%{kernel_ver}%{?KERNEL_TARGET}/arch/$headers_arch" >>
%{_builddir}/kernel-%{kernel_ver}%{?KERNEL_TARGET}/kernel-headers.files
# install sanitised headers used by glibc
#% ifarch x86_64
#ARCH=%{target_cpu} make headers_install \
# HOSTCC=%{_build}-gcc \
# CROSS_COMPILE=%{_target_platform}- \
# INSTALL_HDR_PATH=%{buildroot}%{_prefix}/src/linux-%{kernel_ver}%{KERNEL_TARGET}/usr
#% else
ARCH=%{target_cpu} make headers_install \
HOSTCC=%{_build}-gcc \
CROSS_COMPILE=%{_target_platform}- \
INSTALL_HDR_PATH=%{buildroot}%{_prefix}/src/linux-%{kernel_ver}%{KERNEL_TARGET}/usr
#% endif
# Do not package cross-platform host tools
if [ "%{_build}" != "%{_target_platform}" ]; then
@ -714,6 +721,8 @@ if [ "%{_build}" != "%{_target_platform}" ]; then
done
fi
# HOSTCC=%{_build}-gcc \
# from kernel 3.0.4 patch
rm -f %{buildroot}/usr/src/linux-%{kernel_ver}%{?KERNEL_TARGET}/MAINTAINERS.orig
@ -881,7 +890,6 @@ exit 0
/lib/modules/%{kernel_ver}%{?KERNEL_TARGET}/modules.builtin.bin
/lib/modules/%{kernel_ver}%{?KERNEL_TARGET}/modules.order
%dir /lib/modules/%{kernel_ver}%{?KERNEL_TARGET}/kernel
/lib/modules/%{kernel_ver}%{?KERNEL_TARGET}/build
/lib/modules/%{kernel_ver}%{?KERNEL_TARGET}/kernel/arch
%dir /lib/modules/%{kernel_ver}%{?KERNEL_TARGET}/kernel/block
/lib/modules/%{kernel_ver}%{?KERNEL_TARGET}/kernel/block/*
@ -895,10 +903,16 @@ exit 0
/lib/modules/%{kernel_ver}%{?KERNEL_TARGET}/kernel/kernel/*.ko
%dir /lib/modules/%{kernel_ver}%{?KERNEL_TARGET}/kernel/kernel/locking
/lib/modules/%{kernel_ver}%{?KERNEL_TARGET}/kernel/kernel/locking/*.ko
%dir /lib/modules/%{kernel_ver}%{?KERNEL_TARGET}/kernel/kernel/rcu
/lib/modules/%{kernel_ver}%{?KERNEL_TARGET}/kernel/kernel/rcu/*
#%dir /lib/modules/%{kernel_ver}%{?KERNEL_TARGET}/kernel/kernel/sched
#/lib/modules/%{kernel_ver}%{?KERNEL_TARGET}/kernel/kernel/sched/*
%dir /lib/modules/%{kernel_ver}%{?KERNEL_TARGET}/kernel/kernel/time
/lib/modules/%{kernel_ver}%{?KERNEL_TARGET}/kernel/kernel/time/*.ko
%dir /lib/modules/%{kernel_ver}%{?KERNEL_TARGET}/kernel/lib
/lib/modules/%{kernel_ver}%{?KERNEL_TARGET}/kernel/lib/*
%dir /lib/modules/%{kernel_ver}%{?KERNEL_TARGET}/kernel/mm
/lib/modules/%{kernel_ver}%{?KERNEL_TARGET}/kernel/mm/*
%dir /lib/modules/%{kernel_ver}%{?KERNEL_TARGET}/kernel/net
/lib/modules/%{kernel_ver}%{?KERNEL_TARGET}/kernel/net/*
%dir /lib/modules/%{kernel_ver}%{?KERNEL_TARGET}/kernel/security
@ -906,99 +920,91 @@ exit 0
/lib/modules/%{kernel_ver}%{?KERNEL_TARGET}/kernel/sound/soundcore.ko
%dir /lib/modules/%{kernel_ver}%{?KERNEL_TARGET}/kernel/virt
/lib/modules/%{kernel_ver}%{?KERNEL_TARGET}/kernel/virt/*
%exclude /lib/modules/%{kernel_ver}%{?KERNEL_TARGET}/build
%exclude /lib/modules/%{kernel_ver}%{?KERNEL_TARGET}/source
#%{_sysconfdir}/lilo.d/openmamba-%{kernel_ver}%{?KERNEL_TARGET}-%{release}
#%{_sysconfdir}/grub/conf.d/openmamba-%{kernel_ver}%{?KERNEL_TARGET}-%{release}
#%{_sysconfdir}/grub2/conf.d/openmamba-%{version}%{?KERNEL_TARGET}-%{release}
%exclude /lib/modules/%{kernel_ver}%{?KERNEL_TARGET}/kernel/drivers/net/usb/cdc_ether.ko
%exclude /lib/modules/%{kernel_ver}%{?KERNEL_TARGET}/kernel/drivers/net/usb/rndis_host.ko
%exclude /lib/modules/%{kernel_ver}%{?KERNEL_TARGET}/kernel/drivers/net/usb/usbnet.ko
%ifnarch arm
%exclude /lib/modules/%{kernel_ver}%{?KERNEL_TARGET}/kernel/drivers/net/wireless/adm8211.ko
%exclude /lib/modules/%{kernel_ver}%{?KERNEL_TARGET}/kernel/drivers/net/wireless/libertas/libertas_cs.ko
%endif
#%exclude /lib/modules/%{kernel_ver}%{?KERNEL_TARGET}/kernel/drivers/net/wireless/at76_usb.ko
#%exclude /lib/modules/%{kernel_ver}%{?KERNEL_TARGET}/kernel/drivers/net/wireless/ath5k/ath5k.ko
#%exclude /lib/modules/%{kernel_ver}%{?KERNEL_TARGET}/kernel/drivers/net/wireless/ath9k/ath9k.ko
%exclude /lib/modules/%{kernel_ver}%{?KERNEL_TARGET}/kernel/drivers/net/wireless/b43/b43.ko
%exclude /lib/modules/%{kernel_ver}%{?KERNEL_TARGET}/kernel/drivers/net/wireless/b43legacy/b43legacy.ko
#%exclude /lib/modules/%{kernel_ver}%{?KERNEL_TARGET}/kernel/drivers/net/wireless/iwlwifi/iwl3945.ko
#%exclude /lib/modules/%{kernel_ver}%{?KERNEL_TARGET}/kernel/drivers/net/wireless/iwlwifi/iwlagn.ko
#%exclude /lib/modules/%{kernel_ver}%{?KERNEL_TARGET}/kernel/drivers/net/wireless/iwlwifi/iwlcore.ko
%exclude /lib/modules/%{kernel_ver}%{?KERNEL_TARGET}/kernel/drivers/net/wireless/libertas/libertas.ko
%exclude /lib/modules/%{kernel_ver}%{?KERNEL_TARGET}/kernel/drivers/net/wireless/libertas/libertas_sdio.ko
%exclude /lib/modules/%{kernel_ver}%{?KERNEL_TARGET}/kernel/drivers/net/wireless/libertas_tf/libertas_tf.ko
%exclude /lib/modules/%{kernel_ver}%{?KERNEL_TARGET}/kernel/drivers/net/wireless/libertas_tf/libertas_tf_usb.ko
%exclude /lib/modules/%{kernel_ver}%{?KERNEL_TARGET}/kernel/drivers/net/wireless/libertas/usb8xxx.ko
%exclude /lib/modules/%{kernel_ver}%{?KERNEL_TARGET}/kernel/drivers/net/wireless/mac80211_hwsim.ko
%exclude /lib/modules/%{kernel_ver}%{?KERNEL_TARGET}/kernel/drivers/net/wireless/p54/p54common.ko
%ifnarch arm
%exclude /lib/modules/%{kernel_ver}%{?KERNEL_TARGET}/kernel/drivers/net/wireless/p54/p54pci.ko
%endif
%exclude /lib/modules/%{kernel_ver}%{?KERNEL_TARGET}/kernel/drivers/net/wireless/p54/p54usb.ko
%exclude /lib/modules/%{kernel_ver}%{?KERNEL_TARGET}/kernel/drivers/net/wireless/rndis_wlan.ko
%ifnarch arm
%exclude /lib/modules/%{kernel_ver}%{?KERNEL_TARGET}/kernel/drivers/net/wireless/rt2x00/rt2400pci.ko
%exclude /lib/modules/%{kernel_ver}%{?KERNEL_TARGET}/kernel/drivers/net/wireless/rt2x00/rt2500pci.ko
%exclude /lib/modules/%{kernel_ver}%{?KERNEL_TARGET}/kernel/drivers/net/wireless/rt2x00/rt2x00pci.ko
%exclude /lib/modules/%{kernel_ver}%{?KERNEL_TARGET}/kernel/drivers/net/wireless/rt2x00/rt61pci.ko
%endif
%exclude /lib/modules/%{kernel_ver}%{?KERNEL_TARGET}/kernel/drivers/net/wireless/rt2x00/rt2500usb.ko
%exclude /lib/modules/%{kernel_ver}%{?KERNEL_TARGET}/kernel/drivers/net/wireless/rt2x00/rt2x00lib.ko
%exclude /lib/modules/%{kernel_ver}%{?KERNEL_TARGET}/kernel/drivers/net/wireless/rt2x00/rt2x00usb.ko
%exclude /lib/modules/%{kernel_ver}%{?KERNEL_TARGET}/kernel/drivers/net/wireless/rt2x00/rt73usb.ko
%exclude /lib/modules/%{kernel_ver}%{?KERNEL_TARGET}/kernel/drivers/net/wireless/zd1211rw/zd1211rw.ko
#%exclude /lib/modules/%{kernel_ver}%{?KERNEL_TARGET}/build
#%exclude /lib/modules/%{kernel_ver}%{?KERNEL_TARGET}/source
##%{_sysconfdir}/lilo.d/openmamba-%{kernel_ver}%{?KERNEL_TARGET}-%{release}
##%{_sysconfdir}/grub/conf.d/openmamba-%{kernel_ver}%{?KERNEL_TARGET}-%{release}
##%{_sysconfdir}/grub2/conf.d/openmamba-%{version}%{?KERNEL_TARGET}-%{release}
#%exclude /lib/modules/%{kernel_ver}%{?KERNEL_TARGET}/kernel/drivers/net/usb/cdc_ether.ko
#%exclude /lib/modules/%{kernel_ver}%{?KERNEL_TARGET}/kernel/drivers/net/usb/rndis_host.ko
#%exclude /lib/modules/%{kernel_ver}%{?KERNEL_TARGET}/kernel/drivers/net/usb/usbnet.ko
#%ifnarch arm
#%exclude /lib/modules/%{kernel_ver}%{?KERNEL_TARGET}/kernel/drivers/net/wireless/admtek/adm8211.ko
#%exclude /lib/modules/%{kernel_ver}%{?KERNEL_TARGET}/kernel/drivers/net/wireless/libertas/libertas_cs.ko
#%endif
##%exclude /lib/modules/%{kernel_ver}%{?KERNEL_TARGET}/kernel/drivers/net/wireless/at76_usb.ko
##%exclude /lib/modules/%{kernel_ver}%{?KERNEL_TARGET}/kernel/drivers/net/wireless/ath5k/ath5k.ko
##%exclude /lib/modules/%{kernel_ver}%{?KERNEL_TARGET}/kernel/drivers/net/wireless/ath9k/ath9k.ko
#%exclude /lib/modules/%{kernel_ver}%{?KERNEL_TARGET}/kernel/drivers/net/wireless/b43/b43.ko
#%exclude /lib/modules/%{kernel_ver}%{?KERNEL_TARGET}/kernel/drivers/net/wireless/b43legacy/b43legacy.ko
##%exclude /lib/modules/%{kernel_ver}%{?KERNEL_TARGET}/kernel/drivers/net/wireless/iwlwifi/iwl3945.ko
##%exclude /lib/modules/%{kernel_ver}%{?KERNEL_TARGET}/kernel/drivers/net/wireless/iwlwifi/iwlagn.ko
##%exclude /lib/modules/%{kernel_ver}%{?KERNEL_TARGET}/kernel/drivers/net/wireless/iwlwifi/iwlcore.ko
#%exclude /lib/modules/%{kernel_ver}%{?KERNEL_TARGET}/kernel/drivers/net/wireless/libertas/libertas.ko
#%exclude /lib/modules/%{kernel_ver}%{?KERNEL_TARGET}/kernel/drivers/net/wireless/libertas/libertas_sdio.ko
#%exclude /lib/modules/%{kernel_ver}%{?KERNEL_TARGET}/kernel/drivers/net/wireless/libertas_tf/libertas_tf.ko
#%exclude /lib/modules/%{kernel_ver}%{?KERNEL_TARGET}/kernel/drivers/net/wireless/libertas_tf/libertas_tf_usb.ko
#%exclude /lib/modules/%{kernel_ver}%{?KERNEL_TARGET}/kernel/drivers/net/wireless/libertas/usb8xxx.ko
#%exclude /lib/modules/%{kernel_ver}%{?KERNEL_TARGET}/kernel/drivers/net/wireless/mac80211_hwsim.ko
#%exclude /lib/modules/%{kernel_ver}%{?KERNEL_TARGET}/kernel/drivers/net/wireless/p54/p54common.ko
#%ifnarch arm
#%exclude /lib/modules/%{kernel_ver}%{?KERNEL_TARGET}/kernel/drivers/net/wireless/p54/p54pci.ko
#%endif
#%exclude /lib/modules/%{kernel_ver}%{?KERNEL_TARGET}/kernel/drivers/net/wireless/p54/p54usb.ko
#%exclude /lib/modules/%{kernel_ver}%{?KERNEL_TARGET}/kernel/drivers/net/wireless/rndis_wlan.ko
#%ifnarch arm
#%exclude /lib/modules/%{kernel_ver}%{?KERNEL_TARGET}/kernel/drivers/net/wireless/rt2x00/rt2400pci.ko
#%exclude /lib/modules/%{kernel_ver}%{?KERNEL_TARGET}/kernel/drivers/net/wireless/rt2x00/rt2500pci.ko
#%exclude /lib/modules/%{kernel_ver}%{?KERNEL_TARGET}/kernel/drivers/net/wireless/rt2x00/rt2x00pci.ko
#%exclude /lib/modules/%{kernel_ver}%{?KERNEL_TARGET}/kernel/drivers/net/wireless/rt2x00/rt61pci.ko
#%endif
#%exclude /lib/modules/%{kernel_ver}%{?KERNEL_TARGET}/kernel/drivers/net/wireless/rt2x00/rt2500usb.ko
#%exclude /lib/modules/%{kernel_ver}%{?KERNEL_TARGET}/kernel/drivers/net/wireless/rt2x00/rt2x00lib.ko
#%exclude /lib/modules/%{kernel_ver}%{?KERNEL_TARGET}/kernel/drivers/net/wireless/rt2x00/rt2x00usb.ko
#%exclude /lib/modules/%{kernel_ver}%{?KERNEL_TARGET}/kernel/drivers/net/wireless/rt2x00/rt73usb.ko
#%exclude /lib/modules/%{kernel_ver}%{?KERNEL_TARGET}/kernel/drivers/net/wireless/zd1211rw/zd1211rw.ko
#%exclude /lib/modules/%{kernel_ver}%{?KERNEL_TARGET}/kernel/drivers/net/wireless/bcm43xx/bcm43xx.ko
%exclude /lib/modules/%{kernel_ver}%{?KERNEL_TARGET}/kernel/drivers/ssb/ssb.ko
%exclude /lib/modules/%{kernel_ver}%{?KERNEL_TARGET}/kernel/net/mac80211/mac80211.ko
%exclude /lib/modules/%{kernel_ver}%{?KERNEL_TARGET}/kernel/net/wireless/cfg80211.ko
#%exclude /lib/modules/%{kernel_ver}%{?KERNEL_TARGET}/kernel/drivers/ssb/ssb.ko
#%exclude /lib/modules/%{kernel_ver}%{?KERNEL_TARGET}/kernel/net/mac80211/mac80211.ko
#%exclude /lib/modules/%{kernel_ver}%{?KERNEL_TARGET}/kernel/net/wireless/cfg80211.ko
%files %{?KERNEL_TARGET}-sound
%defattr (-,root,root)
# Sound
/lib/modules/%{kernel_ver}%{?KERNEL_TARGET}/kernel/sound
%exclude /lib/modules/%{kernel_ver}%{?KERNEL_TARGET}/kernel/sound/soundcore.ko
#%exclude /lib/modules/%{kernel_ver}%{?KERNEL_TARGET}/kernel/sound/soundcore.ko
%files %{KERNEL_TARGET}-wireless
%defattr(-,root,root)
# Wireless
/lib/modules/%{kernel_ver}%{?KERNEL_TARGET}/kernel/drivers/net/usb/cdc_ether.ko
/lib/modules/%{kernel_ver}%{?KERNEL_TARGET}/kernel/drivers/net/usb/rndis_host.ko
/lib/modules/%{kernel_ver}%{?KERNEL_TARGET}/kernel/drivers/net/usb/usbnet.ko
%ifnarch arm
/lib/modules/%{kernel_ver}%{?KERNEL_TARGET}/kernel/drivers/net/wireless/adm8211.ko
/lib/modules/%{kernel_ver}%{?KERNEL_TARGET}/kernel/drivers/net/wireless/libertas/libertas_cs.ko
/lib/modules/%{kernel_ver}%{?KERNEL_TARGET}/kernel/drivers/net/wireless/admtek/adm8211.ko
/lib/modules/%{kernel_ver}%{?KERNEL_TARGET}/kernel/drivers/net/wireless/marvell/libertas/libertas_cs.ko
%endif
#/lib/modules/%{kernel_ver}%{?KERNEL_TARGET}/kernel/drivers/net/wireless/at76_usb.ko
#/lib/modules/%{kernel_ver}%{?KERNEL_TARGET}/kernel/drivers/net/wireless/ath5k/ath5k.ko
#/lib/modules/%{kernel_ver}%{?KERNEL_TARGET}/kernel/drivers/net/wireless/ath9k/ath9k.ko
/lib/modules/%{kernel_ver}%{?KERNEL_TARGET}/kernel/drivers/net/wireless/b43/b43.ko
/lib/modules/%{kernel_ver}%{?KERNEL_TARGET}/kernel/drivers/net/wireless/b43legacy/b43legacy.ko
#/lib/modules/%{kernel_ver}%{?KERNEL_TARGET}/kernel/drivers/net/wireless/iwlwifi/iwl3945.ko
#/lib/modules/%{kernel_ver}%{?KERNEL_TARGET}/kernel/drivers/net/wireless/iwlwifi/iwlagn.ko
#/lib/modules/%{kernel_ver}%{?KERNEL_TARGET}/kernel/drivers/net/wireless/iwlwifi/iwlcore.ko
/lib/modules/%{kernel_ver}%{?KERNEL_TARGET}/kernel/drivers/net/wireless/libertas/libertas.ko
/lib/modules/%{kernel_ver}%{?KERNEL_TARGET}/kernel/drivers/net/wireless/libertas/libertas_sdio.ko
/lib/modules/%{kernel_ver}%{?KERNEL_TARGET}/kernel/drivers/net/wireless/libertas_tf/libertas_tf.ko
/lib/modules/%{kernel_ver}%{?KERNEL_TARGET}/kernel/drivers/net/wireless/libertas_tf/libertas_tf_usb.ko
/lib/modules/%{kernel_ver}%{?KERNEL_TARGET}/kernel/drivers/net/wireless/libertas/usb8xxx.ko
/lib/modules/%{kernel_ver}%{?KERNEL_TARGET}/kernel/drivers/net/wireless/marvell/libertas/libertas.ko
/lib/modules/%{kernel_ver}%{?KERNEL_TARGET}/kernel/drivers/net/wireless/marvell/libertas/libertas_sdio.ko
/lib/modules/%{kernel_ver}%{?KERNEL_TARGET}/kernel/drivers/net/wireless/marvell/libertas_tf/libertas_tf.ko
/lib/modules/%{kernel_ver}%{?KERNEL_TARGET}/kernel/drivers/net/wireless/marvell/libertas_tf/libertas_tf_usb.ko
/lib/modules/%{kernel_ver}%{?KERNEL_TARGET}/kernel/drivers/net/wireless/marvell/libertas/usb8xxx.ko
/lib/modules/%{kernel_ver}%{?KERNEL_TARGET}/kernel/drivers/net/wireless/broadcom/b43/b43.ko
/lib/modules/%{kernel_ver}%{?KERNEL_TARGET}/kernel/drivers/net/wireless/broadcom/b43legacy/b43legacy.ko
/lib/modules/%{kernel_ver}%{?KERNEL_TARGET}/kernel/drivers/net/wireless/mac80211_hwsim.ko
/lib/modules/%{kernel_ver}%{?KERNEL_TARGET}/kernel/drivers/net/wireless/p54/p54common.ko
/lib/modules/%{kernel_ver}%{?KERNEL_TARGET}/kernel/drivers/net/wireless/intersil/p54/p54common.ko
%ifnarch arm
/lib/modules/%{kernel_ver}%{?KERNEL_TARGET}/kernel/drivers/net/wireless/p54/p54pci.ko
/lib/modules/%{kernel_ver}%{?KERNEL_TARGET}/kernel/drivers/net/wireless/intersil/p54/p54pci.ko
%endif
/lib/modules/%{kernel_ver}%{?KERNEL_TARGET}/kernel/drivers/net/wireless/p54/p54usb.ko
/lib/modules/%{kernel_ver}%{?KERNEL_TARGET}/kernel/drivers/net/wireless/intersil/p54/p54usb.ko
/lib/modules/%{kernel_ver}%{?KERNEL_TARGET}/kernel/drivers/net/wireless/rndis_wlan.ko
/lib/modules/%{kernel_ver}%{?KERNEL_TARGET}/kernel/drivers/net/wireless/rt2x00/rt2500usb.ko
/lib/modules/%{kernel_ver}%{?KERNEL_TARGET}/kernel/drivers/net/wireless/rt2x00/rt2x00lib.ko
/lib/modules/%{kernel_ver}%{?KERNEL_TARGET}/kernel/drivers/net/wireless/rt2x00/rt2x00usb.ko
/lib/modules/%{kernel_ver}%{?KERNEL_TARGET}/kernel/drivers/net/wireless/rt2x00/rt73usb.ko
/lib/modules/%{kernel_ver}%{?KERNEL_TARGET}/kernel/drivers/net/wireless/ralink/rt2x00/rt2500usb.ko
/lib/modules/%{kernel_ver}%{?KERNEL_TARGET}/kernel/drivers/net/wireless/ralink/rt2x00/rt2x00lib.ko
/lib/modules/%{kernel_ver}%{?KERNEL_TARGET}/kernel/drivers/net/wireless/ralink/rt2x00/rt2x00usb.ko
/lib/modules/%{kernel_ver}%{?KERNEL_TARGET}/kernel/drivers/net/wireless/ralink/rt2x00/rt73usb.ko
%ifnarch arm
/lib/modules/%{kernel_ver}%{?KERNEL_TARGET}/kernel/drivers/net/wireless/rt2x00/rt2400pci.ko
/lib/modules/%{kernel_ver}%{?KERNEL_TARGET}/kernel/drivers/net/wireless/rt2x00/rt2500pci.ko
/lib/modules/%{kernel_ver}%{?KERNEL_TARGET}/kernel/drivers/net/wireless/rt2x00/rt2x00pci.ko
/lib/modules/%{kernel_ver}%{?KERNEL_TARGET}/kernel/drivers/net/wireless/rt2x00/rt61pci.ko
/lib/modules/%{kernel_ver}%{?KERNEL_TARGET}/kernel/drivers/net/wireless/ralink/rt2x00/rt2400pci.ko
/lib/modules/%{kernel_ver}%{?KERNEL_TARGET}/kernel/drivers/net/wireless/ralink/rt2x00/rt2500pci.ko
/lib/modules/%{kernel_ver}%{?KERNEL_TARGET}/kernel/drivers/net/wireless/ralink/rt2x00/rt2x00pci.ko
/lib/modules/%{kernel_ver}%{?KERNEL_TARGET}/kernel/drivers/net/wireless/ralink/rt2x00/rt61pci.ko
%endif
/lib/modules/%{kernel_ver}%{?KERNEL_TARGET}/kernel/drivers/net/wireless/zd1211rw/zd1211rw.ko
/lib/modules/%{kernel_ver}%{?KERNEL_TARGET}/kernel/drivers/net/wireless/zydas/zd1211rw/zd1211rw.ko
#/lib/modules/%{kernel_ver}%{?KERNEL_TARGET}/kernel/drivers/net/wireless/bcm43xx/bcm43xx.ko
/lib/modules/%{kernel_ver}%{?KERNEL_TARGET}/kernel/drivers/ssb/ssb.ko
/lib/modules/%{kernel_ver}%{?KERNEL_TARGET}/kernel/net/mac80211/mac80211.ko
@ -1057,14 +1063,20 @@ exit 0
/lib/firmware/*
%changelog
* Thu Oct 27 2016 Silvan Calarco <silvan.calarco@mambasoft.it> 4.4.27-1mamba
- update to 4.4.27
* Tue May 30 2017 Silvan Calarco <silvan.calarco@mambasoft.it> 4.9.30-1mamba
- update to 4.9.30
* Sun Oct 02 2016 Silvan Calarco <silvan.calarco@mambasoft.it> 4.4.23-1mamba
- update to 4.4.23
* Wed Dec 21 2016 Automatic Build System <autodist@mambasoft.it> 4.8.13-1mamba
- automatic version update by autodist
* Fri Sep 09 2016 Silvan Calarco <silvan.calarco@mambasoft.it> 4.4.20-1mamba
- update to 4.4.20
* Sat Oct 08 2016 Silvan Calarco <silvan.calarco@mambasoft.it> 4.8.1-1mamba
- update to 4.8.1
* Fri Jul 29 2016 Silvan Calarco <silvan.calarco@mambasoft.it> 4.6.5-1mamba
- update to 4.6.5
* Sun Jul 24 2016 Silvan Calarco <silvan.calarco@mambasoft.it> 4.6.4-1mamba
- update to 4.6.4
* Thu Jul 21 2016 Silvan Calarco <silvan.calarco@mambasoft.it> 4.4.15-1mamba
- update to 4.4.15