get:
Show a patch.

patch:
Update a patch.

put:
Update a patch.

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

{
    "id": 856672,
    "url": "http://patchwork.ozlabs.org/api/patches/856672/?format=api",
    "web_url": "http://patchwork.ozlabs.org/project/qemu-devel/patch/20180108024558.17983-6-f4bug@amsat.org/",
    "project": {
        "id": 14,
        "url": "http://patchwork.ozlabs.org/api/projects/14/?format=api",
        "name": "QEMU Development",
        "link_name": "qemu-devel",
        "list_id": "qemu-devel.nongnu.org",
        "list_email": "qemu-devel@nongnu.org",
        "web_url": "",
        "scm_url": "",
        "webscm_url": "",
        "list_archive_url": "",
        "list_archive_url_format": "",
        "commit_url_format": ""
    },
    "msgid": "<20180108024558.17983-6-f4bug@amsat.org>",
    "list_archive_url": null,
    "date": "2018-01-08T02:45:34",
    "name": "[05/29] hw/input/i8042: extract declarations from i386/pc.h into input/i8042.h",
    "commit_ref": null,
    "pull_url": null,
    "state": "new",
    "archived": false,
    "hash": "12836c028af36c89d627951360ecf941189b0cdc",
    "submitter": {
        "id": 70924,
        "url": "http://patchwork.ozlabs.org/api/people/70924/?format=api",
        "name": "Philippe Mathieu-Daudé",
        "email": "f4bug@amsat.org"
    },
    "delegate": null,
    "mbox": "http://patchwork.ozlabs.org/project/qemu-devel/patch/20180108024558.17983-6-f4bug@amsat.org/mbox/",
    "series": [
        {
            "id": 21847,
            "url": "http://patchwork.ozlabs.org/api/series/21847/?format=api",
            "web_url": "http://patchwork.ozlabs.org/project/qemu-devel/list/?series=21847",
            "date": "2018-01-08T02:45:30",
            "name": "remove i386/pc dependency: generic SuperIO, PIIX cleanup",
            "version": 1,
            "mbox": "http://patchwork.ozlabs.org/series/21847/mbox/"
        }
    ],
    "comments": "http://patchwork.ozlabs.org/api/patches/856672/comments/",
    "check": "pending",
    "checks": "http://patchwork.ozlabs.org/api/patches/856672/checks/",
    "tags": {},
    "related": [],
    "headers": {
        "Return-Path": "<qemu-devel-bounces+incoming=patchwork.ozlabs.org@nongnu.org>",
        "X-Original-To": "incoming@patchwork.ozlabs.org",
        "Delivered-To": "patchwork-incoming@bilbo.ozlabs.org",
        "Authentication-Results": [
            "ozlabs.org;\n\tspf=pass (mailfrom) smtp.mailfrom=nongnu.org\n\t(client-ip=2001:4830:134:3::11; helo=lists.gnu.org;\n\tenvelope-from=qemu-devel-bounces+incoming=patchwork.ozlabs.org@nongnu.org;\n\treceiver=<UNKNOWN>)",
            "ozlabs.org;\n\tdkim=fail reason=\"signature verification failed\" (2048-bit key;\n\tunprotected) header.d=gmail.com header.i=@gmail.com\n\theader.b=\"jZT3ogyl\"; dkim-atps=neutral"
        ],
        "Received": [
            "from lists.gnu.org (lists.gnu.org [IPv6:2001:4830:134:3::11])\n\t(using TLSv1 with cipher AES256-SHA (256/256 bits))\n\t(No client certificate requested)\n\tby ozlabs.org (Postfix) with ESMTPS id 3zFKdS05v3z9s82\n\tfor <incoming@patchwork.ozlabs.org>;\n\tMon,  8 Jan 2018 13:55:24 +1100 (AEDT)",
            "from localhost ([::1]:59390 helo=lists.gnu.org)\n\tby lists.gnu.org with esmtp (Exim 4.71) (envelope-from\n\t<qemu-devel-bounces+incoming=patchwork.ozlabs.org@nongnu.org>)\n\tid 1eYNas-0005aI-3o\n\tfor incoming@patchwork.ozlabs.org; Sun, 07 Jan 2018 21:55:22 -0500",
            "from eggs.gnu.org ([2001:4830:134:3::10]:51257)\n\tby lists.gnu.org with esmtp (Exim 4.71)\n\t(envelope-from <philippe.mathieu.daude@gmail.com>)\n\tid 1eYNSI-0006fu-GT\n\tfor qemu-devel@nongnu.org; Sun, 07 Jan 2018 21:46:32 -0500",
            "from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71)\n\t(envelope-from <philippe.mathieu.daude@gmail.com>)\n\tid 1eYNSF-0002Kv-Cg\n\tfor qemu-devel@nongnu.org; Sun, 07 Jan 2018 21:46:30 -0500",
            "from mail-qt0-x241.google.com ([2607:f8b0:400d:c0d::241]:34503)\n\tby eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16)\n\t(Exim 4.71) (envelope-from <philippe.mathieu.daude@gmail.com>)\n\tid 1eYNSF-0002Kp-7O; Sun, 07 Jan 2018 21:46:27 -0500",
            "by mail-qt0-x241.google.com with SMTP id 33so12078340qtv.1;\n\tSun, 07 Jan 2018 18:46:27 -0800 (PST)",
            "from x1.local ([138.117.48.219]) by smtp.gmail.com with ESMTPSA id\n\td10sm7156245qkg.16.2018.01.07.18.46.21\n\t(version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128);\n\tSun, 07 Jan 2018 18:46:26 -0800 (PST)"
        ],
        "DKIM-Signature": "v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025;\n\th=sender:from:to:cc:subject:date:message-id:in-reply-to:references\n\t:mime-version:content-transfer-encoding;\n\tbh=4GHBgIZCeTO84twvIoYGLN19prlhZb/LtmGjl7KG7/Y=;\n\tb=jZT3ogylBAyQ9tOJvV5cY8dphbCAD6+Wgh0pG2macVzqmnHhm4951gRi3jyA5Lec0Q\n\t5Ikb46zjIxRcwuDPAIY2ha5iwUDHwNvoPXPdLl2u12LywfA3w6IMNxlrnJ5fTzMIMzVF\n\tU0XRPiVWvpUsc5YvFo1BnfcmM0/pvOtHBluQTpEHb1AR0E/8w7u0Db4Ft2Tx4K9Y4DgP\n\tfsEkD1X/H3WDwzhPKogUDviTdCjnVvRPDXXZ+eFK8V0oY7AyXoj0EAZ9JiLW6Qq/LF2J\n\tM6DfHmbV2kOqzDdNW8yseNdBZ5FRGTAtgX8nv2SvZTXvw7E9MVNMuHXuDwwB6EPQwdYL\n\tT83Q==",
        "X-Google-DKIM-Signature": "v=1; a=rsa-sha256; c=relaxed/relaxed;\n\td=1e100.net; s=20161025;\n\th=x-gm-message-state:sender:from:to:cc:subject:date:message-id\n\t:in-reply-to:references:mime-version:content-transfer-encoding;\n\tbh=4GHBgIZCeTO84twvIoYGLN19prlhZb/LtmGjl7KG7/Y=;\n\tb=evJHWHK1fVGfUvTS1FNnvuZhFDfbwR5qNGBYIiasSRNXjULqTOBvnq5h5nwi3m5muz\n\tbik5wnSrFggLG7BhcIs76WAygtRq0JyDGAANlxd/H7xBeARkETdtsAwlp8OIGAgtW2Cf\n\tw/YfrnXyPRJ6iAaaQQPqUUFnU4YV0toWJoQyrW2/8Y7dYEoCqINk2CdB/7gIkQRXBn8M\n\tvPFaHnpWmrO1pTvUREj9+Vtem61pqB7Tx1jGj61OScSbN+9pUZDpEV+BhcTnB9ctXEeb\n\tgpqoeXpLdsqSmGprdyY9aILxm4723O6taa/Ud3I3eA5estqIJ+tlHj8Qvkph1+pBHc3s\n\tb1Zw==",
        "X-Gm-Message-State": "AKwxytepJw2qBUxESipMFcuh00P0Z4dIriHj0HrbdV36alO5whSvxJ9R\n\tpsquUGB1CJqJew+uYtQ1Ebs=",
        "X-Google-Smtp-Source": "ACJfBosB+FJQvMNbh4zCLjpU/WqCopJKUUr0DMJ87VQ1Jq74bPSh8FmSvUPpKMzwOMRFJj2Axt18+g==",
        "X-Received": "by 10.237.53.50 with SMTP id a47mr14998162qte.29.1515379586639; \n\tSun, 07 Jan 2018 18:46:26 -0800 (PST)",
        "From": "=?utf-8?q?Philippe_Mathieu-Daud=C3=A9?= <f4bug@amsat.org>",
        "To": "Paolo Bonzini <pbonzini@redhat.com>,\n\t\"Michael S. Tsirkin\" <mst@redhat.com>, =?utf-8?q?Herv=C3=A9_Poussinea?=\n\t=?utf-8?q?u?= <hpoussin@reactos.org>,\n\tAurelien Jarno <aurelien@aurel32.net>, Eduardo Habkost\n\t<ehabkost@redhat.com>, Marcel Apfelbaum <marcel@redhat.com>",
        "Date": "Sun,  7 Jan 2018 23:45:34 -0300",
        "Message-Id": "<20180108024558.17983-6-f4bug@amsat.org>",
        "X-Mailer": "git-send-email 2.15.1",
        "In-Reply-To": "<20180108024558.17983-1-f4bug@amsat.org>",
        "References": "<20180108024558.17983-1-f4bug@amsat.org>",
        "MIME-Version": "1.0",
        "Content-Type": "text/plain; charset=UTF-8",
        "Content-Transfer-Encoding": "8bit",
        "X-detected-operating-system": "by eggs.gnu.org: Genre and OS details not\n\trecognized.",
        "X-Received-From": "2607:f8b0:400d:c0d::241",
        "Subject": "[Qemu-devel] [PATCH 05/29] hw/input/i8042: extract declarations\n\tfrom i386/pc.h into input/i8042.h",
        "X-BeenThere": "qemu-devel@nongnu.org",
        "X-Mailman-Version": "2.1.21",
        "Precedence": "list",
        "List-Id": "<qemu-devel.nongnu.org>",
        "List-Unsubscribe": "<https://lists.nongnu.org/mailman/options/qemu-devel>,\n\t<mailto:qemu-devel-request@nongnu.org?subject=unsubscribe>",
        "List-Archive": "<http://lists.nongnu.org/archive/html/qemu-devel/>",
        "List-Post": "<mailto:qemu-devel@nongnu.org>",
        "List-Help": "<mailto:qemu-devel-request@nongnu.org?subject=help>",
        "List-Subscribe": "<https://lists.nongnu.org/mailman/listinfo/qemu-devel>,\n\t<mailto:qemu-devel-request@nongnu.org?subject=subscribe>",
        "Cc": "Alexander Graf <agraf@suse.de>, Guan Xuetao <gxt@mprc.pku.edu.cn>, Mark\n\tCave-Ayland <mark.cave-ayland@ilande.co.uk>, =?utf-8?q?Philippe_Mathi?=\n\t=?utf-8?b?ZXUtRGF1ZMOp?= <f4bug@amsat.org>, qemu-devel@nongnu.org,\n\t\"open list:PReP\" <qemu-ppc@nongnu.org>, Igor Mammedov\n\t<imammedo@redhat.com>, \tDavid Gibson <david@gibson.dropbear.id.au>,\n\tYongbok Kim\n\t<yongbok.kim@mips.com>, Artyom Tarasenko <atar4qemu@gmail.com>,\n\tRichard Henderson <rth@twiddle.net>",
        "Errors-To": "qemu-devel-bounces+incoming=patchwork.ozlabs.org@nongnu.org",
        "Sender": "\"Qemu-devel\"\n\t<qemu-devel-bounces+incoming=patchwork.ozlabs.org@nongnu.org>"
    },
    "content": "Signed-off-by: Philippe Mathieu-Daudé <f4bug@amsat.org>\n---\n include/hw/i386/pc.h     |  9 ---------\n include/hw/input/i8042.h | 25 +++++++++++++++++++++++++\n hw/alpha/dp264.c         |  3 ++-\n hw/i386/pc.c             |  1 +\n hw/i386/vmmouse.c        |  1 +\n hw/i386/vmport.c         |  1 +\n hw/input/pckbd.c         |  2 +-\n hw/mips/mips_fulong2e.c  |  3 ++-\n hw/mips/mips_jazz.c      |  1 +\n hw/mips/mips_malta.c     |  3 ++-\n hw/mips/mips_r4k.c       |  3 ++-\n hw/ppc/prep.c            |  5 +++--\n hw/sparc64/sun4u.c       |  3 ++-\n hw/unicore32/puv3.c      |  1 +\n MAINTAINERS              |  1 +\n 15 files changed, 45 insertions(+), 17 deletions(-)\n create mode 100644 include/hw/input/i8042.h",
    "diff": "diff --git a/include/hw/i386/pc.h b/include/hw/i386/pc.h\nindex 87a377011b..103c7a9916 100644\n--- a/include/hw/i386/pc.h\n+++ b/include/hw/i386/pc.h\n@@ -188,15 +188,6 @@ void vmport_register(unsigned char command, VMPortReadFunc *func, void *opaque);\n void vmmouse_get_data(uint32_t *data);\n void vmmouse_set_data(const uint32_t *data);\n \n-/* pckbd.c */\n-#define I8042_A20_LINE \"a20\"\n-\n-void i8042_mm_init(qemu_irq kbd_irq, qemu_irq mouse_irq,\n-                   MemoryRegion *region, ram_addr_t size,\n-                   hwaddr mask);\n-void i8042_isa_mouse_fake_event(void *opaque);\n-void i8042_setup_a20_line(ISADevice *dev, qemu_irq a20_out);\n-\n /* pc.c */\n extern int fd_bootchk;\n \ndiff --git a/include/hw/input/i8042.h b/include/hw/input/i8042.h\nnew file mode 100644\nindex 0000000000..15115004a3\n--- /dev/null\n+++ b/include/hw/input/i8042.h\n@@ -0,0 +1,25 @@\n+/*\n+ * QEMU PS/2 Controller\n+ *\n+ * Copyright (c) 2003 Fabrice Bellard\n+ *\n+ * This work is licensed under the terms of the GNU GPL, version 2 or later.\n+ * See the COPYING file in the top-level directory.\n+ */\n+#ifndef HW_INPUT_I8042_H\n+#define HW_INPUT_I8042_H\n+\n+#include \"hw/hw.h\"\n+#include \"hw/isa/isa.h\"\n+\n+#define TYPE_I8042 \"i8042\"\n+\n+#define I8042_A20_LINE \"a20\"\n+\n+void i8042_mm_init(qemu_irq kbd_irq, qemu_irq mouse_irq,\n+                   MemoryRegion *region, ram_addr_t size,\n+                   hwaddr mask);\n+void i8042_isa_mouse_fake_event(void *opaque);\n+void i8042_setup_a20_line(ISADevice *dev, qemu_irq a20_out);\n+\n+#endif /* HW_INPUT_I8042_H */\ndiff --git a/hw/alpha/dp264.c b/hw/alpha/dp264.c\nindex 766373eec7..e13cb576fd 100644\n--- a/hw/alpha/dp264.c\n+++ b/hw/alpha/dp264.c\n@@ -19,6 +19,7 @@\n #include \"hw/timer/mc146818rtc.h\"\n #include \"hw/ide.h\"\n #include \"hw/timer/i8254.h\"\n+#include \"hw/input/i8042.h\"\n #include \"hw/char/serial.h\"\n #include \"qemu/cutils.h\"\n \n@@ -81,7 +82,7 @@ static void clipper_init(MachineState *machine)\n     mc146818_rtc_init(isa_bus, 1900, rtc_irq);\n \n     i8254_pit_init(isa_bus, 0x40, 0, NULL);\n-    isa_create_simple(isa_bus, \"i8042\");\n+    isa_create_simple(isa_bus, TYPE_I8042);\n \n     /* VGA setup.  Don't bother loading the bios.  */\n     pci_vga_init(pci_bus);\ndiff --git a/hw/i386/pc.c b/hw/i386/pc.c\nindex e39af3d48c..e5c4e48ebb 100644\n--- a/hw/i386/pc.c\n+++ b/hw/i386/pc.c\n@@ -42,6 +42,7 @@\n #include \"hw/timer/mc146818rtc.h\"\n #include \"hw/dma/i8257.h\"\n #include \"hw/timer/i8254.h\"\n+#include \"hw/input/i8042.h\"\n #include \"hw/audio/pcspk.h\"\n #include \"hw/pci/msi.h\"\n #include \"hw/sysbus.h\"\ndiff --git a/hw/i386/vmmouse.c b/hw/i386/vmmouse.c\nindex 65ef55329e..5d2d278be4 100644\n--- a/hw/i386/vmmouse.c\n+++ b/hw/i386/vmmouse.c\n@@ -25,6 +25,7 @@\n #include \"hw/hw.h\"\n #include \"ui/console.h\"\n #include \"hw/i386/pc.h\"\n+#include \"hw/input/i8042.h\"\n #include \"hw/qdev.h\"\n \n /* debug only vmmouse */\ndiff --git a/hw/i386/vmport.c b/hw/i386/vmport.c\nindex 116aa09819..3bf8cfe041 100644\n--- a/hw/i386/vmport.c\n+++ b/hw/i386/vmport.c\n@@ -25,6 +25,7 @@\n #include \"hw/hw.h\"\n #include \"hw/isa/isa.h\"\n #include \"hw/i386/pc.h\"\n+#include \"hw/input/i8042.h\"\n #include \"sysemu/hw_accel.h\"\n #include \"hw/qdev.h\"\n #include \"qemu/log.h\"\ndiff --git a/hw/input/pckbd.c b/hw/input/pckbd.c\nindex c479f827b6..f17f18e51b 100644\n--- a/hw/input/pckbd.c\n+++ b/hw/input/pckbd.c\n@@ -26,6 +26,7 @@\n #include \"hw/isa/isa.h\"\n #include \"hw/i386/pc.h\"\n #include \"hw/input/ps2.h\"\n+#include \"hw/input/i8042.h\"\n #include \"sysemu/sysemu.h\"\n \n /* debug PC keyboard */\n@@ -480,7 +481,6 @@ void i8042_mm_init(qemu_irq kbd_irq, qemu_irq mouse_irq,\n     qemu_register_reset(kbd_reset, s);\n }\n \n-#define TYPE_I8042 \"i8042\"\n #define I8042(obj) OBJECT_CHECK(ISAKBDState, (obj), TYPE_I8042)\n \n typedef struct ISAKBDState {\ndiff --git a/hw/mips/mips_fulong2e.c b/hw/mips/mips_fulong2e.c\nindex cbe159034d..8660d078c8 100644\n--- a/hw/mips/mips_fulong2e.c\n+++ b/hw/mips/mips_fulong2e.c\n@@ -44,6 +44,7 @@\n #include \"hw/isa/vt82c686.h\"\n #include \"hw/timer/mc146818rtc.h\"\n #include \"hw/timer/i8254.h\"\n+#include \"hw/input/i8042.h\"\n #include \"sysemu/blockdev.h\"\n #include \"exec/address-spaces.h\"\n #include \"sysemu/qtest.h\"\n@@ -365,7 +366,7 @@ static void mips_fulong2e_init(MachineState *machine)\n     i8257_dma_init(isa_bus, 0);\n \n     /* Super I/O */\n-    isa_create_simple(isa_bus, \"i8042\");\n+    isa_create_simple(isa_bus, TYPE_I8042);\n \n     mc146818_rtc_init(isa_bus, 2000, NULL);\n \ndiff --git a/hw/mips/mips_jazz.c b/hw/mips/mips_jazz.c\nindex 6ed4b83f40..7a83009059 100644\n--- a/hw/mips/mips_jazz.c\n+++ b/hw/mips/mips_jazz.c\n@@ -43,6 +43,7 @@\n #include \"hw/timer/i8254.h\"\n #include \"hw/display/vga.h\"\n #include \"hw/audio/pcspk.h\"\n+#include \"hw/input/i8042.h\"\n #include \"sysemu/block-backend.h\"\n #include \"hw/sysbus.h\"\n #include \"exec/address-spaces.h\"\ndiff --git a/hw/mips/mips_malta.c b/hw/mips/mips_malta.c\nindex 0a9e3dedf4..28cc37ee08 100644\n--- a/hw/mips/mips_malta.c\n+++ b/hw/mips/mips_malta.c\n@@ -47,6 +47,7 @@\n #include \"hw/loader.h\"\n #include \"elf.h\"\n #include \"hw/timer/mc146818rtc.h\"\n+#include \"hw/input/i8042.h\"\n #include \"hw/timer/i8254.h\"\n #include \"sysemu/blockdev.h\"\n #include \"exec/address-spaces.h\"\n@@ -1214,7 +1215,7 @@ void mips_malta_init(MachineState *machine)\n     i8257_dma_init(isa_bus, 0);\n \n     /* Super I/O */\n-    isa_create_simple(isa_bus, \"i8042\");\n+    isa_create_simple(isa_bus, TYPE_I8042);\n \n     mc146818_rtc_init(isa_bus, 2000, NULL);\n     serial_hds_isa_init(isa_bus, 0, 2);\ndiff --git a/hw/mips/mips_r4k.c b/hw/mips/mips_r4k.c\nindex 244bd41813..92acae149d 100644\n--- a/hw/mips/mips_r4k.c\n+++ b/hw/mips/mips_r4k.c\n@@ -28,6 +28,7 @@\n #include \"hw/loader.h\"\n #include \"elf.h\"\n #include \"hw/timer/mc146818rtc.h\"\n+#include \"hw/input/i8042.h\"\n #include \"hw/timer/i8254.h\"\n #include \"sysemu/block-backend.h\"\n #include \"exec/address-spaces.h\"\n@@ -288,7 +289,7 @@ void mips_r4k_init(MachineState *machine)\n                      hd[MAX_IDE_DEVS * i],\n \t\t     hd[MAX_IDE_DEVS * i + 1]);\n \n-    isa_create_simple(isa_bus, \"i8042\");\n+    isa_create_simple(isa_bus, TYPE_I8042);\n }\n \n static void mips_machine_init(MachineClass *mc)\ndiff --git a/hw/ppc/prep.c b/hw/ppc/prep.c\nindex af08ac319a..4304e93ada 100644\n--- a/hw/ppc/prep.c\n+++ b/hw/ppc/prep.c\n@@ -41,6 +41,7 @@\n #include \"hw/ide.h\"\n #include \"hw/loader.h\"\n #include \"hw/timer/mc146818rtc.h\"\n+#include \"hw/input/i8042.h\"\n #include \"hw/isa/pc87312.h\"\n #include \"hw/net/ne2000-isa.h\"\n #include \"sysemu/block-backend.h\"\n@@ -641,7 +642,7 @@ static void ppc_prep_init(MachineState *machine)\n                      hd[2 * i],\n \t\t     hd[2 * i + 1]);\n     }\n-    isa_create_simple(isa_bus, \"i8042\");\n+    isa_create_simple(isa_bus, TYPE_I8042);\n \n     cpu = POWERPC_CPU(first_cpu);\n     sysctrl->reset_irq = cpu->env.irq_inputs[PPC6xx_INPUT_HRESET];\n@@ -771,7 +772,7 @@ static void ibm_40p_init(MachineState *machine)\n \n     /* add some more devices */\n     if (defaults_enabled()) {\n-        isa_create_simple(isa_bus, \"i8042\");\n+        isa_create_simple(isa_bus, TYPE_I8042);\n         m48t59 = NVRAM(isa_create_simple(isa_bus, \"isa-m48t59\"));\n \n         dev = DEVICE(isa_create(isa_bus, \"cs4231a\"));\ndiff --git a/hw/sparc64/sun4u.c b/hw/sparc64/sun4u.c\nindex 135f8088ca..2a60f5c1d6 100644\n--- a/hw/sparc64/sun4u.c\n+++ b/hw/sparc64/sun4u.c\n@@ -33,6 +33,7 @@\n #include \"hw/char/serial.h\"\n #include \"hw/char/parallel.h\"\n #include \"hw/timer/m48t59.h\"\n+#include \"hw/input/i8042.h\"\n #include \"hw/block/fdc.h\"\n #include \"net/net.h\"\n #include \"qemu/timer.h\"\n@@ -513,7 +514,7 @@ static void sun4uv_init(MemoryRegion *address_space_mem,\n     qdev_init_nofail(&pci_dev->qdev);\n     pci_ide_create_devs(pci_dev, hd);\n \n-    isa_create_simple(isa_bus, \"i8042\");\n+    isa_create_simple(isa_bus, TYPE_I8042);\n \n     /* Floppy */\n     for(i = 0; i < MAX_FD; i++) {\ndiff --git a/hw/unicore32/puv3.c b/hw/unicore32/puv3.c\nindex db26959a1d..830fe3face 100644\n--- a/hw/unicore32/puv3.c\n+++ b/hw/unicore32/puv3.c\n@@ -20,6 +20,7 @@\n \n #undef DEBUG_PUV3\n #include \"hw/unicore32/puv3.h\"\n+#include \"hw/input/i8042.h\"\n \n #define KERNEL_LOAD_ADDR        0x03000000\n #define KERNEL_MAX_SIZE         0x00800000 /* Just a guess */\ndiff --git a/MAINTAINERS b/MAINTAINERS\nindex 89810df375..7f9e98a046 100644\n--- a/MAINTAINERS\n+++ b/MAINTAINERS\n@@ -885,6 +885,7 @@ F: include/hw/display/vga.h\n F: include/hw/char/parallel.h\n F: include/hw/dma/i8257.h\n F: include/hw/i2c/pm_smbus.h\n+F: include/hw/input/i8042.h\n F: include/hw/timer/hpet.h\n F: include/hw/timer/i8254*\n F: include/hw/timer/mc146818rtc*\n",
    "prefixes": [
        "05/29"
    ]
}