• Paul Mundt's avatar
    [PATCH] superhyway: multiple block support and VCR rework · 055a2512
    Paul Mundt authored
    This extends the API somewhat to allow for platform-specific VCR reading and
    writing.  Some platforms (like SH4-202) implement the VCR in a split VCRL and
    VCRH, but end up being in reverse order or have other quirks that need to be
    dealt with, so we add a set of superhyway_ops per-bus to accomodate this.
    We also have to extend the per-device resources somewhat, as some devices now
    conveniently split control and data blocks.  So we allow a platform to
    register its set of SuperHyway devices via superhyway_add_devices() with the
    control block always ordered as the first resource (as this is the one that
    userspace cares about).
    Signed-off-by: default avatarPaul Mundt <lethal@linux-sh.org>
    Signed-off-by: default avatarAndrew Morton <akpm@osdl.org>
    Signed-off-by: default avatarLinus Torvalds <torvalds@osdl.org>
superhyway.h 2.8 KB