From: Adrian McMenamin <adrian@newgolddream.dyndns.info>
To: paul mundt <lethal@users.sourceforge.net>,
Greg KH <greg@kroah.com>,
Dmitry Torokhov <dmitry.torokhov@gmail.com>,
dwmw2 <dwmw2@infradead.org>
Cc: LKML <linux-kernel@vger.kernel.org>,
MTD <linux-mtd@lists.infradead.org>,
linux-sh <linux-sh@vger.kernel.org>,
linux-input <linux-input@vger.kernel.org>
Subject: [PATCH] sh: maple: add support for Visual Memory Card devices, and make consequential changes to maple input drivers - 0/3 - v5
Date: Sun, 08 Feb 2009 19:41:09 +0000 [thread overview]
Message-ID: <1234122069.6736.8.camel@localhost.localdomain> (raw)
This series of patches adds support for the Dreamcast Visual Memory
Unit, reworking the maple bus code to ensure it supports asynchronous
reads and writes. A consequential amendment to the keyboard and joystick
drivers are also included.
This version (v5) fixes a memory leak in the VMU code that was present
when read or write requests timed out in v4. It also adds the joystick
fix.
The VMU is a 'smart' flash chip where access is controlled by a
microcontroller so that, for instance, flash erases appear to be
transparent to the end user. The VMU does, however, show typical
flash-type behaviour (eg phased writes) and the MTD layer and the chip
work well together (eg in the way they handle apparent hotplug events
during a block write).
This version tidies up some style issues raised with version 2.
Signed-off-by: Adrian McMenamin <adrian@mcmen.demon.co.uk>
---
drivers/input/joystick/maplecontrol.c | 4 +-
drivers/input/keyboard/maple_keyb.c | 40 +-
drivers/mtd/maps/Kconfig | 12 +-
drivers/mtd/maps/Makefile | 1 +
drivers/mtd/maps/vmu-flash.c | 827 +++++++++++++++++++++++++++++++++
drivers/sh/maple/maple.c | 463 ++++++++++---------
include/linux/maple.h | 62 ++-
7 files changed, 1142 insertions(+), 267 deletions(-)
next reply other threads:[~2009-02-08 19:41 UTC|newest]
Thread overview: 10+ messages / expand[flat|nested] mbox.gz Atom feed top
2009-02-08 19:41 Adrian McMenamin [this message]
2009-02-08 19:52 ` [PATCH] sh: maple: add support for Visual Memory Card devices, and make consequential changes to maple input drivers - 0/3 - v5 - diff stat correction Adrian McMenamin
2009-02-08 20:00 ` [PATCH] sh: maple: add support for Visual Memory Card devices, and make consequential changes to maple input drivers - 1/3 - v5 Adrian McMenamin
2009-02-08 20:04 ` [PATCH] sh: maple: add support for Visual Memory Card devices, and make consequential changes to maple input drivers - 2/3 " Adrian McMenamin
2009-02-09 6:56 ` Paul Mundt
2009-02-09 19:17 ` Adrian McMenamin
2009-02-09 19:33 ` Mike Frysinger
2009-02-09 21:41 ` Adrian McMenamin
2009-02-10 0:11 ` Mike Frysinger
2009-02-08 20:07 ` [PATCH] sh: maple: add support for Visual Memory Card devices, and make consequential changes to maple input drivers - 0/3 " Adrian McMenamin
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=1234122069.6736.8.camel@localhost.localdomain \
--to=adrian@newgolddream.dyndns.info \
--cc=dmitry.torokhov@gmail.com \
--cc=dwmw2@infradead.org \
--cc=greg@kroah.com \
--cc=lethal@users.sourceforge.net \
--cc=linux-input@vger.kernel.org \
--cc=linux-kernel@vger.kernel.org \
--cc=linux-mtd@lists.infradead.org \
--cc=linux-sh@vger.kernel.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).