Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in / Register
Toggle navigation
core
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Locked Files
Issues
86
Issues
86
List
Boards
Labels
Service Desk
Milestones
Iterations
Merge Requests
32
Merge Requests
32
Requirements
Requirements
List
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Security & Compliance
Security & Compliance
Dependency List
License Compliance
Operations
Operations
Incidents
Environments
Analytics
Analytics
CI / CD
Code Review
Insights
Issue
Repository
Value Stream
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
Chakra
Packages
core
Commits
6f2af17b
Commit
6f2af17b
authored
Aug 19, 2018
by
AlmAck
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
linux LTS 4.4.150
removed unused tiacx-lts
parent
8d1fac83
Changes
20
Expand all
Hide whitespace changes
Inline
Side-by-side
Showing
20 changed files
with
45 additions
and
7969 deletions
+45
-7969
acpi_call-lts/PKGBUILD
acpi_call-lts/PKGBUILD
+3
-3
bbswitch-lts/PKGBUILD
bbswitch-lts/PKGBUILD
+3
-6
broadcom-wl-lts/PKGBUILD
broadcom-wl-lts/PKGBUILD
+3
-3
kernelupdate.sh
kernelupdate.sh
+2
-2
linux-lts.conf
linux-lts.conf
+1
-7
linux-lts/PKGBUILD
linux-lts/PKGBUILD
+3
-3
linux-lts/config.x86_64
linux-lts/config.x86_64
+9
-3
linux-lts/config.x86_64.last
linux-lts/config.x86_64.last
+0
-7666
ndiswrapper-lts/PKGBUILD
ndiswrapper-lts/PKGBUILD
+3
-3
nvidia-304xx-lts/PKGBUILD
nvidia-304xx-lts/PKGBUILD
+3
-3
nvidia-340xx-lts/PKGBUILD
nvidia-340xx-lts/PKGBUILD
+3
-3
nvidia-390xx-lts/PKGBUILD
nvidia-390xx-lts/PKGBUILD
+3
-3
nvidia-lts/PKGBUILD
nvidia-lts/PKGBUILD
+3
-3
tiacx-lts/PKGBUILD
tiacx-lts/PKGBUILD
+0
-42
tiacx-lts/acx.install
tiacx-lts/acx.install
+0
-15
tiacx-lts/kernel-2.6.27.patch
tiacx-lts/kernel-2.6.27.patch
+0
-82
tiacx-lts/kernel-2.6.30.patch
tiacx-lts/kernel-2.6.30.patch
+0
-16
tiacx-lts/kernel-2.6.31.patch
tiacx-lts/kernel-2.6.31.patch
+0
-88
tiacx-lts/kernel-2.6.33.patch
tiacx-lts/kernel-2.6.33.patch
+0
-11
vhba-module-lts/PKGBUILD
vhba-module-lts/PKGBUILD
+6
-7
No files found.
acpi_call-lts/PKGBUILD
View file @
6f2af17b
...
...
@@ -2,13 +2,13 @@
pkgname
=
acpi_call-lts
_pkgname
=
acpi_call
pkgver
=
1.1.0
pkgrel
=
1
0
pkgrel
=
1
1
pkgdesc
=
"A kernel module that enables you to call parameterless ACPI methods by writing the method name to /proc/acpi/call, e.g. to turn off discrete graphics card in a dual graphics environment (like NVIDIA Optimus)."
arch
=(
'x86_64'
)
url
=
'http://github.com/mkottman/acpi_call'
license
=(
'GPL'
)
depends
=(
"linux-lts=4.4.1
47
"
)
makedepends
=(
"linux-lts-headers=4.4.1
47
"
)
depends
=(
"linux-lts=4.4.1
50
"
)
makedepends
=(
"linux-lts-headers=4.4.1
50
"
)
provides
=(
"
${
pkgname
%-*
}
"
)
_extramodules
=
extramodules-CHAKRA-LTS
source
=(
"https://github.com/mkottman/acpi_call/archive/v
${
pkgver
}
.tar.gz"
)
...
...
bbswitch-lts/PKGBUILD
View file @
6f2af17b
...
...
@@ -2,15 +2,15 @@
pkgname
=
bbswitch-lts
_pkgname
=
bbswitch
pkgver
=
0.8
pkgrel
=
1
3
pkgrel
=
1
4
pkgdesc
=
"kernel module allowing to switch dedicated graphics card on Optimus laptops"
arch
=(
'x86_64'
)
url
=
'http://github.com/Bumblebee-Project/bbswitch'
license
=(
'GPL'
)
provides
=(
'bbswitch'
)
_extramodules
=
extramodules-CHAKRA
depends
=(
"linux-lts=4.4.1
47
"
)
makedepends
=(
"linux-lts-headers=4.4.1
47
"
)
depends
=(
"linux-lts=4.4.1
50
"
)
makedepends
=(
"linux-lts-headers=4.4.1
50
"
)
source
=(
"https://github.com/Bumblebee-Project/bbswitch/archive/v
${
pkgver
}
.tar.gz"
)
md5sums
=(
'5b116b31ace3604ddf9d1fc1f4bc5807'
)
...
...
@@ -24,10 +24,7 @@ build() {
package
()
{
cd
${
srcdir
}
/
${
pkgname
}
-
${
pkgver
}
msg2
"Building module for
$_kver
..."
# KDIR is necessary even when cleaning
#make KDIR=/usr/src/linux-${_kver} clean
install
-Dm644
bbswitch.ko
$pkgdir
/usr/lib/modules/
${
_extramodules
}
/bbswitch.ko
gzip
"
${
pkgdir
}
/usr/lib/modules/
${
_extramodules
}
/bbswitch.ko"
}
broadcom-wl-lts/PKGBUILD
View file @
6f2af17b
pkgname
=
broadcom-wl-lts
pkgver
=
6.30.223.271
pkgrel
=
8
pkgrel
=
9
pkgdesc
=
'Broadcom 802.11abgn hybrid Linux networking device driver'
arch
=(
'x86_64'
)
url
=
'http://www.broadcom.com/support/802.11/linux_sta.php'
license
=(
'custom'
)
depends
=(
"linux-lts=4.4.1
47
"
)
makedepends
=(
"linux-lts-headers=
${
_kernelver
}
"
)
depends
=(
"linux-lts=4.4.1
50
"
)
makedepends
=(
"linux-lts-headers=
4.4.150
"
)
backup
=(
'etc/modprobe.d/broadcom-wl-lts.conf'
)
_extramodules
=
extramodules-CHAKRA-LTS
source
=(
"https://docs.broadcom.com/docs-and-downloads/docs/linux_sta/hybrid-v35_64-nodebug-pcoem-
${
pkgver
//./_
}
.tar.gz"
...
...
kernelupdate.sh
View file @
6f2af17b
...
...
@@ -59,7 +59,7 @@ build()
sed
-e
"s/
\(
makedepends=([^>]*linux-headers=
\)
[^
\"
]*/
\1
$_kernelver
/"
-i
PKGBUILD
sed
-e
"s/
\(
depends=([^>]*linux-lts=
\)
[^
\"
]*/
\1
$_kernelver
/"
-i
PKGBUILD
sed
-e
"s/
\(
makedepends=([^>]*linux-
headers-lt
s=
\)
[^
\"
]*/
\1
$_kernelver
/"
-i
PKGBUILD
sed
-e
"s/
\(
makedepends=([^>]*linux-
lts-header
s=
\)
[^
\"
]*/
\1
$_kernelver
/"
-i
PKGBUILD
git add PKGBUILD
popd
&>/dev/null
...
...
@@ -77,7 +77,7 @@ build()
sed
-e
"s/
\(
makedepends=([^>]*linux-headers=
\)
[^
\"
]*/
\1
$_kernelver
/"
-i
PKGBUILD
sed
-e
"s/
\(
depends=([^>]*linux-lts=
\)
[^
\"
]*/
\1
$_kernelver
/"
-i
PKGBUILD
sed
-e
"s/
\(
makedepends=([^>]*linux-
headers-lt
s=
\)
[^
\"
]*/
\1
$_kernelver
/"
-i
PKGBUILD
sed
-e
"s/
\(
makedepends=([^>]*linux-
lts-header
s=
\)
[^
\"
]*/
\1
$_kernelver
/"
-i
PKGBUILD
# update source link
#sed -r "s|https://download.kde.org/.*stable/|https://download.kde.org/${Branch}/|g" -i PKGBUILD
...
...
linux-lts.conf
View file @
6f2af17b
...
...
@@ -6,11 +6,5 @@
# These are the "basic variables" appliable for the LTS kernal group
_
kernelname
=
"-CHAKRA-LTS"
_
kernelver
=
4
.
4
.
1
47
_
kernelver
=
4
.
4
.
1
50
_
basekernel
=
4
.
4
_
extramodules
=
extramodules
-${
_
basekernel
}${
_
kernelname
}
_
kver
=
"$(cat /usr/lib/modules/${_extramodules}/version)"
# Fetch from ndiswrapper-lts/PKGBUILD
_
rootOfSourceTree
=/
usr
/
lib
/
modules
/${
_
kver
}/
build
/
linux-lts/PKGBUILD
View file @
6f2af17b
pkgbase
=
"linux-lts"
pkgname
=(
'linux-lts'
'linux-lts-headers'
'linux-lts-docs'
)
pkgver
=
4.4.1
47
pkgver
=
4.4.1
50
_srcname
=
linux-4.4
pkgrel
=
1
makedepends
=(
'xmlto'
'docbook-xsl'
'kmod'
'inetutils'
'bc'
)
...
...
@@ -18,8 +18,8 @@ source=(http://www.kernel.org/pub/linux/kernel/v4.x/${_srcname}.tar.{xz,sign}
change-default-console-loglevel.patch
)
md5sums
=(
'9a78fa2eb6c68ca5a40ed5af08142599'
'SKIP'
'
a38b9535d049266b3eb81d5b89335d61
'
'
99d3696dce99d4eebf297fc542f6b22d
'
'
271ce334e88a808cda42184d69ebd95b
'
'
3c82e548b482a80cb344c083a9e4e259
'
'232b52576a62c7a333e9fe7a1e1ca359'
'df7fceae6ee5d7e7be7b60ecd7f6bb35'
)
validpgpkeys
=(
...
...
linux-lts/config.x86_64
View file @
6f2af17b
#
# Automatically generated file; DO NOT EDIT.
# Linux/x86 4.4.1
10
-1 Kernel Configuration
# Linux/x86 4.4.1
47
-1 Kernel Configuration
#
CONFIG_64BIT=y
CONFIG_X86_64=y
...
...
@@ -37,7 +37,6 @@ CONFIG_ARCH_SUPPORTS_OPTIMIZED_INLINING=y
CONFIG_ARCH_SUPPORTS_DEBUG_PAGEALLOC=y
CONFIG_HAVE_INTEL_TXT=y
CONFIG_X86_64_SMP=y
CONFIG_ARCH_HWEIGHT_CFLAGS="-fcall-saved-rdi -fcall-saved-rsi -fcall-saved-rdx -fcall-saved-rcx -fcall-saved-r8 -fcall-saved-r9 -fcall-saved-r10 -fcall-saved-r11"
CONFIG_ARCH_SUPPORTS_UPROBES=y
CONFIG_FIX_EARLYCON_MEM=y
CONFIG_PGTABLE_LEVELS=4
...
...
@@ -189,6 +188,7 @@ CONFIG_RD_LZMA=y
CONFIG_RD_XZ=y
CONFIG_RD_LZO=y
CONFIG_RD_LZ4=y
CONFIG_CC_OPTIMIZE_FOR_PERFORMANCE=y
# CONFIG_CC_OPTIMIZE_FOR_SIZE is not set
CONFIG_SYSCTL=y
CONFIG_ANON_INODES=y
...
...
@@ -215,6 +215,7 @@ CONFIG_SIGNALFD=y
CONFIG_TIMERFD=y
CONFIG_EVENTFD=y
CONFIG_BPF_SYSCALL=y
CONFIG_BPF_JIT_ALWAYS_ON=y
CONFIG_SHMEM=y
CONFIG_AIO=y
CONFIG_ADVISE_SYSCALLS=y
...
...
@@ -388,8 +389,10 @@ CONFIG_FREEZER=y
CONFIG_ZONE_DMA=y
CONFIG_SMP=y
CONFIG_X86_FEATURE_NAMES=y
CONFIG_X86_FAST_FEATURE_TESTS=y
CONFIG_X86_X2APIC=y
CONFIG_X86_MPPARSE=y
CONFIG_RETPOLINE=y
# CONFIG_X86_EXTENDED_PLATFORM is not set
CONFIG_X86_INTEL_LPSS=y
# CONFIG_X86_AMD_PLATFORM_DEVICE is not set
...
...
@@ -1665,7 +1668,9 @@ CONFIG_NFC_ST_NCI_I2C=m
# CONFIG_NFC_NXP_NCI is not set
# CONFIG_NFC_S3FWRN5_I2C is not set
CONFIG_LWTUNNEL=y
CONFIG_DST_CACHE=y
CONFIG_HAVE_BPF_JIT=y
CONFIG_HAVE_EBPF_JIT=y
#
# Device Drivers
...
...
@@ -1692,6 +1697,7 @@ CONFIG_DEV_COREDUMP=y
CONFIG_SYS_HYPERVISOR=y
# CONFIG_GENERIC_CPU_DEVICES is not set
CONFIG_GENERIC_CPU_AUTOPROBE=y
CONFIG_GENERIC_CPU_VULNERABILITIES=y
CONFIG_REGMAP=y
CONFIG_REGMAP_I2C=y
CONFIG_REGMAP_SPI=m
...
...
@@ -2702,6 +2708,7 @@ CONFIG_USB_NET_NET1080=m
CONFIG_USB_NET_PLUSB=m
CONFIG_USB_NET_MCS7830=m
CONFIG_USB_NET_RNDIS_HOST=m
CONFIG_USB_NET_CDC_SUBSET_ENABLE=m
CONFIG_USB_NET_CDC_SUBSET=m
CONFIG_USB_ALI_M5632=y
CONFIG_USB_AN2720=y
...
...
@@ -7314,7 +7321,6 @@ CONFIG_DEFAULT_IO_DELAY_TYPE=0
# CONFIG_OPTIMIZE_INLINING is not set
# CONFIG_DEBUG_ENTRY is not set
# CONFIG_DEBUG_NMI_SELFTEST is not set
# CONFIG_X86_DEBUG_STATIC_CPU_HAS is not set
# CONFIG_X86_DEBUG_FPU is not set
# CONFIG_PUNIT_ATOM_DEBUG is not set
...
...
linux-lts/config.x86_64.last
deleted
100644 → 0
View file @
8d1fac83
This diff is collapsed.
Click to expand it.
ndiswrapper-lts/PKGBUILD
View file @
6f2af17b
...
...
@@ -2,14 +2,14 @@
pkgname
=
ndiswrapper-lts
_pkgname
=
ndiswrapper
pkgver
=
1.61
pkgrel
=
6
pkgrel
=
7
pkgdesc
=
"Module for NDIS (Windows Network Drivers) drivers supplied by vendors. For linux-lts."
license
=(
'GPL'
)
arch
=(
'x86_64'
)
url
=
"http://ndiswrapper.sourceforge.net"
install
=
"ndiswrapper.install"
depends
=(
"linux-lts=4.4.1
47
"
)
makedepends
=(
"linux-lts-headers=4.4.1
47
"
)
depends
=(
"linux-lts=4.4.1
50
"
)
makedepends
=(
"linux-lts-headers=4.4.1
50
"
)
source
=(
"http://downloads.sourceforge.net/sourceforge/ndiswrapper/ndiswrapper-
$pkgver
.tar.gz"
)
sha1sums
=(
'213854ca8a83f9b5972db8fa873d346124e4bcb5'
)
...
...
nvidia-304xx-lts/PKGBUILD
View file @
6f2af17b
pkgname
=
nvidia-304xx-lts
pkgver
=
304.137
pkgrel
=
4
pkgrel
=
5
pkgdesc
=
"NVIDIA drivers for linux."
arch
=(
'x86_64'
)
url
=
"http://www.nvidia.com/"
depends
=(
"linux-lts=4.4.1
47
"
"nvidia-304xx-utils=
${
pkgver
}
"
)
makedepends
=(
"linux-lts-headers=4.4.1
47
"
)
depends
=(
"linux-lts=4.4.1
50
"
"nvidia-304xx-utils=
${
pkgver
}
"
)
makedepends
=(
"linux-lts-headers=4.4.1
50
"
)
conflicts
=(
'nvidia-340xx-lts'
'nvidia-lts'
)
license
=(
'custom'
)
_extramodules
=
extramodules-CHAKRA-LTS
...
...
nvidia-340xx-lts/PKGBUILD
View file @
6f2af17b
pkgname
=
nvidia-340xx-lts
pkgver
=
340.106
pkgrel
=
3
pkgrel
=
4
pkgdesc
=
"NVIDIA drivers for linux."
arch
=(
'x86_64'
)
url
=
"http://www.nvidia.com/"
depends
=(
"linux-lts=4.4.1
47
"
"nvidia-340xx-utils=
${
pkgver
}
"
)
makedepends
=(
"linux-lts-headers=4.4.1
47
"
)
depends
=(
"linux-lts=4.4.1
50
"
"nvidia-340xx-utils=
${
pkgver
}
"
)
makedepends
=(
"linux-lts-headers=4.4.1
50
"
)
conflicts
=(
'nvidia-304xx-lts'
'nvidia-lts'
)
license
=(
'custom'
)
_extramodules
=
extramodules-CHAKRA-LTS
...
...
nvidia-390xx-lts/PKGBUILD
View file @
6f2af17b
pkgname
=
nvidia-390xx-lts
pkgver
=
390.77
pkgrel
=
2
pkgrel
=
3
pkgdesc
=
"NVIDIA drivers for linux-lts, 390xx legacy branch"
arch
=(
'x86_64'
)
url
=
"http://www.nvidia.com/"
depends
=(
"linux-lts=4.4.1
47
"
"nvidia-390xx-utils=
${
pkgver
}
"
)
makedepends
=(
"linux-lts-headers=4.4.1
47
"
)
depends
=(
"linux-lts=4.4.1
50
"
"nvidia-390xx-utils=
${
pkgver
}
"
)
makedepends
=(
"linux-lts-headers=4.4.1
50
"
)
conflicts
=(
'nvidia-340xx-lts'
'nvidia-lts'
)
license
=(
'custom'
)
options
=(
'!strip'
)
...
...
nvidia-lts/PKGBUILD
View file @
6f2af17b
pkgname
=(
'nvidia-lts'
)
pkgdesc
=(
'NVIDIA drivers for linux-lts'
)
pkgver
=
396.51
pkgrel
=
2
pkgrel
=
3
arch
=(
'x86_64'
)
url
=
"http://www.nvidia.com/"
depends
=(
"linux-lts=4.4.1
47
"
"nvidia-utils=
${
pkgver
}
"
'libglvnd'
)
makedepends
=(
"linux-lts-headers=4.4.1
47
"
)
depends
=(
"linux-lts=4.4.1
50
"
"nvidia-utils=
${
pkgver
}
"
'libglvnd'
)
makedepends
=(
"linux-lts-headers=4.4.1
50
"
)
_extramodules
=
extramodules-CHAKRA-LTS
license
=(
'custom'
)
...
...
tiacx-lts/PKGBUILD
deleted
100644 → 0
View file @
8d1fac83
#
# Chakra Packages for Chakra, part of chakra-project.org
#
# maintainer abveritas@chakra-project.org
# Find the kernel name inside the chroot
_extramodules
=
extramodules-3.0-lts
_kver
=
"
$(
cat
/lib/modules/
${
_extramodules
}
/version
)
"
pkgname
=
tiacx-lts
pkgver
=
20080210
pkgrel
=
7
pkgdesc
=
"OpenSource module for Texas Instruments ACX100/ACX111 wireless chips. For stock chakra kernel"
arch
=(
'x86_64'
)
url
=
"http://acx100.sourceforge.net/"
license
=(
'MPL'
)
depends
=(
'wireless_tools'
'linux-lts>=3.0'
'linux-lts<3.1'
'tiacx-firmware'
)
makedepends
=(
'linux-lts-headers'
)
install
=
acx.install
source
=(
http://downloads.sourceforge.net/sourceforge/acx100/acx-
$pkgver
.tar.bz2
kernel-2.6.27.patch
kernel-2.6.30.patch
kernel-2.6.31.patch
kernel-2.6.33.patch
)
md5sums
=(
'7d5ce3215708e4e9f95cf567a9ee3a12'
'9895f72f8d0c84956b0f6c3b16df0fe8'
'e2900aee839ce711a7f7606b3e3de36e'
'dbcb276d77df7801cef58a85c18dfe94'
'9cd35ea33b8abdd2e4efec485b05477e'
)
build
()
{
cd
${
srcdir
}
/acx-
$pkgver
patch
-p1
-i
../kernel-2.6.27.patch
patch
-p0
-i
../kernel-2.6.30.patch
patch
-p1
-i
../kernel-2.6.31.patch
patch
-p0
-i
../kernel-2.6.33.patch
make
-C
/lib/modules/
${
_kver
}
/build
M
=
`
pwd
`
install
-D
acx.ko
$pkgdir
/lib/modules/
$_extramodules
/acx.ko
sed
-i
-e
"s/EXTRAMODULES='.*'/EXTRAMODULES='
${
_extramodules
}
'/"
${
startdir
}
/
*
.install
}
tiacx-lts/acx.install
deleted
100644 → 0
View file @
8d1fac83
post_install
()
{
post_upgrade
}
post_upgrade
()
{
EXTRAMODULES
=
'extramodules-3.0-lts'
depmod
$
(
cat
/
lib
/
modules
/
$EXTRAMODULES
/
version
)
}
post_remove
()
{
post_upgrade
}
tiacx-lts/kernel-2.6.27.patch
deleted
100644 → 0
View file @
8d1fac83
diff -Nur acx-20080210.orig/ioctl.c acx-20080210/ioctl.c
--- acx-20080210.orig/ioctl.c 2008-02-10 21:06:42.000000000 +0100
+++ acx-20080210/ioctl.c 2008-10-10 17:07:32.000000000 +0200
@@ -489,6 +489,7 @@
static char*
acx_s_scan_add_station(
acx_device_t *adev,
+ struct iw_request_info *info,
char *ptr,
char *end_buf,
struct client *bss)
@@ -503,14 +504,14 @@
iwe.u.ap_addr.sa_family = ARPHRD_ETHER;
MAC_COPY(iwe.u.ap_addr.sa_data, bss->bssid);
acxlog_mac(L_IOCTL, "scan, station address: ", bss->bssid, "\n");
- ptr = iwe_stream_add_event(ptr, end_buf, &iwe, IW_EV_ADDR_LEN);
+ ptr = iwe_stream_add_event(info, ptr, end_buf, &iwe, IW_EV_ADDR_LEN);
/* Add ESSID */
iwe.cmd = SIOCGIWESSID;
iwe.u.data.length = bss->essid_len;
iwe.u.data.flags = 1;
log(L_IOCTL, "scan, essid: %s\n", bss->essid);
- ptr = iwe_stream_add_point(ptr, end_buf, &iwe, bss->essid);
+ ptr = iwe_stream_add_point(info, ptr, end_buf, &iwe, bss->essid);
/* Add mode */
iwe.cmd = SIOCGIWMODE;
@@ -520,7 +521,7 @@
else
iwe.u.mode = IW_MODE_ADHOC;
log(L_IOCTL, "scan, mode: %d\n", iwe.u.mode);
- ptr = iwe_stream_add_event(ptr, end_buf, &iwe, IW_EV_UINT_LEN);
+ ptr = iwe_stream_add_event(info, ptr, end_buf, &iwe, IW_EV_UINT_LEN);
}
/* Add frequency */
@@ -528,7 +529,7 @@
iwe.u.freq.m = acx_channel_freq[bss->channel - 1] * 100000;
iwe.u.freq.e = 1;
log(L_IOCTL, "scan, frequency: %d\n", iwe.u.freq.m);
- ptr = iwe_stream_add_event(ptr, end_buf, &iwe, IW_EV_FREQ_LEN);
+ ptr = iwe_stream_add_event(info, ptr, end_buf, &iwe, IW_EV_FREQ_LEN);
/* Add link quality */
iwe.cmd = IWEVQUAL;
@@ -546,7 +547,7 @@
iwe.u.qual.updated = 7;
log(L_IOCTL, "scan, link quality: %d/%d/%d\n",
iwe.u.qual.level, iwe.u.qual.noise, iwe.u.qual.qual);
- ptr = iwe_stream_add_event(ptr, end_buf, &iwe, IW_EV_QUAL_LEN);
+ ptr = iwe_stream_add_event(info, ptr, end_buf, &iwe, IW_EV_QUAL_LEN);
/* Add encryption */
iwe.cmd = SIOCGIWENCODE;
@@ -556,7 +557,7 @@
iwe.u.data.flags = IW_ENCODE_DISABLED;
iwe.u.data.length = 0;
log(L_IOCTL, "scan, encryption flags: %X\n", iwe.u.data.flags);
- ptr = iwe_stream_add_point(ptr, end_buf, &iwe, bss->essid);
+ ptr = iwe_stream_add_point(info, ptr, end_buf, &iwe, bss->essid);
/* add rates */
iwe.cmd = SIOCGIWRATE;
@@ -570,7 +571,7 @@
if (rate & 1) {
iwe.u.bitrate.value = *p * 500000; /* units of 500kb/s */
log(L_IOCTL, "scan, rate: %d\n", iwe.u.bitrate.value);
- ptr_rate = iwe_stream_add_value(ptr, ptr_rate, end_buf,
+ ptr_rate = iwe_stream_add_value(info, ptr, ptr_rate, end_buf,
&iwe, IW_EV_PARAM_LEN);
}
rate >>= 1;
@@ -625,7 +626,7 @@
for (i = 0; i < ARRAY_SIZE(adev->sta_list); i++) {
struct client *bss = &adev->sta_list[i];
if (!bss->used) continue;
- ptr = acx_s_scan_add_station(adev, ptr,
+ ptr = acx_s_scan_add_station(adev, info, ptr,
extra + IW_SCAN_MAX_DATA, bss);
}
dwrq->length = ptr - extra;
tiacx-lts/kernel-2.6.30.patch
deleted
100644 → 0
View file @
8d1fac83
--- wlan_compat.h~ 2009-06-12 09:17:30.000000000 +0200
+++ wlan_compat.h 2009-06-12 09:17:30.000000000 +0200
@@ -217,13 +217,6 @@
/*=============================================================*/
#define WLAN_PACKED __attribute__ ((packed))
-/* Interrupt handler backwards compatibility stuff */
-#ifndef IRQ_NONE
-#define IRQ_NONE
-#define IRQ_HANDLED
-typedef void irqreturn_t;
-#endif
-
#ifndef ARPHRD_IEEE80211_PRISM
#define ARPHRD_IEEE80211_PRISM 802
#endif
tiacx-lts/kernel-2.6.31.patch
deleted
100644 → 0
View file @
8d1fac83
--- acx-20080210/pci.c 2008-02-10 21:06:42.000000000 +0100
+++ acx-20080210/pci.c 2009-09-11 22:27:28.000000000 +0200
@@ -1437,6 +1437,19 @@
static void dummy_netdev_init(struct net_device *ndev) {}
+static const struct net_device_ops acx_netdev_ops = {
+ .ndo_open = &acxpci_e_open,
+ .ndo_stop = &acxpci_e_close,
+ .ndo_start_xmit = &acx_i_start_xmit,
+ .ndo_get_stats = &acx_e_get_stats,
+#if IW_HANDLER_VERSION <= 5
+ .ndo_get_wireless_stats = &acx_e_get_wireless_stats,
+#endif
+ .ndo_set_multicast_list = &acxpci_i_set_multicast_list,
+ .ndo_tx_timeout = &acxpci_i_tx_timeout,
+ .ndo_change_mtu = &acx_e_change_mtu,
+};
+
#ifdef CONFIG_PCI
static int __devinit acxpci_e_probe(struct pci_dev *pdev, const struct pci_device_id *id)
{
@@ -1547,17 +1560,8 @@
}
ether_setup(ndev);
- ndev->open = &acxpci_e_open;
- ndev->stop = &acxpci_e_close;
- ndev->hard_start_xmit = &acx_i_start_xmit;
- ndev->get_stats = &acx_e_get_stats;
-#if IW_HANDLER_VERSION <= 5
- ndev->get_wireless_stats = &acx_e_get_wireless_stats;
-#endif
- ndev->wireless_handlers = (struct iw_handler_def *)&acx_ioctl_handler_def;
- ndev->set_multicast_list = &acxpci_i_set_multicast_list;
- ndev->tx_timeout = &acxpci_i_tx_timeout;
- ndev->change_mtu = &acx_e_change_mtu;
+ ndev->wireless_handlers = (struct iw_handler_def *)&acx_ioctl_handler_def;
+ ndev->netdev_ops = &acx_netdev_ops;
ndev->watchdog_timeo = 4 * HZ;
ndev->irq = pdev->irq;
ndev->base_addr = pci_resource_start(pdev, 0);
--- acx-20080210/usb.c 2008-02-10 21:06:42.000000000 +0100
+++ acx-20080210/usb.c 2009-09-11 22:38:42.000000000 +0200
@@ -778,6 +778,21 @@
static void
dummy_netdev_init(struct net_device *ndev) {}
+static const struct net_device_ops acxusb_netdev_ops = {
+ .ndo_open = &acxusb_e_open,
+ .ndo_stop = &acxusb_e_close,
+ .ndo_start_xmit = (void *)&acx_i_start_xmit,
+ .ndo_get_stats = (void *)&acx_e_get_stats,
+#if IW_HANDLER_VERSION <= 5
+ .ndo_get_wireless_stats = (void *)&acx_e_get_wireless_stats,
+#endif
+ .ndo_set_multicast_list = (void *)&acxusb_i_set_rx_mode,
+#ifdef HAVE_TX_TIMEOUT
+ .ndo_tx_timeout = &acxusb_i_tx_timeout,
+#endif
+ .ndo_change_mtu = &acx_e_change_mtu,
+};
+
static int
acxusb_e_probe(struct usb_interface *intf, const struct usb_device_id *devID)
{
@@ -845,20 +860,11 @@
/* Register the callbacks for the network device functions */
ether_setup(ndev);
- ndev->open = &acxusb_e_open;
- ndev->stop = &acxusb_e_close;
- ndev->hard_start_xmit = (void *)&acx_i_start_xmit;
- ndev->get_stats = (void *)&acx_e_get_stats;
-#if IW_HANDLER_VERSION <= 5
- ndev->get_wireless_stats = (void *)&acx_e_get_wireless_stats;
-#endif
ndev->wireless_handlers = (struct iw_handler_def *)&acx_ioctl_handler_def;
- ndev->set_multicast_list = (void *)&acxusb_i_set_rx_mode;
+ ndev->netdev_ops = &acxusb_netdev_ops;
#ifdef HAVE_TX_TIMEOUT
- ndev->tx_timeout = &acxusb_i_tx_timeout;
ndev->watchdog_timeo = 4 * HZ;
#endif
- ndev->change_mtu = &acx_e_change_mtu;
#if (LINUX_VERSION_CODE < KERNEL_VERSION(2,6,24)) && defined(SET_MODULE_OWNER)
SET_MODULE_OWNER(ndev);
#endif
tiacx-lts/kernel-2.6.33.patch
deleted
100644 → 0
View file @
8d1fac83
--- pci.c~ 2010-02-27 19:30:54.000000000 +0100
+++ pci.c 2010-02-27 19:30:54.000000000 +0100
@@ -35,7 +35,7 @@
/* Linux 2.6.18+ uses <linux/utsrelease.h> */
#ifndef UTS_RELEASE
-#include <linux/utsrelease.h>
+#include <generated/utsrelease.h>
#endif
#include <linux/compiler.h> /* required for Lx 2.6.8 ?? */
vhba-module-lts/PKGBUILD
View file @
6f2af17b
...
...
@@ -2,13 +2,13 @@
pkgname
=
vhba-module-lts
_pkgname
=
vhba-module
pkgver
=
20170610
pkgrel
=
5
pkgrel
=
6
pkgdesc
=
"Kernel module that emulates SCSI devices"
arch
=(
'x86_64'
)
url
=
"http://cdemu.sourceforge.net/"
license
=(
'GPL2'
)
depends
=(
"linux-lts>=
${
_kernelver
}
"
)
makedepends
=(
"linux-lts-headers=4.4.1
47
"
)
makedepends
=(
"linux-lts-headers=4.4.1
50
"
)
install
=
vhba-module.install
source
=(
"http://sourceforge.net/projects/cdemu/files/vhba-module/vhba-module-
$pkgver
.tar.bz2"
'60-vhba.rules'
)
...
...
@@ -20,13 +20,12 @@ prepare() {
}
build
()
{
cd
"
$_pkgname
-
$pkgver
"
make
KDIR
=
$_rootOfSourceTree
KERNELRELEASE
=
$_kver
cd
$_pkgname
-
$pkgver
make
KERNELRELEASE
=
"
$(
cat
/usr/lib/modules/
$_extramodules
/version
)
"
}
package
()
{
cd
$_pkgname
-
$pkgver
install
-D
m644
vhba.ko
"
$pkgdir
/usr/lib/modules/
${
_extramodules
}
/vhba.ko"
sed
-i
-e
"s/EXTRAMODULES='.*'/EXTRAMODULES='
${
_extramodules
}
'/"
"
${
startdir
}
/vhba-module.install"
install
-D
t
"
$pkgdir
/usr/lib/modules/
$_extramodules
"
-m644
vhba.ko
install
-Dt
"
$pkgdir
/usr/lib/udev/rules.d"
-m644
../60-vhba.rules
}
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment