All of lore.kernel.org
 help / color / mirror / Atom feed
From: Thomas Huth <huth@tuxfamily.org>
To: Laurent Vivier <laurent@vivier.eu>
Cc: "Fam Zheng" <fam@euphon.net>, "Kevin Wolf" <kwolf@redhat.com>,
	"Dr . David Alan Gilbert" <dgilbert@redhat.com>,
	qemu-block@nongnu.org, "Jason Wang" <jasowang@redhat.com>,
	"Mark Cave-Ayland" <mark.cave-ayland@ilande.co.uk>,
	qemu-devel@nongnu.org, "Max Reitz" <mreitz@redhat.com>,
	"Hervé Poussineau" <hpoussin@reactos.org>,
	"Gerd Hoffmann" <kraxel@redhat.com>,
	"Paolo Bonzini" <pbonzini@redhat.com>,
	"Marc-André Lureau" <marcandre.lureau@redhat.com>,
	"Aurelien Jarno" <aurelien@aurel32.net>
Subject: Re: [Qemu-devel] [PATCH v7 01/10] escc: introduce a selector for the register bit
Date: Sun, 26 May 2019 18:05:44 +0200	[thread overview]
Message-ID: <20190526180544.1426817a@thl530.multi.box> (raw)
In-Reply-To: <20190525225013.13916-2-laurent@vivier.eu>

Am Sun, 26 May 2019 00:50:04 +0200
schrieb Laurent Vivier <laurent@vivier.eu>:

> On Sparc and PowerMac, the bit 0 of the address
> selects the register type (control or data) and
> bit 1 selects the channel (B or A).
> 
> On m68k Macintosh, the bit 0 selects the channel and
> bit 1 the register type.
> 
> This patch introduces a new parameter (bit_swap) to
> the device interface to indicate bits usage must
> be swapped between registers and channels.
> 
> For the moment all the machines use the bit 0,
> but this change will be needed to emulate Quadra 800.
> 
> Signed-off-by: Laurent Vivier <laurent@vivier.eu>
> Reviewed-by: Hervé Poussineau <hpoussin@reactos.org>
> ---
>  hw/char/escc.c         | 30 ++++++++++++++++++++++++------
>  include/hw/char/escc.h |  1 +
>  2 files changed, 25 insertions(+), 6 deletions(-)

Reviewed-by: Thomas Huth <huth@tuxfamily.org>


  reply	other threads:[~2019-05-26 16:07 UTC|newest]

Thread overview: 19+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2019-05-25 22:50 [Qemu-devel] [PATCH v7 00/10] hw/m68k: add Apple Machintosh Quadra 800 machine Laurent Vivier
2019-05-25 22:50 ` [Qemu-devel] [PATCH v7 01/10] escc: introduce a selector for the register bit Laurent Vivier
2019-05-26 16:05   ` Thomas Huth [this message]
2019-05-25 22:50 ` [Qemu-devel] [PATCH v7 02/10] esp: add pseudo-DMA as used by Macintosh Laurent Vivier
2019-05-26 16:20   ` Thomas Huth
2019-05-25 22:50 ` [Qemu-devel] [PATCH v7 03/10] dp8393x: manage big endian bus Laurent Vivier
2019-05-25 22:50 ` [Qemu-devel] [PATCH v7 04/10] hw/m68k: add via support Laurent Vivier
2019-05-25 22:50 ` [Qemu-devel] [PATCH v7 05/10] hw/m68k: implement ADB bus support for via Laurent Vivier
2019-05-25 22:50 ` [Qemu-devel] [PATCH v7 06/10] hw/m68k: add macfb video card Laurent Vivier
2019-05-25 22:50 ` [Qemu-devel] [PATCH v7 07/10] hw/m68k: add Nubus support Laurent Vivier
2019-05-25 22:50 ` [Qemu-devel] [PATCH v7 08/10] hw/m68k: add Nubus support for macfb video card Laurent Vivier
2019-05-25 22:50 ` [Qemu-devel] [PATCH v7 09/10] hw/m68k: add a dummy SWIM floppy controller Laurent Vivier
2019-05-25 22:50 ` [Qemu-devel] [PATCH v7 10/10] hw/m68k: define Macintosh Quadra 800 Laurent Vivier
2019-05-26 17:00   ` Thomas Huth
2019-05-27 12:17   ` Mark Cave-Ayland
2019-05-27 13:32   ` Aleksandar Markovic
2019-05-27 13:36     ` Laurent Vivier
2019-05-27 14:18     ` Aleksandar Markovic
2019-05-25 23:21 ` [Qemu-devel] [PATCH v7 00/10] hw/m68k: add Apple Machintosh Quadra 800 machine no-reply

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=20190526180544.1426817a@thl530.multi.box \
    --to=huth@tuxfamily.org \
    --cc=aurelien@aurel32.net \
    --cc=dgilbert@redhat.com \
    --cc=fam@euphon.net \
    --cc=hpoussin@reactos.org \
    --cc=jasowang@redhat.com \
    --cc=kraxel@redhat.com \
    --cc=kwolf@redhat.com \
    --cc=laurent@vivier.eu \
    --cc=marcandre.lureau@redhat.com \
    --cc=mark.cave-ayland@ilande.co.uk \
    --cc=mreitz@redhat.com \
    --cc=pbonzini@redhat.com \
    --cc=qemu-block@nongnu.org \
    --cc=qemu-devel@nongnu.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 an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.