get:
Show a patch.

patch:
Update a patch.

put:
Update a patch.

GET /api/1.2/patches/814686/?format=api
HTTP 200 OK
Allow: GET, PUT, PATCH, HEAD, OPTIONS
Content-Type: application/json
Vary: Accept

{
    "id": 814686,
    "url": "http://patchwork.ozlabs.org/api/1.2/patches/814686/?format=api",
    "web_url": "http://patchwork.ozlabs.org/project/lede/patch/1505673240-6491-1-git-send-email-roman@advem.lv/",
    "project": {
        "id": 54,
        "url": "http://patchwork.ozlabs.org/api/1.2/projects/54/?format=api",
        "name": "LEDE development",
        "link_name": "lede",
        "list_id": "lede-dev.lists.infradead.org",
        "list_email": "lede-dev@lists.infradead.org",
        "web_url": "http://lede-project.org/",
        "scm_url": "",
        "webscm_url": "http://git.lede-project.org/",
        "list_archive_url": "",
        "list_archive_url_format": "",
        "commit_url_format": ""
    },
    "msgid": "<1505673240-6491-1-git-send-email-roman@advem.lv>",
    "list_archive_url": null,
    "date": "2017-09-17T18:34:00",
    "name": "[LEDE-DEV,3/5] rb532: add support for 4.9 (including latest korina fixes)",
    "commit_ref": null,
    "pull_url": null,
    "state": "accepted",
    "archived": false,
    "hash": "6fb8e8e33952cbee5b137309b53646add88f0cd1",
    "submitter": {
        "id": 65345,
        "url": "http://patchwork.ozlabs.org/api/1.2/people/65345/?format=api",
        "name": "Roman Yeryomin",
        "email": "leroi.lists@gmail.com"
    },
    "delegate": null,
    "mbox": "http://patchwork.ozlabs.org/project/lede/patch/1505673240-6491-1-git-send-email-roman@advem.lv/mbox/",
    "series": [
        {
            "id": 3535,
            "url": "http://patchwork.ozlabs.org/api/1.2/series/3535/?format=api",
            "web_url": "http://patchwork.ozlabs.org/project/lede/list/?series=3535",
            "date": "2017-09-17T18:32:42",
            "name": "[LEDE-DEV,1/5] rb532: increase kernel size limit (prepare for 4.9)",
            "version": 1,
            "mbox": "http://patchwork.ozlabs.org/series/3535/mbox/"
        }
    ],
    "comments": "http://patchwork.ozlabs.org/api/patches/814686/comments/",
    "check": "pending",
    "checks": "http://patchwork.ozlabs.org/api/patches/814686/checks/",
    "tags": {},
    "related": [],
    "headers": {
        "Return-Path": "<lede-dev-bounces+incoming=patchwork.ozlabs.org@lists.infradead.org>",
        "X-Original-To": "incoming@patchwork.ozlabs.org",
        "Delivered-To": "patchwork-incoming@bilbo.ozlabs.org",
        "Authentication-Results": [
            "ozlabs.org; spf=none (mailfrom)\n\tsmtp.mailfrom=lists.infradead.org (client-ip=65.50.211.133;\n\thelo=bombadil.infradead.org;\n\tenvelope-from=lede-dev-bounces+incoming=patchwork.ozlabs.org@lists.infradead.org;\n\treceiver=<UNKNOWN>)",
            "ozlabs.org; dkim=pass (2048-bit key;\n\tunprotected) header.d=lists.infradead.org\n\theader.i=@lists.infradead.org header.b=\"kGYThUUz\"; \n\tdkim=fail reason=\"signature verification failed\" (2048-bit key;\n\tunprotected) header.d=gmail.com header.i=@gmail.com\n\theader.b=\"sQi6SjBf\"; dkim-atps=neutral"
        ],
        "Received": [
            "from bombadil.infradead.org (bombadil.infradead.org\n\t[65.50.211.133])\n\t(using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256\n\tbits)) (No client certificate requested)\n\tby ozlabs.org (Postfix) with ESMTPS id 3xwHrB59q8z9s3w\n\tfor <incoming@patchwork.ozlabs.org>;\n\tMon, 18 Sep 2017 04:35:22 +1000 (AEST)",
            "from localhost ([127.0.0.1] helo=bombadil.infradead.org)\n\tby bombadil.infradead.org with esmtp (Exim 4.87 #1 (Red Hat Linux))\n\tid 1dtePP-0001Uf-HH; Sun, 17 Sep 2017 18:35:11 +0000",
            "from mail-lf0-x243.google.com ([2a00:1450:4010:c07::243])\n\tby bombadil.infradead.org with esmtps (Exim 4.87 #1 (Red Hat Linux))\n\tid 1dteP4-0000kW-Fu\n\tfor lede-dev@lists.infradead.org; Sun, 17 Sep 2017 18:34:55 +0000",
            "by mail-lf0-x243.google.com with SMTP id c8so3491237lfe.2\n\tfor <lede-dev@lists.infradead.org>;\n\tSun, 17 Sep 2017 11:34:30 -0700 (PDT)",
            "from localhost.localdomain ([213.175.92.61])\n\tby smtp.googlemail.com with ESMTPSA id\n\tq87sm1144153lfg.35.2017.09.17.11.34.27\n\tfor <lede-dev@lists.infradead.org>\n\t(version=TLS1_2 cipher=ECDHE-RSA-AES128-SHA bits=128/128);\n\tSun, 17 Sep 2017 11:34:27 -0700 (PDT)"
        ],
        "DKIM-Signature": [
            "v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed;\n\td=lists.infradead.org; s=bombadil.20170209; h=Sender:\n\tContent-Transfer-Encoding:Content-Type:MIME-Version:List-Subscribe:List-Help:\n\tList-Post:List-Archive:List-Unsubscribe:List-Id:Subject:Message-Id:Date:To:\n\tFrom:Reply-To:Cc:Content-ID:Content-Description:Resent-Date:Resent-From:\n\tResent-Sender:Resent-To:Resent-Cc:Resent-Message-ID:In-Reply-To:References:\n\tList-Owner; bh=ZAhxJpJgu63neEAr/UPhgp5AWlKeUvBrnB+niDdCqhM=;\n\tb=kGYThUUzHaoslh\n\tyNiyCzJHy49SU3jn6A3KCQVhQPnJBUIyJlezmdIG6rtVIIMocGVv9YEKvcdPc6eEy6VUVMHKanLlQ\n\t2J9tdCul9IiVGe1GNTzI4/PgPcMFg78YCr0IP8aqIM02vzL6SGemyzhmRadZZ/w5y7o2xqgIaFBIk\n\teIC/wparDYzg1jcoJmnWc34cVOpRQzG4GlhidjfyM+on0aFgNloK0kw7p8rrTPrvObfSBeF0mpQ0I\n\tXeMaPLOi+ddZTy9sndVkzNLnMX/pJjvEbYNv8Ud0xqWX0hG/4UwgKzW8xsJDEK8mLWWmpbnFepDb3\n\tZQm0dQzkIsbgvkfR8KGw==;",
            "v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025;\n\th=from:to:subject:date:message-id;\n\tbh=rQ+6jt4K/CWjZJzwYwr686lfjVJpGiSl929yP8Z/c0c=;\n\tb=sQi6SjBf2DghpLypOK2qAs+L6ib/I4IMBIJzPHX0b0tyzV7hdmNzjSQOiytrcL5OCe\n\tGq3R+WgJVravKQGS+h9ol2T4jTDTGLnRUdxYqVSqRvN8QBTdQOTJt+bJQmAdH6Z4wcYc\n\tnX3fKn4IOJHRwdIm2JA/4JIHeEs9u/PqLYfgLrcZonLTA30RwsF4bvx/dIC7M+3X1uq0\n\tB8ryB0/3tSQpHKVCcX3InCgsn8Zp4OHALFHZp6nKZdgG9KqRROz+9/Zs5gBs7I5IwAGj\n\tDLqWZNZ/QuxoMzFeugwhMu1zby9Be8Ub8MbsvjIQ2sDQLwJtesguIJaTNC2MzbDxzptN\n\tlp/Q=="
        ],
        "X-Google-DKIM-Signature": "v=1; a=rsa-sha256; c=relaxed/relaxed;\n\td=1e100.net; s=20161025;\n\th=x-gm-message-state:from:to:subject:date:message-id;\n\tbh=rQ+6jt4K/CWjZJzwYwr686lfjVJpGiSl929yP8Z/c0c=;\n\tb=fAUM5Lm0X7tRqbAnzHP7wCGhp1iPgVpT7Kkiuas/ZUxAO+EZdAidmbUWNfbuBadamH\n\tRr4wR8QQFEspZlQiPITsX+aQbr6XfwrPUiDqR81w2U84f3h52uHQbXgpEhKJKKIR2jUc\n\tIr1xhN0oqyas0UDa57qapTDuJq9JrDBik9bLBn+khhGqKcMkjMco1LjzfBOFIRoexWUh\n\txCcoNigzRODj6U27T86muheuSwOUbdgCgu114tbbYbIZ9kc0cSpJMHQamrxgQZG0xNd0\n\tmwmlKHS+dT/ohVF49e/cy/2yxG0up/xXbXsaxnCQ5VjgYIcxzmNyi7AbJvq4Vu4vDXw6\n\tSMbQ==",
        "X-Gm-Message-State": "AHPjjUj5ExWDZzS7og4raAgx8NDl4LXprb7qxipXr6amB2F8EIyucFId\n\tPLl12KjyNMZ2/+/C",
        "X-Google-Smtp-Source": "AOwi7QBS7xDcKS9Sslv/UQmQUjGJ4kGynfUb2Nxg/tpIfPZOoVa+kKyiLz3is1wFCnGPGV5GcWbr3A==",
        "X-Received": "by 10.25.196.70 with SMTP id u67mr2747866lff.144.1505673268141; \n\tSun, 17 Sep 2017 11:34:28 -0700 (PDT)",
        "From": "Roman Yeryomin <leroi.lists@gmail.com>",
        "X-Google-Original-From": "Roman Yeryomin <roman@advem.lv>",
        "To": "LEDE Development List <lede-dev@lists.infradead.org>",
        "Date": "Sun, 17 Sep 2017 21:34:00 +0300",
        "Message-Id": "<1505673240-6491-1-git-send-email-roman@advem.lv>",
        "X-Mailer": "git-send-email 2.7.4",
        "X-CRM114-Version": "20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 ",
        "X-CRM114-CacheID": "sfid-20170917_113450_976904_7DF5D25C ",
        "X-CRM114-Status": "GOOD (  16.31  )",
        "X-Spam-Score": "-2.0 (--)",
        "X-Spam-Report": "SpamAssassin version 3.4.1 on bombadil.infradead.org summary:\n\tContent analysis details:   (-2.0 points)\n\tpts rule name              description\n\t---- ----------------------\n\t--------------------------------------------------\n\t-0.0 RCVD_IN_DNSWL_NONE RBL: Sender listed at http://www.dnswl.org/,\n\tno\n\ttrust [2a00:1450:4010:c07:0:0:0:243 listed in] [list.dnswl.org]\n\t-0.0 SPF_PASS               SPF: sender matches SPF record\n\t0.0 FREEMAIL_FROM Sender email is commonly abused enduser mail\n\tprovider (leroi.lists[at]gmail.com)\n\t-1.9 BAYES_00               BODY: Bayes spam probability is 0 to 1%\n\t[score: 0.0000]\n\t-0.1 DKIM_VALID Message has at least one valid DKIM or DK signature\n\t0.1 DKIM_SIGNED            Message has a DKIM or DK signature,\n\tnot necessarily valid\n\t-0.1 DKIM_VALID_AU Message has a valid DKIM or DK signature from\n\tauthor's domain",
        "Subject": "[LEDE-DEV] [PATCH 3/5] rb532: add support for 4.9 (including latest\n\tkorina fixes)",
        "X-BeenThere": "lede-dev@lists.infradead.org",
        "X-Mailman-Version": "2.1.21",
        "Precedence": "list",
        "List-Id": "<lede-dev.lists.infradead.org>",
        "List-Unsubscribe": "<http://lists.infradead.org/mailman/options/lede-dev>,\n\t<mailto:lede-dev-request@lists.infradead.org?subject=unsubscribe>",
        "List-Archive": "<http://lists.infradead.org/pipermail/lede-dev/>",
        "List-Post": "<mailto:lede-dev@lists.infradead.org>",
        "List-Help": "<mailto:lede-dev-request@lists.infradead.org?subject=help>",
        "List-Subscribe": "<http://lists.infradead.org/mailman/listinfo/lede-dev>,\n\t<mailto:lede-dev-request@lists.infradead.org?subject=subscribe>",
        "MIME-Version": "1.0",
        "Content-Type": "text/plain; charset=\"us-ascii\"",
        "Content-Transfer-Encoding": "7bit",
        "Sender": "\"Lede-dev\" <lede-dev-bounces@lists.infradead.org>",
        "Errors-To": "lede-dev-bounces+incoming=patchwork.ozlabs.org@lists.infradead.org"
    },
    "content": "Signed-off-by: Roman Yeryomin <roman@advem.lv>\n---\n target/linux/rb532/config-4.9                      | 185 +++++++++++++++++++++\n .../linux/rb532/patches-4.9/001-cmdline_hack.patch |  20 +++\n .../patches-4.9/004-rb532-fix-partition-info.patch |  17 ++\n ...e-rx-overflow-and-tx-underflow-interrupts.patch | 156 +++++++++++++++++\n ...a-refactor-rx-descriptor-flags-processing.patch | 110 ++++++++++++\n .../patches-4.9/107-use-NAPI_POLL_WEIGHT.patch     |  11 ++\n .../rb532/patches-4.9/108-korina-use-gro.patch     |  11 ++\n .../109-korina-whitespace-cleanup-2.patch          | 135 +++++++++++++++\n .../patches-4.9/110-korina-update-authors.patch    |  17 ++\n .../patches-4.9/111-korina-version-bump.patch      |  13 ++\n 10 files changed, 675 insertions(+)\n create mode 100644 target/linux/rb532/config-4.9\n create mode 100644 target/linux/rb532/patches-4.9/001-cmdline_hack.patch\n create mode 100644 target/linux/rb532/patches-4.9/004-rb532-fix-partition-info.patch\n create mode 100644 target/linux/rb532/patches-4.9/106-dont-use-rx-overflow-and-tx-underflow-interrupts.patch\n create mode 100644 target/linux/rb532/patches-4.9/107-korina-refactor-rx-descriptor-flags-processing.patch\n create mode 100644 target/linux/rb532/patches-4.9/107-use-NAPI_POLL_WEIGHT.patch\n create mode 100644 target/linux/rb532/patches-4.9/108-korina-use-gro.patch\n create mode 100644 target/linux/rb532/patches-4.9/109-korina-whitespace-cleanup-2.patch\n create mode 100644 target/linux/rb532/patches-4.9/110-korina-update-authors.patch\n create mode 100644 target/linux/rb532/patches-4.9/111-korina-version-bump.patch",
    "diff": "diff --git a/target/linux/rb532/config-4.9 b/target/linux/rb532/config-4.9\nnew file mode 100644\nindex 0000000..765f01b\n--- /dev/null\n+++ b/target/linux/rb532/config-4.9\n@@ -0,0 +1,185 @@\n+CONFIG_ARCH_BINFMT_ELF_STATE=y\n+CONFIG_ARCH_CLOCKSOURCE_DATA=y\n+CONFIG_ARCH_DISCARD_MEMBLOCK=y\n+CONFIG_ARCH_HAS_ATOMIC64_DEC_IF_POSITIVE=y\n+CONFIG_ARCH_HAS_ELF_RANDOMIZE=y\n+# CONFIG_ARCH_HAS_GCOV_PROFILE_ALL is not set\n+# CONFIG_ARCH_HAS_SG_CHAIN is not set\n+CONFIG_ARCH_HIBERNATION_POSSIBLE=y\n+CONFIG_ARCH_MIGHT_HAVE_PC_PARPORT=y\n+CONFIG_ARCH_MIGHT_HAVE_PC_SERIO=y\n+CONFIG_ARCH_REQUIRE_GPIOLIB=y\n+CONFIG_ARCH_SUPPORTS_UPROBES=y\n+CONFIG_ARCH_SUSPEND_POSSIBLE=y\n+CONFIG_ARCH_USE_BUILTIN_BSWAP=y\n+CONFIG_ARCH_WANT_IPC_PARSE_VERSION=y\n+CONFIG_ATA=y\n+CONFIG_BLK_DEV_LOOP=y\n+CONFIG_BLK_DEV_SD=y\n+CONFIG_CC_OPTIMIZE_FOR_SIZE=y\n+CONFIG_CEVT_R4K=y\n+CONFIG_CLONE_BACKWARDS=y\n+CONFIG_CPU_GENERIC_DUMP_TLB=y\n+CONFIG_CPU_HAS_PREFETCH=y\n+CONFIG_CPU_HAS_SYNC=y\n+CONFIG_CPU_LITTLE_ENDIAN=y\n+CONFIG_CPU_MIPS32=y\n+CONFIG_CPU_MIPS32_R1=y\n+CONFIG_CPU_MIPSR1=y\n+CONFIG_CPU_NEEDS_NO_SMARTMIPS_OR_MICROMIPS=y\n+CONFIG_CPU_R4K_CACHE_TLB=y\n+CONFIG_CPU_R4K_FPU=y\n+CONFIG_CPU_SUPPORTS_32BIT_KERNEL=y\n+CONFIG_CPU_SUPPORTS_HIGHMEM=y\n+CONFIG_CRC16=y\n+CONFIG_CRYPTO_CRC32C=y\n+CONFIG_CRYPTO_DEFLATE=y\n+CONFIG_CRYPTO_HASH=y\n+CONFIG_CRYPTO_HASH2=y\n+CONFIG_CRYPTO_LZO=y\n+CONFIG_CRYPTO_RNG2=y\n+CONFIG_CRYPTO_WORKQUEUE=y\n+CONFIG_CSRC_R4K=y\n+CONFIG_DMA_NONCOHERENT=y\n+# CONFIG_ENABLE_WARN_DEPRECATED is not set\n+CONFIG_EXT4_FS=y\n+# CONFIG_F2FS_CHECK_FS is not set\n+CONFIG_F2FS_FS=y\n+# CONFIG_F2FS_FS_SECURITY is not set\n+CONFIG_F2FS_FS_XATTR=y\n+CONFIG_F2FS_STAT_FS=y\n+CONFIG_FS_MBCACHE=y\n+CONFIG_GENERIC_ATOMIC64=y\n+CONFIG_GENERIC_CLOCKEVENTS=y\n+CONFIG_GENERIC_CMOS_UPDATE=y\n+CONFIG_GENERIC_IO=y\n+CONFIG_GENERIC_IRQ_CHIP=y\n+CONFIG_GENERIC_IRQ_SHOW=y\n+CONFIG_GENERIC_PCI_IOMAP=y\n+CONFIG_GENERIC_SCHED_CLOCK=y\n+CONFIG_GENERIC_SMP_IDLE_THREAD=y\n+CONFIG_GENERIC_TIME_VSYSCALL=y\n+CONFIG_GLOB=y\n+CONFIG_GPIOLIB=y\n+CONFIG_GPIO_DEVRES=y\n+CONFIG_GPIO_SYSFS=y\n+CONFIG_HARDWARE_WATCHPOINTS=y\n+CONFIG_HAS_DMA=y\n+CONFIG_HAS_IOMEM=y\n+CONFIG_HAS_IOPORT_MAP=y\n+# CONFIG_HAVE_64BIT_ALIGNED_ACCESS is not set\n+# CONFIG_HAVE_ARCH_BITREVERSE is not set\n+CONFIG_HAVE_ARCH_JUMP_LABEL=y\n+CONFIG_HAVE_ARCH_KGDB=y\n+CONFIG_HAVE_ARCH_SECCOMP_FILTER=y\n+CONFIG_HAVE_ARCH_TRACEHOOK=y\n+# CONFIG_HAVE_BOOTMEM_INFO_NODE is not set\n+CONFIG_HAVE_BPF_JIT=y\n+CONFIG_HAVE_CC_STACKPROTECTOR=y\n+CONFIG_HAVE_CONTEXT_TRACKING=y\n+CONFIG_HAVE_C_RECORDMCOUNT=y\n+CONFIG_HAVE_DEBUG_KMEMLEAK=y\n+CONFIG_HAVE_DEBUG_STACKOVERFLOW=y\n+CONFIG_HAVE_DMA_API_DEBUG=y\n+CONFIG_HAVE_DMA_ATTRS=y\n+CONFIG_HAVE_DMA_CONTIGUOUS=y\n+CONFIG_HAVE_DYNAMIC_FTRACE=y\n+CONFIG_HAVE_FTRACE_MCOUNT_RECORD=y\n+CONFIG_HAVE_FUNCTION_GRAPH_TRACER=y\n+CONFIG_HAVE_FUNCTION_TRACER=y\n+CONFIG_HAVE_GENERIC_DMA_COHERENT=y\n+CONFIG_HAVE_IDE=y\n+CONFIG_HAVE_IRQ_TIME_ACCOUNTING=y\n+CONFIG_HAVE_LATENCYTOP_SUPPORT=y\n+CONFIG_HAVE_MEMBLOCK=y\n+CONFIG_HAVE_MEMBLOCK_NODE_MAP=y\n+CONFIG_HAVE_MOD_ARCH_SPECIFIC=y\n+CONFIG_HAVE_NET_DSA=y\n+CONFIG_HAVE_OPROFILE=y\n+CONFIG_HAVE_PERF_EVENTS=y\n+CONFIG_HAVE_SYSCALL_TRACEPOINTS=y\n+CONFIG_HAVE_VIRT_CPU_ACCOUNTING_GEN=y\n+# CONFIG_HIGH_RES_TIMERS is not set\n+CONFIG_HW_HAS_PCI=y\n+CONFIG_HW_RANDOM=y\n+CONFIG_HZ=250\n+# CONFIG_HZ_100 is not set\n+CONFIG_HZ_250=y\n+CONFIG_HZ_PERIODIC=y\n+CONFIG_IMAGE_CMDLINE_HACK=y\n+CONFIG_INITRAMFS_SOURCE=\"\"\n+CONFIG_IRQ_DOMAIN=y\n+CONFIG_IRQ_FORCED_THREADING=y\n+CONFIG_IRQ_MIPS_CPU=y\n+CONFIG_IRQ_WORK=y\n+CONFIG_JBD2=y\n+CONFIG_KEXEC=y\n+CONFIG_KEXEC_CORE=y\n+CONFIG_KORINA=y\n+CONFIG_LEDS_MIKROTIK_RB532=y\n+CONFIG_LZO_COMPRESS=y\n+CONFIG_LZO_DECOMPRESS=y\n+CONFIG_MIKROTIK_RB532=y\n+CONFIG_MIPS=y\n+CONFIG_MIPS_CLOCK_VSYSCALL=y\n+CONFIG_MIPS_CMDLINE_FROM_BOOTLOADER=y\n+# CONFIG_MIPS_HUGE_TLB_SUPPORT is not set\n+CONFIG_MIPS_L1_CACHE_SHIFT=4\n+CONFIG_MIPS_L1_CACHE_SHIFT_4=y\n+# CONFIG_MIPS_MACHINE is not set\n+CONFIG_MODULES_USE_ELF_REL=y\n+CONFIG_MTD_CFI_ADV_OPTIONS=y\n+# CONFIG_MTD_CFI_AMDSTD is not set\n+CONFIG_MTD_CFI_GEOMETRY=y\n+# CONFIG_MTD_CFI_INTELEXT is not set\n+# CONFIG_MTD_COMPLEX_MAPPINGS is not set\n+CONFIG_MTD_NAND=y\n+CONFIG_MTD_NAND_ECC=y\n+CONFIG_MTD_NAND_PLATFORM=y\n+CONFIG_MTD_PHYSMAP=y\n+# CONFIG_MTD_ROOTFS_ROOT_DEV is not set\n+CONFIG_MTD_UBI=y\n+CONFIG_MTD_UBI_BEB_LIMIT=20\n+CONFIG_MTD_UBI_BLOCK=y\n+# CONFIG_MTD_UBI_FASTMAP is not set\n+# CONFIG_MTD_UBI_GLUEBI is not set\n+CONFIG_MTD_UBI_WL_THRESHOLD=4096\n+CONFIG_NEED_DMA_MAP_STATE=y\n+CONFIG_NEED_PER_CPU_KM=y\n+CONFIG_NO_GENERIC_PCI_IOPORT_MAP=y\n+# CONFIG_NO_IOPORT_MAP is not set\n+# CONFIG_OF is not set\n+CONFIG_PATA_RB532=y\n+CONFIG_PCI=y\n+CONFIG_PCI_DISABLE_COMMON_QUIRKS=y\n+CONFIG_PCI_DOMAINS=y\n+CONFIG_PERF_USE_VMALLOC=y\n+CONFIG_PGTABLE_LEVELS=2\n+CONFIG_RC32434_WDT=y\n+# CONFIG_RCU_STALL_COMMON is not set\n+# CONFIG_SCHED_HRTICK is not set\n+# CONFIG_SCHED_INFO is not set\n+CONFIG_SCSI=y\n+# CONFIG_SCSI_LOWLEVEL is not set\n+# CONFIG_SCSI_PROC_FS is not set\n+# CONFIG_SERIAL_8250_FSL is not set\n+CONFIG_SQUASHFS_DECOMP_MULTI=y\n+# CONFIG_SQUASHFS_DECOMP_MULTI_PERCPU is not set\n+CONFIG_SRCU=y\n+# CONFIG_SWAP is not set\n+CONFIG_SWAP_IO_SPACE=y\n+CONFIG_SYSCTL_EXCEPTION_TRACE=y\n+CONFIG_SYS_HAS_CPU_MIPS32_R1=y\n+CONFIG_SYS_SUPPORTS_32BIT_KERNEL=y\n+CONFIG_SYS_SUPPORTS_ARBIT_HZ=y\n+CONFIG_SYS_SUPPORTS_LITTLE_ENDIAN=y\n+CONFIG_TICK_CPU_ACCOUNTING=y\n+CONFIG_UBIFS_FS=y\n+# CONFIG_UBIFS_FS_ADVANCED_COMPR is not set\n+CONFIG_UBIFS_FS_LZO=y\n+CONFIG_UBIFS_FS_ZLIB=y\n+CONFIG_VIA_RHINE=y\n+CONFIG_VIA_RHINE_MMIO=y\n+CONFIG_ZLIB_DEFLATE=y\n+CONFIG_ZLIB_INFLATE=y\n+CONFIG_ZONE_DMA_FLAG=0\ndiff --git a/target/linux/rb532/patches-4.9/001-cmdline_hack.patch b/target/linux/rb532/patches-4.9/001-cmdline_hack.patch\nnew file mode 100644\nindex 0000000..a39da9c\n--- /dev/null\n+++ b/target/linux/rb532/patches-4.9/001-cmdline_hack.patch\n@@ -0,0 +1,20 @@\n+--- a/arch/mips/rb532/prom.c\n++++ b/arch/mips/rb532/prom.c\n+@@ -67,6 +67,7 @@ static inline unsigned long tag2ul(char\n+ \treturn simple_strtoul(num, 0, 10);\n+ }\n+ \n++extern char __image_cmdline[];\n+ void __init prom_setup_cmdline(void)\n+ {\n+ \tstatic char cmd_line[COMMAND_LINE_SIZE] __initdata;\n+@@ -108,6 +109,9 @@ void __init prom_setup_cmdline(void)\n+ \t}\n+ \t*(cp++) = ' ';\n+ \n++\tstrcpy(cp,(__image_cmdline));\n++\tcp += strlen(__image_cmdline);\n++\n+ \ti = strlen(arcs_cmdline);\n+ \tif (i > 0) {\n+ \t\t*(cp++) = ' ';\ndiff --git a/target/linux/rb532/patches-4.9/004-rb532-fix-partition-info.patch b/target/linux/rb532/patches-4.9/004-rb532-fix-partition-info.patch\nnew file mode 100644\nindex 0000000..5161a23\n--- /dev/null\n+++ b/target/linux/rb532/patches-4.9/004-rb532-fix-partition-info.patch\n@@ -0,0 +1,17 @@\n+--- a/arch/mips/rb532/devices.c\n++++ b/arch/mips/rb532/devices.c\n+@@ -186,11 +186,11 @@ static struct platform_device nand_slot0\n+ \n+ static struct mtd_partition rb532_partition_info[] = {\n+ \t{\n+-\t\t.name = \"Routerboard NAND boot\",\n++\t\t.name = \"kernel\",\n+ \t\t.offset = 0,\n+-\t\t.size = 4 * 1024 * 1024,\n++\t\t.size = 8 * 1024 * 1024,\n+ \t}, {\n+-\t\t.name = \"rootfs\",\n++\t\t.name = \"ubi\",\n+ \t\t.offset = MTDPART_OFS_NXTBLK,\n+ \t\t.size = MTDPART_SIZ_FULL,\n+ \t}\ndiff --git a/target/linux/rb532/patches-4.9/106-dont-use-rx-overflow-and-tx-underflow-interrupts.patch b/target/linux/rb532/patches-4.9/106-dont-use-rx-overflow-and-tx-underflow-interrupts.patch\nnew file mode 100644\nindex 0000000..e75079b\n--- /dev/null\n+++ b/target/linux/rb532/patches-4.9/106-dont-use-rx-overflow-and-tx-underflow-interrupts.patch\n@@ -0,0 +1,156 @@\n+--- a/drivers/net/ethernet/korina.c\n++++ b/drivers/net/ethernet/korina.c\n+@@ -122,8 +122,6 @@ struct korina_private {\n+ \n+ \tint rx_irq;\n+ \tint tx_irq;\n+-\tint ovr_irq;\n+-\tint und_irq;\n+ \n+ \tspinlock_t lock;        /* NIC xmit lock */\n+ \n+@@ -890,8 +888,6 @@ static void korina_restart_task(struct w\n+ \t */\n+ \tdisable_irq(lp->rx_irq);\n+ \tdisable_irq(lp->tx_irq);\n+-\tdisable_irq(lp->ovr_irq);\n+-\tdisable_irq(lp->und_irq);\n+ \n+ \twritel(readl(&lp->tx_dma_regs->dmasm) |\n+ \t\t\t\tDMA_STAT_FINI | DMA_STAT_ERR,\n+@@ -910,40 +906,10 @@ static void korina_restart_task(struct w\n+ \t}\n+ \tkorina_multicast_list(dev);\n+ \n+-\tenable_irq(lp->und_irq);\n+-\tenable_irq(lp->ovr_irq);\n+ \tenable_irq(lp->tx_irq);\n+ \tenable_irq(lp->rx_irq);\n+ }\n+ \n+-static void korina_clear_and_restart(struct net_device *dev, u32 value)\n+-{\n+-\tstruct korina_private *lp = netdev_priv(dev);\n+-\n+-\tnetif_stop_queue(dev);\n+-\twritel(value, &lp->eth_regs->ethintfc);\n+-\tschedule_work(&lp->restart_task);\n+-}\n+-\n+-/* Ethernet Tx Underflow interrupt */\n+-static irqreturn_t korina_und_interrupt(int irq, void *dev_id)\n+-{\n+-\tstruct net_device *dev = dev_id;\n+-\tstruct korina_private *lp = netdev_priv(dev);\n+-\tunsigned int und;\n+-\n+-\tspin_lock(&lp->lock);\n+-\n+-\tund = readl(&lp->eth_regs->ethintfc);\n+-\n+-\tif (und & ETH_INT_FC_UND)\n+-\t\tkorina_clear_and_restart(dev, und & ~ETH_INT_FC_UND);\n+-\n+-\tspin_unlock(&lp->lock);\n+-\n+-\treturn IRQ_HANDLED;\n+-}\n+-\n+ static void korina_tx_timeout(struct net_device *dev)\n+ {\n+ \tstruct korina_private *lp = netdev_priv(dev);\n+@@ -951,25 +917,6 @@ static void korina_tx_timeout(struct net\n+ \tschedule_work(&lp->restart_task);\n+ }\n+ \n+-/* Ethernet Rx Overflow interrupt */\n+-static irqreturn_t\n+-korina_ovr_interrupt(int irq, void *dev_id)\n+-{\n+-\tstruct net_device *dev = dev_id;\n+-\tstruct korina_private *lp = netdev_priv(dev);\n+-\tunsigned int ovr;\n+-\n+-\tspin_lock(&lp->lock);\n+-\tovr = readl(&lp->eth_regs->ethintfc);\n+-\n+-\tif (ovr & ETH_INT_FC_OVR)\n+-\t\tkorina_clear_and_restart(dev, ovr & ~ETH_INT_FC_OVR);\n+-\n+-\tspin_unlock(&lp->lock);\n+-\n+-\treturn IRQ_HANDLED;\n+-}\n+-\n+ #ifdef CONFIG_NET_POLL_CONTROLLER\n+ static void korina_poll_controller(struct net_device *dev)\n+ {\n+@@ -992,8 +939,7 @@ static int korina_open(struct net_device\n+ \t}\n+ \n+ \t/* Install the interrupt handler\n+-\t * that handles the Done Finished\n+-\t * Ovr and Und Events */\n++\t * that handles the Done Finished */\n+ \tret = request_irq(lp->rx_irq, korina_rx_dma_interrupt,\n+ \t\t\t0, \"Korina ethernet Rx\", dev);\n+ \tif (ret < 0) {\n+@@ -1009,31 +955,10 @@ static int korina_open(struct net_device\n+ \t\tgoto err_free_rx_irq;\n+ \t}\n+ \n+-\t/* Install handler for overrun error. */\n+-\tret = request_irq(lp->ovr_irq, korina_ovr_interrupt,\n+-\t\t\t0, \"Ethernet Overflow\", dev);\n+-\tif (ret < 0) {\n+-\t\tprintk(KERN_ERR \"%s: unable to get OVR IRQ %d\\n\",\n+-\t\t    dev->name, lp->ovr_irq);\n+-\t\tgoto err_free_tx_irq;\n+-\t}\n+-\n+-\t/* Install handler for underflow error. */\n+-\tret = request_irq(lp->und_irq, korina_und_interrupt,\n+-\t\t\t0, \"Ethernet Underflow\", dev);\n+-\tif (ret < 0) {\n+-\t\tprintk(KERN_ERR \"%s: unable to get UND IRQ %d\\n\",\n+-\t\t    dev->name, lp->und_irq);\n+-\t\tgoto err_free_ovr_irq;\n+-\t}\n+ \tmod_timer(&lp->media_check_timer, jiffies + 1);\n+ out:\n+ \treturn ret;\n+ \n+-err_free_ovr_irq:\n+-\tfree_irq(lp->ovr_irq, dev);\n+-err_free_tx_irq:\n+-\tfree_irq(lp->tx_irq, dev);\n+ err_free_rx_irq:\n+ \tfree_irq(lp->rx_irq, dev);\n+ err_release:\n+@@ -1051,8 +976,6 @@ static int korina_close(struct net_devic\n+ \t/* Disable interrupts */\n+ \tdisable_irq(lp->rx_irq);\n+ \tdisable_irq(lp->tx_irq);\n+-\tdisable_irq(lp->ovr_irq);\n+-\tdisable_irq(lp->und_irq);\n+ \n+ \tkorina_abort_tx(dev);\n+ \ttmp = readl(&lp->tx_dma_regs->dmasm);\n+@@ -1072,8 +995,6 @@ static int korina_close(struct net_devic\n+ \n+ \tfree_irq(lp->rx_irq, dev);\n+ \tfree_irq(lp->tx_irq, dev);\n+-\tfree_irq(lp->ovr_irq, dev);\n+-\tfree_irq(lp->und_irq, dev);\n+ \n+ \treturn 0;\n+ }\n+@@ -1113,8 +1034,6 @@ static int korina_probe(struct platform_\n+ \n+ \tlp->rx_irq = platform_get_irq_byname(pdev, \"korina_rx\");\n+ \tlp->tx_irq = platform_get_irq_byname(pdev, \"korina_tx\");\n+-\tlp->ovr_irq = platform_get_irq_byname(pdev, \"korina_ovr\");\n+-\tlp->und_irq = platform_get_irq_byname(pdev, \"korina_und\");\n+ \n+ \tr = platform_get_resource_byname(pdev, IORESOURCE_MEM, \"korina_regs\");\n+ \tdev->base_addr = r->start;\ndiff --git a/target/linux/rb532/patches-4.9/107-korina-refactor-rx-descriptor-flags-processing.patch b/target/linux/rb532/patches-4.9/107-korina-refactor-rx-descriptor-flags-processing.patch\nnew file mode 100644\nindex 0000000..80745f5\n--- /dev/null\n+++ b/target/linux/rb532/patches-4.9/107-korina-refactor-rx-descriptor-flags-processing.patch\n@@ -0,0 +1,110 @@\n+--- a/drivers/net/ethernet/korina.c\n++++ b/drivers/net/ethernet/korina.c\n+@@ -363,59 +363,60 @@ static int korina_rx(struct net_device *\n+ \t\tif ((KORINA_RBSIZE - (u32)DMA_COUNT(rd->control)) == 0)\n+ \t\t\tbreak;\n+ \n+-\t\t/* Update statistics counters */\n+-\t\tif (devcs & ETH_RX_CRC)\n+-\t\t\tdev->stats.rx_crc_errors++;\n+-\t\tif (devcs & ETH_RX_LOR)\n+-\t\t\tdev->stats.rx_length_errors++;\n+-\t\tif (devcs & ETH_RX_LE)\n+-\t\t\tdev->stats.rx_length_errors++;\n+-\t\tif (devcs & ETH_RX_OVR)\n+-\t\t\tdev->stats.rx_fifo_errors++;\n+-\t\tif (devcs & ETH_RX_CV)\n+-\t\t\tdev->stats.rx_frame_errors++;\n+-\t\tif (devcs & ETH_RX_CES)\n+-\t\t\tdev->stats.rx_length_errors++;\n+-\t\tif (devcs & ETH_RX_MP)\n+-\t\t\tdev->stats.multicast++;\n++\t\t/* check that this is a whole packet\n++\t\t * WARNING: DMA_FD bit incorrectly set\n++\t\t * in Rc32434 (errata ref #077) */\n++\t\tif (!(devcs & ETH_RX_LD))\n++\t\t\tgoto next;\n+ \n+-\t\tif ((devcs & ETH_RX_LD) != ETH_RX_LD) {\n+-\t\t\t/* check that this is a whole packet\n+-\t\t\t * WARNING: DMA_FD bit incorrectly set\n+-\t\t\t * in Rc32434 (errata ref #077) */\n++\t\tif (!(devcs & ETH_RX_ROK)) {\n++\t\t\t/* Update statistics counters */\n+ \t\t\tdev->stats.rx_errors++;\n+ \t\t\tdev->stats.rx_dropped++;\n+-\t\t} else if ((devcs & ETH_RX_ROK)) {\n+-\t\t\tpkt_len = RCVPKT_LENGTH(devcs);\n++\t\t\tif (devcs & ETH_RX_CRC)\n++\t\t\t\tdev->stats.rx_crc_errors++;\n++\t\t\tif (devcs & ETH_RX_LE)\n++\t\t\t\tdev->stats.rx_length_errors++;\n++\t\t\tif (devcs & ETH_RX_OVR)\n++\t\t\t\tdev->stats.rx_fifo_errors++;\n++\t\t\tif (devcs & ETH_RX_CV)\n++\t\t\t\tdev->stats.rx_frame_errors++;\n++\t\t\tif (devcs & ETH_RX_CES)\n++\t\t\t\tdev->stats.rx_frame_errors++;\n+ \n+-\t\t\t/* must be the (first and) last\n+-\t\t\t * descriptor then */\n+-\t\t\tpkt_buf = (u8 *)lp->rx_skb[lp->rx_next_done]->data;\n+-\n+-\t\t\t/* invalidate the cache */\n+-\t\t\tdma_cache_inv((unsigned long)pkt_buf, pkt_len - 4);\n+-\n+-\t\t\t/* Malloc up new buffer. */\n+-\t\t\tskb_new = netdev_alloc_skb_ip_align(dev, KORINA_RBSIZE);\n+-\n+-\t\t\tif (!skb_new)\n+-\t\t\t\tbreak;\n+-\t\t\t/* Do not count the CRC */\n+-\t\t\tskb_put(skb, pkt_len - 4);\n+-\t\t\tskb->protocol = eth_type_trans(skb, dev);\n+-\n+-\t\t\t/* Pass the packet to upper layers */\n+-\t\t\tnetif_receive_skb(skb);\n+-\t\t\tdev->stats.rx_packets++;\n+-\t\t\tdev->stats.rx_bytes += pkt_len;\n+-\n+-\t\t\t/* Update the mcast stats */\n+-\t\t\tif (devcs & ETH_RX_MP)\n+-\t\t\t\tdev->stats.multicast++;\n+-\n+-\t\t\tlp->rx_skb[lp->rx_next_done] = skb_new;\n++\t\t\tgoto next;\n+ \t\t}\n+ \n++\t\tpkt_len = RCVPKT_LENGTH(devcs);\n++\n++\t\t/* must be the (first and) last\n++\t\t * descriptor then */\n++\t\tpkt_buf = (u8 *)lp->rx_skb[lp->rx_next_done]->data;\n++\n++\t\t/* invalidate the cache */\n++\t\tdma_cache_inv((unsigned long)pkt_buf, pkt_len - 4);\n++\n++\t\t/* Malloc up new buffer. */\n++\t\tskb_new = netdev_alloc_skb_ip_align(dev, KORINA_RBSIZE);\n++\n++\t\tif (!skb_new)\n++\t\t\tbreak;\n++\t\t/* Do not count the CRC */\n++\t\tskb_put(skb, pkt_len - 4);\n++\t\tskb->protocol = eth_type_trans(skb, dev);\n++\n++\t\t/* Pass the packet to upper layers */\n++\t\tnetif_receive_skb(skb);\n++\t\tdev->stats.rx_packets++;\n++\t\tdev->stats.rx_bytes += pkt_len;\n++\n++\t\t/* Update the mcast stats */\n++\t\tif (devcs & ETH_RX_MP)\n++\t\t\tdev->stats.multicast++;\n++\n++\t\tlp->rx_skb[lp->rx_next_done] = skb_new;\n++\n++next:\n+ \t\trd->devcs = 0;\n+ \n+ \t\t/* Restore descriptor's curr_addr */\ndiff --git a/target/linux/rb532/patches-4.9/107-use-NAPI_POLL_WEIGHT.patch b/target/linux/rb532/patches-4.9/107-use-NAPI_POLL_WEIGHT.patch\nnew file mode 100644\nindex 0000000..d4af906\n--- /dev/null\n+++ b/target/linux/rb532/patches-4.9/107-use-NAPI_POLL_WEIGHT.patch\n@@ -0,0 +1,11 @@\n+--- a/drivers/net/ethernet/korina.c\n++++ b/drivers/net/ethernet/korina.c\n+@@ -1082,7 +1082,7 @@ static int korina_probe(struct platform_\n+ \tdev->netdev_ops = &korina_netdev_ops;\n+ \tdev->ethtool_ops = &netdev_ethtool_ops;\n+ \tdev->watchdog_timeo = TX_TIMEOUT;\n+-\tnetif_napi_add(dev, &lp->napi, korina_poll, 64);\n++\tnetif_napi_add(dev, &lp->napi, korina_poll, NAPI_POLL_WEIGHT);\n+ \n+ \tlp->phy_addr = (((lp->rx_irq == 0x2c? 1:0) << 8) | 0x05);\n+ \tlp->mii_if.dev = dev;\ndiff --git a/target/linux/rb532/patches-4.9/108-korina-use-gro.patch b/target/linux/rb532/patches-4.9/108-korina-use-gro.patch\nnew file mode 100644\nindex 0000000..8cbe2a0\n--- /dev/null\n+++ b/target/linux/rb532/patches-4.9/108-korina-use-gro.patch\n@@ -0,0 +1,11 @@\n+--- a/drivers/net/ethernet/korina.c\n++++ b/drivers/net/ethernet/korina.c\n+@@ -406,7 +406,7 @@ static int korina_rx(struct net_device *\n+ \t\tskb->protocol = eth_type_trans(skb, dev);\n+ \n+ \t\t/* Pass the packet to upper layers */\n+-\t\tnetif_receive_skb(skb);\n++\t\tnapi_gro_receive(&lp->napi, skb);\n+ \t\tdev->stats.rx_packets++;\n+ \t\tdev->stats.rx_bytes += pkt_len;\n+ \ndiff --git a/target/linux/rb532/patches-4.9/109-korina-whitespace-cleanup-2.patch b/target/linux/rb532/patches-4.9/109-korina-whitespace-cleanup-2.patch\nnew file mode 100644\nindex 0000000..0265433\n--- /dev/null\n+++ b/target/linux/rb532/patches-4.9/109-korina-whitespace-cleanup-2.patch\n@@ -0,0 +1,135 @@\n+--- a/drivers/net/ethernet/korina.c\n++++ b/drivers/net/ethernet/korina.c\n+@@ -64,9 +64,9 @@\n+ #include <asm/mach-rc32434/eth.h>\n+ #include <asm/mach-rc32434/dma_v.h>\n+ \n+-#define DRV_NAME        \"korina\"\n+-#define DRV_VERSION     \"0.10\"\n+-#define DRV_RELDATE     \"04Mar2008\"\n++#define DRV_NAME\t\"korina\"\n++#define DRV_VERSION\t\"0.10\"\n++#define DRV_RELDATE\t\"04Mar2008\"\n+ \n+ #define STATION_ADDRESS_HIGH(dev) (((dev)->dev_addr[0] << 8) | \\\n+ \t\t\t\t   ((dev)->dev_addr[1]))\n+@@ -75,7 +75,7 @@\n+ \t\t\t\t   ((dev)->dev_addr[4] << 8)  | \\\n+ \t\t\t\t   ((dev)->dev_addr[5]))\n+ \n+-#define MII_CLOCK 1250000 \t/* no more than 2.5MHz */\n++#define MII_CLOCK\t1250000 /* no more than 2.5MHz */\n+ \n+ /* the following must be powers of two */\n+ #define KORINA_NUM_RDS\t64  /* number of receive descriptors */\n+@@ -87,15 +87,19 @@\n+ #define KORINA_RBSIZE\t1536 /* size of one resource buffer = Ether MTU */\n+ #define KORINA_RDS_MASK\t(KORINA_NUM_RDS - 1)\n+ #define KORINA_TDS_MASK\t(KORINA_NUM_TDS - 1)\n+-#define RD_RING_SIZE \t(KORINA_NUM_RDS * sizeof(struct dma_desc))\n++#define RD_RING_SIZE\t(KORINA_NUM_RDS * sizeof(struct dma_desc))\n+ #define TD_RING_SIZE\t(KORINA_NUM_TDS * sizeof(struct dma_desc))\n+ \n+-#define TX_TIMEOUT \t(6000 * HZ / 1000)\n++#define TX_TIMEOUT\t(6000 * HZ / 1000)\n+ \n+-enum chain_status { desc_filled, desc_empty };\n+-#define IS_DMA_FINISHED(X)   (((X) & (DMA_DESC_FINI)) != 0)\n+-#define IS_DMA_DONE(X)   (((X) & (DMA_DESC_DONE)) != 0)\n+-#define RCVPKT_LENGTH(X)     (((X) & ETH_RX_LEN) >> ETH_RX_LEN_BIT)\n++enum chain_status {\n++\tdesc_filled,\n++\tdesc_empty\n++};\n++\n++#define IS_DMA_FINISHED(X)\t(((X) & (DMA_DESC_FINI)) != 0)\n++#define IS_DMA_DONE(X)\t\t(((X) & (DMA_DESC_DONE)) != 0)\n++#define RCVPKT_LENGTH(X)\t(((X) & ETH_RX_LEN) >> ETH_RX_LEN_BIT)\n+ \n+ /* Information that need to be kept for each board. */\n+ struct korina_private {\n+@@ -123,7 +127,7 @@ struct korina_private {\n+ \tint rx_irq;\n+ \tint tx_irq;\n+ \n+-\tspinlock_t lock;        /* NIC xmit lock */\n++\tspinlock_t lock;\t/* NIC xmit lock */\n+ \n+ \tint dma_halt_cnt;\n+ \tint dma_run_cnt;\n+@@ -146,17 +150,17 @@ static inline void korina_start_dma(stru\n+ static inline void korina_abort_dma(struct net_device *dev,\n+ \t\t\t\t\tstruct dma_reg *ch)\n+ {\n+-       if (readl(&ch->dmac) & DMA_CHAN_RUN_BIT) {\n+-\t       writel(0x10, &ch->dmac);\n++\tif (readl(&ch->dmac) & DMA_CHAN_RUN_BIT) {\n++\t\twritel(0x10, &ch->dmac);\n+ \n+-\t       while (!(readl(&ch->dmas) & DMA_STAT_HALT))\n+-\t\t       netif_trans_update(dev);\n++\t\twhile (!(readl(&ch->dmas) & DMA_STAT_HALT))\n++\t\t\tnetif_trans_update(dev);\n+ \n+-\t       writel(0, &ch->dmas);\n+-       }\n++\t\twritel(0, &ch->dmas);\n++\t}\n+ \n+-       writel(0, &ch->dmadptr);\n+-       writel(0, &ch->dmandptr);\n++\twritel(0, &ch->dmadptr);\n++\twritel(0, &ch->dmandptr);\n+ }\n+ \n+ static inline void korina_chain_dma(struct dma_reg *ch, u32 dma_addr)\n+@@ -685,7 +689,7 @@ static int korina_ioctl(struct net_devic\n+ \n+ /* ethtool helpers */\n+ static void netdev_get_drvinfo(struct net_device *dev,\n+-\t\t\tstruct ethtool_drvinfo *info)\n++\t\t\t\tstruct ethtool_drvinfo *info)\n+ {\n+ \tstruct korina_private *lp = netdev_priv(dev);\n+ \n+@@ -727,10 +731,10 @@ static u32 netdev_get_link(struct net_de\n+ }\n+ \n+ static const struct ethtool_ops netdev_ethtool_ops = {\n+-\t.get_drvinfo            = netdev_get_drvinfo,\n+-\t.get_settings           = netdev_get_settings,\n+-\t.set_settings           = netdev_set_settings,\n+-\t.get_link               = netdev_get_link,\n++\t.get_drvinfo\t\t= netdev_get_drvinfo,\n++\t.get_settings\t\t= netdev_get_settings,\n++\t.set_settings\t\t= netdev_set_settings,\n++\t.get_link\t\t= netdev_get_link,\n+ };\n+ \n+ static int korina_alloc_ring(struct net_device *dev)\n+@@ -862,7 +866,7 @@ static int korina_init(struct net_device\n+ \t/* Management Clock Prescaler Divisor\n+ \t * Clock independent setting */\n+ \twritel(((idt_cpu_freq) / MII_CLOCK + 1) & ~1,\n+-\t\t       &lp->eth_regs->ethmcp);\n++\t\t\t&lp->eth_regs->ethmcp);\n+ \n+ \t/* don't transmit until fifo contains 48b */\n+ \twritel(48, &lp->eth_regs->ethfifott);\n+@@ -945,14 +949,14 @@ static int korina_open(struct net_device\n+ \t\t\t0, \"Korina ethernet Rx\", dev);\n+ \tif (ret < 0) {\n+ \t\tprintk(KERN_ERR \"%s: unable to get Rx DMA IRQ %d\\n\",\n+-\t\t    dev->name, lp->rx_irq);\n++\t\t\tdev->name, lp->rx_irq);\n+ \t\tgoto err_release;\n+ \t}\n+ \tret = request_irq(lp->tx_irq, korina_tx_dma_interrupt,\n+ \t\t\t0, \"Korina ethernet Tx\", dev);\n+ \tif (ret < 0) {\n+ \t\tprintk(KERN_ERR \"%s: unable to get Tx DMA IRQ %d\\n\",\n+-\t\t    dev->name, lp->tx_irq);\n++\t\t\tdev->name, lp->tx_irq);\n+ \t\tgoto err_free_rx_irq;\n+ \t}\n+ \ndiff --git a/target/linux/rb532/patches-4.9/110-korina-update-authors.patch b/target/linux/rb532/patches-4.9/110-korina-update-authors.patch\nnew file mode 100644\nindex 0000000..843397c\n--- /dev/null\n+++ b/target/linux/rb532/patches-4.9/110-korina-update-authors.patch\n@@ -0,0 +1,17 @@\n+--- a/drivers/net/ethernet/korina.c\n++++ b/drivers/net/ethernet/korina.c\n+@@ -4,6 +4,7 @@\n+  *  Copyright 2004 IDT Inc. (rischelp@idt.com)\n+  *  Copyright 2006 Felix Fietkau <nbd@openwrt.org>\n+  *  Copyright 2008 Florian Fainelli <florian@openwrt.org>\n++ *  Copyright 2017 Roman Yeryomin <roman@advem.lv>\n+  *\n+  *  This program is free software; you can redistribute  it and/or modify it\n+  *  under  the terms of  the GNU General  Public License as published by the\n+@@ -1150,5 +1151,6 @@ module_platform_driver(korina_driver);\n+ MODULE_AUTHOR(\"Philip Rischel <rischelp@idt.com>\");\n+ MODULE_AUTHOR(\"Felix Fietkau <nbd@openwrt.org>\");\n+ MODULE_AUTHOR(\"Florian Fainelli <florian@openwrt.org>\");\n++MODULE_AUTHOR(\"Roman Yeryomin <roman@advem.lv>\");\n+ MODULE_DESCRIPTION(\"IDT RC32434 (Korina) Ethernet driver\");\n+ MODULE_LICENSE(\"GPL\");\ndiff --git a/target/linux/rb532/patches-4.9/111-korina-version-bump.patch b/target/linux/rb532/patches-4.9/111-korina-version-bump.patch\nnew file mode 100644\nindex 0000000..1501e17\n--- /dev/null\n+++ b/target/linux/rb532/patches-4.9/111-korina-version-bump.patch\n@@ -0,0 +1,13 @@\n+--- a/drivers/net/ethernet/korina.c\n++++ b/drivers/net/ethernet/korina.c\n+@@ -66,8 +66,8 @@\n+ #include <asm/mach-rc32434/dma_v.h>\n+ \n+ #define DRV_NAME\t\"korina\"\n+-#define DRV_VERSION\t\"0.10\"\n+-#define DRV_RELDATE\t\"04Mar2008\"\n++#define DRV_VERSION\t\"0.20\"\n++#define DRV_RELDATE\t\"15Sep2017\"\n+ \n+ #define STATION_ADDRESS_HIGH(dev) (((dev)->dev_addr[0] << 8) | \\\n+ \t\t\t\t   ((dev)->dev_addr[1]))\n",
    "prefixes": [
        "LEDE-DEV",
        "3/5"
    ]
}