generated from archlinux/template
Fix xhci mass storage problems
This commit is contained in:
12
PKGBUILD
12
PKGBUILD
@@ -5,7 +5,7 @@ pkgbase=linux # Build stock -ARCH kernel
|
||||
#pkgbase=linux-custom # Build kernel with a different name
|
||||
_srcname=linux-3.13
|
||||
pkgver=3.13.6
|
||||
pkgrel=1
|
||||
pkgrel=2
|
||||
arch=('i686' 'x86_64')
|
||||
url="http://www.kernel.org/"
|
||||
license=('GPL2')
|
||||
@@ -28,6 +28,8 @@ source=("http://www.kernel.org/pub/linux/kernel/v3.x/${_srcname}.tar.xz"
|
||||
'0001-syscalls.h-use-gcc-alias-instead-of-assembler-aliase.patch'
|
||||
'0001-Bluetooth-allocate-static-minor-for-vhci.patch'
|
||||
'i8042-fix-aliases.patch'
|
||||
'0001-Revert-xhci-1.0-Limit-arbitrarily-aligned-scatter-ga.patch'
|
||||
'0002-Revert-USBNET-ax88179_178a-enable-tso-if-usb-host-su.patch'
|
||||
)
|
||||
md5sums=('0ecbaf65c00374eb4a826c2f9f37606f'
|
||||
'a9b131a589a176b4c437b8ca4557b85e'
|
||||
@@ -44,7 +46,9 @@ md5sums=('0ecbaf65c00374eb4a826c2f9f37606f'
|
||||
'a724515b350b29c53f20e631c6cf9a14'
|
||||
'e6fa278c092ad83780e2dd0568e24ca6'
|
||||
'06f1751777e0772c18c3fa4fbae91aa5'
|
||||
'93dbf73af819b77f03453a9c6de2bb47')
|
||||
'93dbf73af819b77f03453a9c6de2bb47'
|
||||
'c753259957f6f2515c634ef99aef4a6b'
|
||||
'53f116cdcc9635b694bc5735a36ba9d8')
|
||||
|
||||
_kernelname=${pkgbase#linux}
|
||||
|
||||
@@ -90,6 +94,10 @@ prepare() {
|
||||
# Fix vhci warning in kmod (to restore every kernel maintainer's sanity)
|
||||
patch -p1 -i "${srcdir}/0001-Bluetooth-allocate-static-minor-for-vhci.patch"
|
||||
|
||||
# Fix xhci mass storage problems
|
||||
patch -p1 -i "${srcdir}/0001-Revert-xhci-1.0-Limit-arbitrarily-aligned-scatter-ga.patch"
|
||||
patch -p1 -i "${srcdir}/0002-Revert-USBNET-ax88179_178a-enable-tso-if-usb-host-su.patch"
|
||||
|
||||
if [ "${CARCH}" = "x86_64" ]; then
|
||||
cat "${srcdir}/config.x86_64" > ./.config
|
||||
else
|
||||
|
||||
Reference in New Issue
Block a user