From 3159e9e9ab16cf19becd936a2c2529b784c3cc2c Mon Sep 17 00:00:00 2001
From: glebchek <mail@glebchek.com>
Date: Thu, 20 Mar 2014 16:38:35 +0400
Subject: [PATCH] LXC networking support

---
 core/linux-sun7i/PKGBUILD            | 4 ++--
 core/linux-sun7i/config              | 7 ++++---
 core/linux-sun7i/linux-sun7i.install | 2 +-
 3 files changed, 7 insertions(+), 6 deletions(-)

diff --git a/core/linux-sun7i/PKGBUILD b/core/linux-sun7i/PKGBUILD
index 0e4d1ded8..6de12bcd1 100644
--- a/core/linux-sun7i/PKGBUILD
+++ b/core/linux-sun7i/PKGBUILD
@@ -9,7 +9,7 @@ _srcname=linux-sunxi-${_commit}
 _kernelname=${pkgbase#linux}
 _desc="sun7i"
 pkgver=3.4.79
-pkgrel=5
+pkgrel=6
 arch=('armv7h')
 url="https://github.com/linux-sunxi/linux-sunxi/"
 license=('GPL2')
@@ -19,7 +19,7 @@ source=("https://github.com/linux-sunxi/linux-sunxi/archive/${_commit}.tar.gz"
         'config'
         'working-bcmdhd-driver.patch')
 md5sums=('a6f18158a7f8dcb552547ea958c24c6b'
-         '7b4a40f7addd75f78d2a082ca9d0933b'
+         '752776a4a195c39b7b388183034b29bf'
          '07c260ca97572a830778362c7b744f9c')
 
 prepare() {
diff --git a/core/linux-sun7i/config b/core/linux-sun7i/config
index 9a7d9c3dd..101de9644 100644
--- a/core/linux-sun7i/config
+++ b/core/linux-sun7i/config
@@ -1,6 +1,6 @@
 #
 # Automatically generated file; DO NOT EDIT.
-# Linux/arm 3.4.79-4 Kernel Configuration
+# Linux/arm 3.4.79-6 Kernel Configuration
 #
 CONFIG_ARM=y
 CONFIG_SYS_SUPPORTS_APM_EMULATION=y
@@ -1312,12 +1312,13 @@ CONFIG_NET_CORE=y
 # CONFIG_EQUALIZER is not set
 CONFIG_MII=y
 # CONFIG_NET_TEAM is not set
-# CONFIG_MACVLAN is not set
+CONFIG_MACVLAN=m
+# CONFIG_MACVTAP is not set
 # CONFIG_NETCONSOLE is not set
 # CONFIG_NETPOLL is not set
 # CONFIG_NET_POLL_CONTROLLER is not set
 CONFIG_TUN=m
-# CONFIG_VETH is not set
+CONFIG_VETH=m
 
 #
 # CAIF transport drivers
diff --git a/core/linux-sun7i/linux-sun7i.install b/core/linux-sun7i/linux-sun7i.install
index eaab6363c..b0b4594d1 100644
--- a/core/linux-sun7i/linux-sun7i.install
+++ b/core/linux-sun7i/linux-sun7i.install
@@ -2,7 +2,7 @@
 # arg 2:  the old package version
 
 KERNEL_NAME=-sun7i
-KERNEL_VERSION=3.4.79-1-ARCH
+KERNEL_VERSION=3.4.79-6-ARCH
 
 post_install () {
   # updating module dependencies